- Qt 6.9
- Qt GUI
- C++ Classes
- QAccessibleTableInterface
- Qt 6.9.2 Reference Documentation

# QAccessibleTableInterface Class

The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface. More...

Header: | `#include <QAccessibleTableInterface>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS Gui)` `target_link_libraries(mytarget PRIVATE Qt6::Gui)`
qmake: | `QT += gui`

- List of all members, including inherited members
- QAccessibleTableInterface is part of Accessibility Classes.

## Public Functions

virtual | ~QAccessibleTableInterface()
virtual QAccessibleInterface * | caption() const = 0
virtual QAccessibleInterface * | cellAt(int row, int column) const = 0
virtual int | columnCount() const = 0
virtual QString | columnDescription(int column) const = 0
virtual bool | isColumnSelected(int column) const = 0
virtual bool | isRowSelected(int row) const = 0
virtual void | modelChange(QAccessibleTableModelChangeEvent *event) = 0
virtual int | rowCount() const = 0
virtual QString | rowDescription(int row) const = 0
virtual bool | selectColumn(int column) = 0
virtual bool | selectRow(int row) = 0
virtual int | selectedCellCount() const = 0
virtual QList<QAccessibleInterface *> | selectedCells() const = 0
virtual int | selectedColumnCount() const = 0
virtual QList<int> | selectedColumns() const = 0
virtual int | selectedRowCount() const = 0
virtual QList<int> | selectedRows() const = 0
virtual QAccessibleInterface * | summary() const = 0
virtual bool | unselectColumn(int column) = 0
virtual bool | unselectRow(int row) = 0

## Detailed Description

IAccessible2 Specification

## Member Function Documentation

### `[virtual noexcept]` QAccessibleTableInterface::~QAccessibleTableInterface()

Destroys the QAccessibleTableInterface.

### `[pure virtual]` QAccessibleInterface *QAccessibleTableInterface::caption() const

Returns the caption for the table.

### `[pure virtual]` QAccessibleInterface *QAccessibleTableInterface::cellAt(int row, int column) const

Returns the cell at the specified row and column in the table.

### `[pure virtual]` int QAccessibleTableInterface::columnCount() const

Returns the total number of columns in table.

### `[pure virtual]` QString QAccessibleTableInterface::columnDescription(int column) const

Returns the description text of the specified column in the table.

### `[pure virtual]` bool QAccessibleTableInterface::isColumnSelected(int column) const

Returns a boolean value indicating whether the specified column is completely selected.

### `[pure virtual]` bool QAccessibleTableInterface::isRowSelected(int row) const

Returns a boolean value indicating whether the specified row is completely selected.

### `[pure virtual]` void QAccessibleTableInterface::modelChange(QAccessibleTableModelChangeEvent *event)

Informs about a change in the model's layout. The event contains the details.

See also QAccessibleTableModelChangeEvent.

### `[pure virtual]` int QAccessibleTableInterface::rowCount() const

Returns the total number of rows in table.

### `[pure virtual]` QString QAccessibleTableInterface::rowDescription(int row) const

Returns the description text of the specified row in the table.

### `[pure virtual]` bool QAccessibleTableInterface::selectColumn(int column)

Selects column. This function might unselect all previously selected columns. Returns `true` if the selection was successful.

### `[pure virtual]` bool QAccessibleTableInterface::selectRow(int row)

Selects row. This function might unselect all previously selected rows. Returns `true` if the selection was successful.

### `[pure virtual]` int QAccessibleTableInterface::selectedCellCount() const

Returns the total number of selected cells.

### `[pure virtual]` QList<QAccessibleInterface *> QAccessibleTableInterface::selectedCells() const

Returns the list of selected cell (by their index as QAccessibleInterface::child() accepts).

### `[pure virtual]` int QAccessibleTableInterface::selectedColumnCount() const

Returns the total number of selected columns.

### `[pure virtual]` QList<int> QAccessibleTableInterface::selectedColumns() const

Returns the list of currently selected columns.

### `[pure virtual]` int QAccessibleTableInterface::selectedRowCount() const

Returns the total number of selected rows.

### `[pure virtual]` QList<int> QAccessibleTableInterface::selectedRows() const

Returns the list of currently selected rows.

### `[pure virtual]` QAccessibleInterface *QAccessibleTableInterface::summary() const

Returns a QAccessibleInterface that represents a summary of the table. This function may return 0 if no such interface exists.

### `[pure virtual]` bool QAccessibleTableInterface::unselectColumn(int column)

Unselects column, leaving other selected columns selected (if any). Returns `true` if the selection was successful.

### `[pure virtual]` bool QAccessibleTableInterface::unselectRow(int row)

Unselects row, leaving other selected rows selected (if any). Returns `true` if the selection was successful.