Skip to content

PythonQt.Qt.QItemSelectionModel · declarations 001

Back to PythonQt.Qt.QItemSelectionModel

currentChanged

currentChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QItemSelectionModel.currentChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QItemSelectionModel::currentChanged(const QModelIndex \&current, const QModelIndex \&previous)

This signal is emitted whenever the current item changes. The previous model item index is replaced by the current index as the selection's current item.

Note that this signal will not be emitted when the item model is reset.

See also currentIndex(), setCurrentIndex(), and selectionChanged().

Source: https://doc.qt.io/archives/qt-5.15/qitemselectionmodel.html#currentChanged

currentColumnChanged

currentColumnChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QItemSelectionModel.currentColumnChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QItemSelectionModel::currentColumnChanged(const QModelIndex \&current, const QModelIndex \&previous)

This signal is emitted if the current item changes and its column is different to the column of the previous current item.

Note that this signal will not be emitted when the item model is reset.

See also currentChanged(), currentRowChanged(), currentIndex(), and setCurrentIndex().

Source: https://doc.qt.io/archives/qt-5.15/qitemselectionmodel.html#currentColumnChanged

currentRowChanged

currentRowChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QItemSelectionModel.currentRowChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QItemSelectionModel::currentRowChanged(const QModelIndex \&current, const QModelIndex \&previous)

This signal is emitted if the current item changes and its row is different to the row of the previous current item.

Note that this signal will not be emitted when the item model is reset.

See also currentChanged(), currentColumnChanged(), currentIndex(), and setCurrentIndex().

Source: https://doc.qt.io/archives/qt-5.15/qitemselectionmodel.html#currentRowChanged

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QItemSelectionModel.destroyed; argument details are not documented.

modelChanged

modelChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QItemSelectionModel.modelChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QItemSelectionModel::modelChanged(QAbstractItemModel *model)

This signal is emitted when the model is successfully set with setModel().

This function was introduced in Qt 5.5.

See also model() and setModel().

Source: https://doc.qt.io/archives/qt-5.15/qitemselectionmodel.html#modelChanged

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QItemSelectionModel.objectNameChanged; argument details are not documented.

selectionChanged

selectionChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QItemSelectionModel.selectionChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QItemSelectionModel::selectionChanged(const QItemSelection \&selected, const QItemSelection \&deselected)

This signal is emitted whenever the selection changes. The change in the selection is represented as an item selection of deselected items and an item selection of selected items.

Note the that the current index changes independently from the selection. Also note that this signal will not be emitted when the item model is reset.

Note: Notifier signal for property selectedIndexes.

See also select() and currentChanged().

Source: https://doc.qt.io/archives/qt-5.15/qitemselectionmodel.html#selectionChanged