42 #ifndef COMPLEXWIDGETS_H 43 #define COMPLEXWIDGETS_H 45 #include <QtCore/qpointer.h> 46 #include <QtGui/qaccessiblewidget.h> 47 #include <QtGui/qabstractitemview.h> 48 #include <QtGui/qaccessible2.h> 52 #ifndef QT_NO_ACCESSIBILITY 62 #ifndef QT_NO_SCROLLAREA 86 int childAt(
int x,
int y)
const;
103 #endif // QT_NO_SCROLLAREA 105 #ifndef QT_NO_ITEMVIEWS 141 int childAt(
int x,
int y)
const;
153 int logicalFromChild(
QHeaderView *header,
int child)
const;
154 int treeLevel()
const;
156 QString text_helper(
int child)
const;
173 int childAt(
int x,
int y)
const;
186 int childIndex(
int rowIndex,
int columnIndex);
187 QString columnDescription(
int column);
188 int columnSpan(
int row,
int column);
190 int columnIndex(
int childIndex);
193 int selectedColumnCount();
194 int selectedRowCount();
195 QString rowDescription(
int row);
196 int rowSpan(
int row,
int column);
198 int rowIndex(
int childIndex);
199 int selectedRows(
int maxRows,
QList<int> *rows);
200 int selectedColumns(
int maxColumns,
QList<int> *columns);
202 bool isColumnSelected(
int column);
203 bool isRowSelected(
int row);
204 bool isSelected(
int row,
int column);
205 void selectRow(
int row);
206 void selectColumn(
int column);
207 void unselectRow(
int row);
208 void unselectColumn(
int column);
209 void cellAtIndex(
int index,
int *row,
int *column,
int *rowSpan,
210 int *columnSpan,
bool *isSelected);
250 bool setSelected(
int child,
bool on,
bool extend);
259 #endif // QT_NO_TABBAR 261 #ifndef QT_NO_COMBOBOX 276 int childAt(
int x,
int y)
const;
291 #endif // QT_NO_COMBOBOX 293 #endif // QT_NO_ACCESSIBILITY 297 #endif // COMPLEXWIDGETS_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
QObject * object() const
Returns a pointer to the QObject this interface implementation provides information for...
Role
This enum defines the role of an accessible object.
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...
The QTabBar class provides a tab bar, e.g.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
The QAccessibleComboBox class implements the QAccessibleInterface for editable and read-only combo bo...
#define QT_BEGIN_NAMESPACE
This macro expands to.
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...
The QComboBox widget is a combined button and popup list.
#define Q_ACCESSIBLE_OBJECT
QPointer< QAbstractItemView > view
The State element defines configurations of objects and properties.
The QAbstractItemView class provides the basic functionality for item view classes.
QHeaderView * verticalHeader() const
The QPersistentModelIndex class is used to locate data in a data model.
The QAccessibleInterface class defines an interface that exposes information about accessible objects...
QList< QVariant > QVariantList
The QModelIndex class is used to locate data in a data model.
The QRect class defines a rectangle in the plane using integer precision.
The QAccessibleTabBar class implements the QAccessibleInterface for tab bars.
CursorAction
This enum describes the different ways to navigate between items,.
QHeaderView * horizontalHeader() const
QPersistentModelIndex row
QModelIndex childIndex(int child) const
The Text item allows you to add formatted text to a scene.