42 #ifndef ACCESSIBLE_ITEMVIEWS_H 43 #define ACCESSIBLE_ITEMVIEWS_H 45 #include "QtCore/qpointer.h" 47 #include <QtGui/qabstractitemview.h> 48 #include <QtGui/qheaderview.h> 49 #include <QtGui/qaccessible.h> 50 #include <QtGui/qaccessible2.h> 51 #include <QtGui/qaccessiblewidget.h> 56 #ifndef QT_NO_ACCESSIBILITY 58 #ifndef QT_NO_ITEMVIEWS 76 int childAt(
int x,
int y)
const;
161 int childAt(
int x,
int y)
const;
177 QModelIndex indexFromLogical(
int row,
int column = 0)
const;
201 bool isExpandable()
const;
210 virtual int columnExtent()
const;
212 virtual int columnIndex()
const;
213 virtual int rowExtent()
const;
215 virtual int rowIndex()
const;
216 virtual bool isSelected()
const;
217 virtual void rowColumnExtents(
int *row,
int *column,
int *rowExtents,
int *columnExtents,
bool *selected)
const;
317 #endif // QT_NO_ACCESSIBILITY 321 #endif // ACCESSIBLE_ITEMVIEWS_H virtual void columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)
The QVariant class acts like a union for the most common Qt data types.
virtual void rowsRemoved(const QModelIndex &parent, int first, int last)
Role role(int child) const
Returns the role of the object, or of the object's child if child is not 0.
virtual ~QAccessibleTable2()
QAccessible::Role cellRole() const
#define QT_END_NAMESPACE
This macro expands to.
virtual QList< int > selectedRows() const
int childCount() const
Returns the number of children that belong to this object.
virtual ~QAccessibleTree()
virtual bool selectColumn(int column)
virtual int rowCount() const
virtual int selectedCellCount() const
virtual void rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)
QAbstractItemView * view() const
Role
This enum defines the role of an accessible object.
QAccessibleTable2Cell * cell(const QModelIndex &index) const
QAccessibleTree(QWidget *w)
virtual QAccessible2::TableModelChange modelChange() const
QRect rect(int child) const
Returns the geometry of the object, or of the object's child if child is not 0.
virtual QList< QAccessibleTable2CellInterface * > selectedCells() const
int userActionCount(int child) const
Returns the number of custom actions of the object, or of the object's child if child is not 0...
State state(int child) const
Returns the current state of the object, or of the object's child if child is not 0...
int logicalIndex(const QModelIndex &index) const
int indexOfChild(const QAccessibleInterface *) const
Returns the 1-based index of the object child in this object's children list, or -1 if child is not a...
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
void setText(Text t, int child, const QString &text)
Sets the text property t of the object, or of the object's child if child is not 0, to text.
QAccessible2::TableModelChange lastChange
QHeaderView * verticalHeader() const
QString text(Text t, int child) const
Returns the value of the text property t of the object, or of the object's child if child is not 0...
virtual int columnCount() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual bool unselectColumn(int column)
RelationFlag
This enum type defines bit flags that can be combined to indicate the relationship between two access...
Method
This enum describes the possible types of methods that can be invoked on an accessible object...
virtual int selectedRowCount() const
#define Q_ACCESSIBLE_OBJECT
virtual QList< int > selectedColumns() const
virtual bool isRowSelected(int row) const
int navigate(RelationFlag relation, int index, QAccessibleInterface **iface) const
Navigates from this object to an object that has a relationship relation to this object, and returns the respective object in target.
virtual QAccessibleInterface * caption() const
virtual void rowsInserted(const QModelIndex &parent, int first, int last)
The State element defines configurations of objects and properties.
virtual bool selectRow(int row)
virtual int selectedColumnCount() const
virtual QString columnDescription(int column) const
static QAccessibleInterface * queryAccessibleInterface(QObject *)
If a QAccessibleInterface implementation exists for the given object, this function returns a pointer...
The QAbstractItemView class provides the basic functionality for item view classes.
QObject * object() const
Returns a pointer to the QObject this interface implementation provides information for...
QHeaderView * horizontalHeader() const
The QAccessibleInterface class defines an interface that exposes information about accessible objects...
virtual void columnsRemoved(const QModelIndex &parent, int first, int last)
The QModelIndex class is used to locate data in a data model.
virtual bool unselectRow(int row)
virtual bool isColumnSelected(int column) const
int childCount() const
Returns the number of children that belong to this object.
The QRect class defines a rectangle in the plane using integer precision.
virtual void modelReset()
int childAt(int, int) const
Returns the 1-based index of the child that contains the screen coordinates (x, y).
Relation relationTo(int child, const QAccessibleInterface *other, int otherChild) const
Returns the relationship between this object's \a child and the \a other object's \a otherChild...
QPointer< QAbstractItemView > view
bool isValid() const
Returns true if all the data necessary to use this interface implementation is valid (e...
virtual QString rowDescription(int row) const
int childAt(int x, int y) const
Returns the 1-based index of the child that contains the screen coordinates (x, y).
QAccessibleTable2(QWidget *w)
static const KeyPair *const end
int indexOfChild(const QAccessibleInterface *) const
Returns the 1-based index of the object child in this object's children list, or -1 if child is not a...
QString actionText(int action, Text t, int child) const
Returns the text property t of the action action supported by the object, or of the object's child if...
virtual QAccessibleTable2CellInterface * cellAt(int row, int column) const
QAccessibleInterface * childFromLogical(int logicalIndex) const
bool doAction(int action, int child, const QVariantList ¶ms)
Asks the object, or the object's child if child is not 0, to execute action using the parameters...
QVariant invokeMethodEx(Method, int, const QVariantList &)
The Text item allows you to add formatted text to a scene.
virtual QAccessibleInterface * summary() const
virtual void columnsInserted(const QModelIndex &parent, int first, int last)