QAccessibleTableModelChangeEvent Class

The QAccessibleTableModelChangeEvent signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, firstColumn and lastColumn will return -1. Likewise for columns, the row functions may return -1. More...

Header: #include <QAccessibleTableModelChangeEvent>
qmake: QT += gui
Inherits: QAccessibleEvent

Public Types

enum ModelChangeType { ModelReset, DataChanged, RowsInserted, ColumnsInserted, RowsRemoved, ColumnsRemoved }

Additional Inherited Members

Detailed Description

This class is used with QAccessible::updateAccessibility().

Member Type Documentation

enum QAccessibleTableModelChangeEvent::ModelChangeType

This enum describes the different types of changes in the table model.

ConstantValueDescription
QAccessibleTableModelChangeEvent::ModelReset0The model has been reset, all previous knowledge about the model is now invalid.
QAccessibleTableModelChangeEvent::DataChanged1No cells have been added or removed, but the data of the specified cell range is invalid.
QAccessibleTableModelChangeEvent::RowsInserted2New rows have been inserted.
QAccessibleTableModelChangeEvent::ColumnsInserted3New columns have been inserted.
QAccessibleTableModelChangeEvent::RowsRemoved4Rows have been removed.
QAccessibleTableModelChangeEvent::ColumnsRemoved5Columns have been removed.