QAccessibleTableModelChangeEvent¶
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…
Synopsis¶
Functions¶
def
firstColumn
()def
firstRow
()def
lastColumn
()def
lastRow
()def
modelChangeType
()def
setFirstColumn
(col)def
setFirstRow
(row)def
setLastColumn
(col)def
setLastRow
(row)def
setModelChangeType
(changeType)
Detailed Description¶
This class is used with updateAccessibility()
.
- class PySide6.QtGui.QAccessibleTableModelChangeEvent(iface, changeType)¶
PySide6.QtGui.QAccessibleTableModelChangeEvent(obj, changeType)
- Parameters
obj –
PySide6.QtCore.QObject
changeType –
ModelChangeType
Constructs a new QAccessibleTableModelChangeEvent
for interface iface
with a model change type changeType
.
Constructs a new QAccessibleTableModelChangeEvent
for object
of with changeType
.
- PySide6.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType¶
This enum describes the different types of changes in the table model.
Constant
Description
QAccessibleTableModelChangeEvent.ModelReset
The model has been reset, all previous knowledge about the model is now invalid.
QAccessibleTableModelChangeEvent.DataChanged
No cells have been added or removed, but the data of the specified cell range is invalid.
QAccessibleTableModelChangeEvent.RowsInserted
New rows have been inserted.
QAccessibleTableModelChangeEvent.ColumnsInserted
New columns have been inserted.
QAccessibleTableModelChangeEvent.RowsRemoved
Rows have been removed.
QAccessibleTableModelChangeEvent.ColumnsRemoved
Columns have been removed.
- PySide6.QtGui.QAccessibleTableModelChangeEvent.firstColumn()¶
- Return type
int
Returns the first changed column.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.firstRow()¶
- Return type
int
Returns the first changed row.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.lastColumn()¶
- Return type
int
Returns the last changed column.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.lastRow()¶
- Return type
int
Returns the last changed row.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.modelChangeType()¶
- Return type
Returns the type of change.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.setFirstColumn(col)¶
- Parameters
col – int
Sets the first changed column
.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.setFirstRow(row)¶
- Parameters
row – int
Sets the first changed row
.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.setLastColumn(col)¶
- Parameters
col – int
Sets the last changed column
.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.setLastRow(row)¶
- Parameters
row – int
Sets the last changed row
.
See also
- PySide6.QtGui.QAccessibleTableModelChangeEvent.setModelChangeType(changeType)¶
- Parameters
changeType –
ModelChangeType
Sets the type of change to changeType
.
See also
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.