IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

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.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QAccessibleTableModelChangeEvent Class

  • Header: QAccessibleTableModelChangeEvent

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Gui)

    target_link_libraries(mytarget PRIVATE Qt6::Gui)

  • qmake: QT += gui

  • Inherits: QAccessibleEvent

  • Group: QAccessibleTableModelChangeEvent is part of accessibility

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.

Constant

Value

Description

QAccessibleTableModelChangeEvent::ModelReset

0

The model has been reset, all previous knowledge about the model is now invalid.

QAccessibleTableModelChangeEvent::DataChanged

1

No cells have been added or removed, but the data of the specified cell range is invalid.

QAccessibleTableModelChangeEvent::RowsInserted

2

New rows have been inserted.

QAccessibleTableModelChangeEvent::ColumnsInserted

3

New columns have been inserted.

QAccessibleTableModelChangeEvent::RowsRemoved

4

Rows have been removed.

QAccessibleTableModelChangeEvent::ColumnsRemoved

5

Columns have been removed.

Member Function Documentation

 

QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject *object, QAccessibleTableModelChangeEvent::ModelChangeType changeType)

Constructs a new QAccessibleTableModelChangeEvent for object of with changeType.

QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType)

Constructs a new QAccessibleTableModelChangeEvent for interface iface with a model change type changeType.

int QAccessibleTableModelChangeEvent::firstColumn() const

Returns the first changed column.

See Also

See also setFirstColumn()

int QAccessibleTableModelChangeEvent::firstRow() const

Returns the first changed row.

See Also

See also setFirstRow()

int QAccessibleTableModelChangeEvent::lastColumn() const

Returns the last changed column.

See Also

See also setLastColumn()

int QAccessibleTableModelChangeEvent::lastRow() const

Returns the last changed row.

See Also

See also setLastRow()

QAccessibleTableModelChangeEvent::ModelChangeType QAccessibleTableModelChangeEvent::modelChangeType() const

Returns the type of change.

See Also

See also setModelChangeType()

void QAccessibleTableModelChangeEvent::setFirstColumn(int column)

Sets the first changed column.

See Also

See also firstColumn()

void QAccessibleTableModelChangeEvent::setFirstRow(int row)

Sets the first changed row.

See Also

See also firstRow()

void QAccessibleTableModelChangeEvent::setLastColumn(int column)

Sets the last changed column.

See Also

See also lastColumn()

void QAccessibleTableModelChangeEvent::setLastRow(int row)

Sets the last changed row.

See Also

See also lastRow()

void QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType changeType)

Sets the type of change to changeType.

See Also

See also modelChangeType()

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+