KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QItemSelectionModel

Notation used in Ruby API documentation

Module: QtCore

Description: Binding of QItemSelectionModel

Class hierarchy: QItemSelectionModel » QObject

Sub-classes: SelectionFlag, QFlags_SelectionFlag

Public constructors

new QItemSelectionModelnew(QAbstractItemModel ptr model = nullptr)Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model)
new QItemSelectionModelnew(QAbstractItemModel ptr model,
QObject ptr parent)
Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model, QObject *parent)

Public methods

[const]QItemSelectionModel ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidclearVirtual method void QItemSelectionModel::clear()
voidclearCurrentIndexVirtual method void QItemSelectionModel::clearCurrentIndex()
voidclearSelectionMethod void QItemSelectionModel::clearSelection()
[const]boolcolumnIntersectsSelection(int column,
const QModelIndex parent)
Method bool QItemSelectionModel::columnIntersectsSelection(int column, const QModelIndex &parent)
[signal]voidcurrentChanged(const QModelIndex current,
const QModelIndex previous)
Signal declaration for QItemSelectionModel::currentChanged(const QModelIndex &current, const QModelIndex &previous)
[signal]voidcurrentColumnChanged(const QModelIndex current,
const QModelIndex previous)
Signal declaration for QItemSelectionModel::currentColumnChanged(const QModelIndex &current, const QModelIndex &previous)
[const]QModelIndexcurrentIndexMethod QModelIndex QItemSelectionModel::currentIndex()
[signal]voidcurrentRowChanged(const QModelIndex current,
const QModelIndex previous)
Signal declaration for QItemSelectionModel::currentRowChanged(const QModelIndex &current, const QModelIndex &previous)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QItemSelectionModel::destroyed(QObject *)
voidemit_currentChanged(const QModelIndex current,
const QModelIndex previous)
Emitter for signal void QItemSelectionModel::currentChanged(const QModelIndex &current, const QModelIndex &previous)
voidemit_currentColumnChanged(const QModelIndex current,
const QModelIndex previous)
Emitter for signal void QItemSelectionModel::currentColumnChanged(const QModelIndex &current, const QModelIndex &previous)
voidemit_currentRowChanged(const QModelIndex current,
const QModelIndex previous)
Emitter for signal void QItemSelectionModel::currentRowChanged(const QModelIndex &current, const QModelIndex &previous)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QItemSelectionModel::destroyed(QObject *)
voidemit_modelChanged(QAbstractItemModel ptr model)Emitter for signal void QItemSelectionModel::modelChanged(QAbstractItemModel *model)
voidemit_objectNameChanged(string objectName)Emitter for signal void QItemSelectionModel::objectNameChanged(const QString &objectName)
voidemit_selectionChanged(const QItemSelection selected,
const QItemSelection deselected)
Emitter for signal void QItemSelectionModel::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
boolevent(QEvent ptr event)Virtual method bool QItemSelectionModel::event(QEvent *event)
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QItemSelectionModel::eventFilter(QObject *watched, QEvent *event)
[const]boolhasSelectionMethod bool QItemSelectionModel::hasSelection()
[const]boolisColumnSelected?(int column,
const QModelIndex parent)
Method bool QItemSelectionModel::isColumnSelected(int column, const QModelIndex &parent)
[const]boolisRowSelected?(int row,
const QModelIndex parent)
Method bool QItemSelectionModel::isRowSelected(int row, const QModelIndex &parent)
[const]boolisSelected?(const QModelIndex index)Method bool QItemSelectionModel::isSelected(const QModelIndex &index)
[const]const QAbstractItemModel ptrmodelMethod const QAbstractItemModel *QItemSelectionModel::model()
QAbstractItemModel ptrmodelMethod QAbstractItemModel *QItemSelectionModel::model()
voidmodel=(QAbstractItemModel ptr model)Method void QItemSelectionModel::setModel(QAbstractItemModel *model)
[signal]voidmodelChanged(QAbstractItemModel ptr model)Signal declaration for QItemSelectionModel::modelChanged(QAbstractItemModel *model)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QItemSelectionModel::objectNameChanged(const QString &objectName)
voidresetVirtual method void QItemSelectionModel::reset()
[const]boolrowIntersectsSelection(int row,
const QModelIndex parent)
Method bool QItemSelectionModel::rowIntersectsSelection(int row, const QModelIndex &parent)
voidselect(const QModelIndex index,
QItemSelectionModel_QFlags_SelectionFlag command)
Virtual method void QItemSelectionModel::select(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command)
voidselect(const QItemSelection selection,
QItemSelectionModel_QFlags_SelectionFlag command)
Virtual method void QItemSelectionModel::select(const QItemSelection &selection, QFlags<QItemSelectionModel::SelectionFlag> command)
[const]QModelIndex[]selectedColumns(int row = 0)Method QList<QModelIndex> QItemSelectionModel::selectedColumns(int row)
[const]QModelIndex[]selectedIndexesMethod QList<QModelIndex> QItemSelectionModel::selectedIndexes()
[const]QModelIndex[]selectedRows(int column = 0)Method QList<QModelIndex> QItemSelectionModel::selectedRows(int column)
[const]QItemSelectionselectionMethod const QItemSelection QItemSelectionModel::selection()
[signal]voidselectionChanged(const QItemSelection selected,
const QItemSelection deselected)
Signal declaration for QItemSelectionModel::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
voidsetCurrentIndex(const QModelIndex index,
QItemSelectionModel_QFlags_SelectionFlag command)
Virtual method void QItemSelectionModel::setCurrentIndex(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command)
voidsetModel(QAbstractItemModel ptr model)Method void QItemSelectionModel::setModel(QAbstractItemModel *model)

Public static methods and constants

[static,const]QItemSelectionModel_SelectionFlagClearEnum constant QItemSelectionModel::Clear
[static,const]QItemSelectionModel_SelectionFlagClearAndSelectEnum constant QItemSelectionModel::ClearAndSelect
[static,const]QItemSelectionModel_SelectionFlagColumnsEnum constant QItemSelectionModel::Columns
[static,const]QItemSelectionModel_SelectionFlagCurrentEnum constant QItemSelectionModel::Current
[static,const]QItemSelectionModel_SelectionFlagDeselectEnum constant QItemSelectionModel::Deselect
[static,const]QItemSelectionModel_SelectionFlagNoUpdateEnum constant QItemSelectionModel::NoUpdate
[static,const]QItemSelectionModel_SelectionFlagRowsEnum constant QItemSelectionModel::Rows
[static,const]QItemSelectionModel_SelectionFlagSelectEnum constant QItemSelectionModel::Select
[static,const]QItemSelectionModel_SelectionFlagSelectCurrentEnum constant QItemSelectionModel::SelectCurrent
[static,const]QItemSelectionModel_SelectionFlagToggleEnum constant QItemSelectionModel::Toggle
[static,const]QItemSelectionModel_SelectionFlagToggleCurrentEnum constant QItemSelectionModel::ToggleCurrent
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QItemSelectionModel::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QItemSelectionModel::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidchildEvent(QChildEvent ptr event)Virtual method void QItemSelectionModel::childEvent(QChildEvent *event)
voidcustomEvent(QEvent ptr event)Virtual method void QItemSelectionModel::customEvent(QEvent *event)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QItemSelectionModel::disconnectNotify(const QMetaMethod &signal)
voidemitSelectionChanged(const QItemSelection newSelection,
const QItemSelection oldSelection)
Method void QItemSelectionModel::emitSelectionChanged(const QItemSelection &newSelection, const QItemSelection &oldSelection)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QItemSelectionModel::isSignalConnected(const QMetaMethod &signal)
[const]intreceivers(string signal)Method int QItemSelectionModel::receivers(const char *signal)
[const]QObject ptrsenderMethod QObject *QItemSelectionModel::sender()
[const]intsenderSignalIndexMethod int QItemSelectionModel::senderSignalIndex()
voidtimerEvent(QTimerEvent ptr event)Virtual method void QItemSelectionModel::timerEvent(QTimerEvent *event)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

Clear

Signature: [static,const] QItemSelectionModel_SelectionFlag Clear

Description: Enum constant QItemSelectionModel::Clear

Python specific notes:
The object exposes a readable attribute 'Clear'. This is the getter.

ClearAndSelect

Signature: [static,const] QItemSelectionModel_SelectionFlag ClearAndSelect

Description: Enum constant QItemSelectionModel::ClearAndSelect

Python specific notes:
The object exposes a readable attribute 'ClearAndSelect'. This is the getter.

Columns

Signature: [static,const] QItemSelectionModel_SelectionFlag Columns

Description: Enum constant QItemSelectionModel::Columns

Python specific notes:
The object exposes a readable attribute 'Columns'. This is the getter.

Current

Signature: [static,const] QItemSelectionModel_SelectionFlag Current

Description: Enum constant QItemSelectionModel::Current

Python specific notes:
The object exposes a readable attribute 'Current'. This is the getter.

Deselect

Signature: [static,const] QItemSelectionModel_SelectionFlag Deselect

Description: Enum constant QItemSelectionModel::Deselect

Python specific notes:
The object exposes a readable attribute 'Deselect'. This is the getter.

NoUpdate

Signature: [static,const] QItemSelectionModel_SelectionFlag NoUpdate

Description: Enum constant QItemSelectionModel::NoUpdate

Python specific notes:
The object exposes a readable attribute 'NoUpdate'. This is the getter.

Rows

Signature: [static,const] QItemSelectionModel_SelectionFlag Rows

Description: Enum constant QItemSelectionModel::Rows

Python specific notes:
The object exposes a readable attribute 'Rows'. This is the getter.

Select

Signature: [static,const] QItemSelectionModel_SelectionFlag Select

Description: Enum constant QItemSelectionModel::Select

Python specific notes:
The object exposes a readable attribute 'Select'. This is the getter.

SelectCurrent

Signature: [static,const] QItemSelectionModel_SelectionFlag SelectCurrent

Description: Enum constant QItemSelectionModel::SelectCurrent

Python specific notes:
The object exposes a readable attribute 'SelectCurrent'. This is the getter.

Toggle

Signature: [static,const] QItemSelectionModel_SelectionFlag Toggle

Description: Enum constant QItemSelectionModel::Toggle

Python specific notes:
The object exposes a readable attribute 'Toggle'. This is the getter.

ToggleCurrent

Signature: [static,const] QItemSelectionModel_SelectionFlag ToggleCurrent

Description: Enum constant QItemSelectionModel::ToggleCurrent

Python specific notes:
The object exposes a readable attribute 'ToggleCurrent'. This is the getter.

_const_cast

Signature: [const] QItemSelectionModel ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QItemSelectionModel::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Virtual method void QItemSelectionModel::clear()

This method can be reimplemented in a derived class.

clearCurrentIndex

Signature: void clearCurrentIndex

Description: Virtual method void QItemSelectionModel::clearCurrentIndex()

This method can be reimplemented in a derived class.

clearSelection

Signature: void clearSelection

Description: Method void QItemSelectionModel::clearSelection()

columnIntersectsSelection

Signature: [const] bool columnIntersectsSelection (int column, const QModelIndex parent)

Description: Method bool QItemSelectionModel::columnIntersectsSelection(int column, const QModelIndex &parent)

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

currentChanged

Signature: [signal] void currentChanged (const QModelIndex current, const QModelIndex previous)

Description: Signal declaration for QItemSelectionModel::currentChanged(const QModelIndex &current, const QModelIndex &previous)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentChanged'. This is the getter.
The object exposes a writable attribute 'currentChanged'. This is the setter.

currentColumnChanged

Signature: [signal] void currentColumnChanged (const QModelIndex current, const QModelIndex previous)

Description: Signal declaration for QItemSelectionModel::currentColumnChanged(const QModelIndex &current, const QModelIndex &previous)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentColumnChanged'. This is the getter.
The object exposes a writable attribute 'currentColumnChanged'. This is the setter.

currentIndex

Signature: [const] QModelIndex currentIndex

Description: Method QModelIndex QItemSelectionModel::currentIndex()

Python specific notes:
The object exposes a readable attribute 'currentIndex'. This is the getter.

currentRowChanged

Signature: [signal] void currentRowChanged (const QModelIndex current, const QModelIndex previous)

Description: Signal declaration for QItemSelectionModel::currentRowChanged(const QModelIndex &current, const QModelIndex &previous)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentRowChanged'. This is the getter.
The object exposes a writable attribute 'currentRowChanged'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QItemSelectionModel::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QItemSelectionModel::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QItemSelectionModel::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

emitSelectionChanged

Signature: void emitSelectionChanged (const QItemSelection newSelection, const QItemSelection oldSelection)

Description: Method void QItemSelectionModel::emitSelectionChanged(const QItemSelection &newSelection, const QItemSelection &oldSelection)

This method is protected and can only be called from inside a derived class.

emit_currentChanged

Signature: void emit_currentChanged (const QModelIndex current, const QModelIndex previous)

Description: Emitter for signal void QItemSelectionModel::currentChanged(const QModelIndex &current, const QModelIndex &previous)

Call this method to emit this signal.

emit_currentColumnChanged

Signature: void emit_currentColumnChanged (const QModelIndex current, const QModelIndex previous)

Description: Emitter for signal void QItemSelectionModel::currentColumnChanged(const QModelIndex &current, const QModelIndex &previous)

Call this method to emit this signal.

emit_currentRowChanged

Signature: void emit_currentRowChanged (const QModelIndex current, const QModelIndex previous)

Description: Emitter for signal void QItemSelectionModel::currentRowChanged(const QModelIndex &current, const QModelIndex &previous)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QItemSelectionModel::destroyed(QObject *)

Call this method to emit this signal.

emit_modelChanged

Signature: void emit_modelChanged (QAbstractItemModel ptr model)

Description: Emitter for signal void QItemSelectionModel::modelChanged(QAbstractItemModel *model)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QItemSelectionModel::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_selectionChanged

Signature: void emit_selectionChanged (const QItemSelection selected, const QItemSelection deselected)

Description: Emitter for signal void QItemSelectionModel::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)

Call this method to emit this signal.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QItemSelectionModel::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr watched, QEvent ptr event)

Description: Virtual method bool QItemSelectionModel::eventFilter(QObject *watched, QEvent *event)

This method can be reimplemented in a derived class.

hasSelection

Signature: [const] bool hasSelection

Description: Method bool QItemSelectionModel::hasSelection()

Python specific notes:
The object exposes a readable attribute 'hasSelection'. This is the getter.

isColumnSelected?

Signature: [const] bool isColumnSelected? (int column, const QModelIndex parent)

Description: Method bool QItemSelectionModel::isColumnSelected(int column, const QModelIndex &parent)

isRowSelected?

Signature: [const] bool isRowSelected? (int row, const QModelIndex parent)

Description: Method bool QItemSelectionModel::isRowSelected(int row, const QModelIndex &parent)

isSelected?

Signature: [const] bool isSelected? (const QModelIndex index)

Description: Method bool QItemSelectionModel::isSelected(const QModelIndex &index)

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QItemSelectionModel::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

model

(1) Signature: [const] const QAbstractItemModel ptr model

Description: Method const QAbstractItemModel *QItemSelectionModel::model()

Python specific notes:
The object exposes a readable attribute 'model'. This is the getter.

(2) Signature: QAbstractItemModel ptr model

Description: Method QAbstractItemModel *QItemSelectionModel::model()

Python specific notes:
The object exposes a readable attribute 'model'. This is the getter.

model=

Signature: void model= (QAbstractItemModel ptr model)

Description: Method void QItemSelectionModel::setModel(QAbstractItemModel *model)

Python specific notes:
The object exposes a writable attribute 'model'. This is the setter.

modelChanged

Signature: [signal] void modelChanged (QAbstractItemModel ptr model)

Description: Signal declaration for QItemSelectionModel::modelChanged(QAbstractItemModel *model)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'modelChanged'. This is the getter.
The object exposes a writable attribute 'modelChanged'. This is the setter.

new

(1) Signature: [static] new QItemSelectionModel new (QAbstractItemModel ptr model = nullptr)

Description: Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model)

This method creates an object of class QItemSelectionModel.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QItemSelectionModel new (QAbstractItemModel ptr model, QObject ptr parent)

Description: Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model, QObject *parent)

This method creates an object of class QItemSelectionModel.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QItemSelectionModel::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QItemSelectionModel::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

reset

Signature: void reset

Description: Virtual method void QItemSelectionModel::reset()

This method can be reimplemented in a derived class.

rowIntersectsSelection

Signature: [const] bool rowIntersectsSelection (int row, const QModelIndex parent)

Description: Method bool QItemSelectionModel::rowIntersectsSelection(int row, const QModelIndex &parent)

select

(1) Signature: void select (const QModelIndex index, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Virtual method void QItemSelectionModel::select(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command)

This method can be reimplemented in a derived class.

(2) Signature: void select (const QItemSelection selection, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Virtual method void QItemSelectionModel::select(const QItemSelection &selection, QFlags<QItemSelectionModel::SelectionFlag> command)

This method can be reimplemented in a derived class.

selectedColumns

Signature: [const] QModelIndex[] selectedColumns (int row = 0)

Description: Method QList<QModelIndex> QItemSelectionModel::selectedColumns(int row)

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

Description: Method QList<QModelIndex> QItemSelectionModel::selectedIndexes()

Python specific notes:
The object exposes a readable attribute 'selectedIndexes'. This is the getter.

selectedRows

Signature: [const] QModelIndex[] selectedRows (int column = 0)

Description: Method QList<QModelIndex> QItemSelectionModel::selectedRows(int column)

selection

Signature: [const] QItemSelection selection

Description: Method const QItemSelection QItemSelectionModel::selection()

Python specific notes:
The object exposes a readable attribute 'selection'. This is the getter.

selectionChanged

Signature: [signal] void selectionChanged (const QItemSelection selected, const QItemSelection deselected)

Description: Signal declaration for QItemSelectionModel::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'selectionChanged'. This is the getter.
The object exposes a writable attribute 'selectionChanged'. This is the setter.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QItemSelectionModel::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QItemSelectionModel::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setCurrentIndex

Signature: void setCurrentIndex (const QModelIndex index, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Virtual method void QItemSelectionModel::setCurrentIndex(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command)

This method can be reimplemented in a derived class.

setModel

Signature: void setModel (QAbstractItemModel ptr model)

Description: Method void QItemSelectionModel::setModel(QAbstractItemModel *model)

Python specific notes:
The object exposes a writable attribute 'model'. This is the setter.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QItemSelectionModel::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QItemSelectionModel::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QItemSelectionModel::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.