QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QAccessibleTableInterface.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QACCESSIBLETABLEINTERFACE_H
2 #define QTSCRIPTSHELL_QACCESSIBLETABLEINTERFACE_H
3 
4 #include <qaccessible2.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QAccessibleTableInterface : public QAccessibleTableInterface
9 {
10 public:
13 
14  QAccessibleInterface* accessibleAt(int row, int column);
15  QAccessibleInterface* caption();
16  void cellAtIndex(int index, int* row, int* column, int* rowSpan, int* columnSpan, bool* isSelected);
17  int childIndex(int rowIndex, int columnIndex);
18  int columnCount();
19  QString columnDescription(int column);
20  QAccessibleInterface* columnHeader();
21  int columnIndex(int childIndex);
22  int columnSpan(int row, int column);
23  bool isColumnSelected(int column);
24  bool isRowSelected(int row);
25  bool isSelected(int row, int column);
26  int rowCount();
27  QString rowDescription(int row);
28  QAccessibleInterface* rowHeader();
29  int rowIndex(int childIndex);
30  int rowSpan(int row, int column);
31  void selectColumn(int column);
32  void selectRow(int row);
33  int selectedColumnCount();
34  int selectedColumns(int maxColumns, QList<int >* columns);
35  int selectedRowCount();
36  int selectedRows(int maxRows, QList<int >* rows);
37  QAccessibleInterface* summary();
38  void unselectColumn(int column);
39  void unselectRow(int row);
40 
41  QScriptValue __qtscript_self;
42 };
43 
44 #endif // QTSCRIPTSHELL_QACCESSIBLETABLEINTERFACE_H