Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QItemSelectionModel
Class hierarchy: QItemSelectionModel » QObject
Sub-classes: SelectionFlag, QFlags_SelectionFlag
new QItemSelectionModel | new | (QAbstractItemModel ptr model) | Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model) |
new QItemSelectionModel | new | (QAbstractItemModel ptr model, QObject ptr parent) | Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model, QObject *parent) |
[const] | QItemSelectionModel ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly 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 | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | clear | Virtual method void QItemSelectionModel::clear() | ||
void | clearSelection | Method void QItemSelectionModel::clearSelection() | ||
[const] | bool | columnIntersectsSelection | (int column, const QModelIndex parent) | Method bool QItemSelectionModel::columnIntersectsSelection(int column, const QModelIndex &parent) |
[signal] | void | currentChanged | (const QModelIndex current, const QModelIndex previous) | Signal declaration for QItemSelectionModel::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) |
[signal] | void | currentColumnChanged | (const QModelIndex current, const QModelIndex previous) | Signal declaration for QItemSelectionModel::currentColumnChanged(const QModelIndex ¤t, const QModelIndex &previous) |
[const] | QModelIndex | currentIndex | Method QModelIndex QItemSelectionModel::currentIndex() | |
[signal] | void | currentRowChanged | (const QModelIndex current, const QModelIndex previous) | Signal declaration for QItemSelectionModel::currentRowChanged(const QModelIndex ¤t, const QModelIndex &previous) |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QItemSelectionModel::destroyed(QObject *) |
void | emit_currentChanged | (const QModelIndex current, const QModelIndex previous) | Emitter for signal void QItemSelectionModel::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) | |
void | emit_currentColumnChanged | (const QModelIndex current, const QModelIndex previous) | Emitter for signal void QItemSelectionModel::currentColumnChanged(const QModelIndex ¤t, const QModelIndex &previous) | |
void | emit_currentRowChanged | (const QModelIndex current, const QModelIndex previous) | Emitter for signal void QItemSelectionModel::currentRowChanged(const QModelIndex ¤t, const QModelIndex &previous) | |
void | emit_destroyed | (QObject ptr arg1 = 0) | Emitter for signal void QItemSelectionModel::destroyed(QObject *) | |
void | emit_selectionChanged | (const QItemSelection selected, const QItemSelection deselected) | Emitter for signal void QItemSelectionModel::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) | |
bool | event | (QEvent ptr arg1) | Virtual method bool QItemSelectionModel::event(QEvent *) | |
bool | eventFilter | (QObject ptr arg1, QEvent ptr arg2) | Virtual method bool QItemSelectionModel::eventFilter(QObject *, QEvent *) | |
[const] | bool | hasSelection | Method bool QItemSelectionModel::hasSelection() | |
[const] | bool | isColumnSelected? | (int column, const QModelIndex parent) | Method bool QItemSelectionModel::isColumnSelected(int column, const QModelIndex &parent) |
[const] | bool | isRowSelected? | (int row, const QModelIndex parent) | Method bool QItemSelectionModel::isRowSelected(int row, const QModelIndex &parent) |
[const] | bool | isSelected? | (const QModelIndex index) | Method bool QItemSelectionModel::isSelected(const QModelIndex &index) |
[const] | const QAbstractItemModel ptr | model | Method const QAbstractItemModel *QItemSelectionModel::model() | |
void | reset | Virtual method void QItemSelectionModel::reset() | ||
[const] | bool | rowIntersectsSelection | (int row, const QModelIndex parent) | Method bool QItemSelectionModel::rowIntersectsSelection(int row, const QModelIndex &parent) |
void | select | (const QModelIndex index, QItemSelectionModel_QFlags_SelectionFlag command) | Virtual method void QItemSelectionModel::select(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command) | |
void | select | (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[] | selectedIndexes | Method QList<QModelIndex> QItemSelectionModel::selectedIndexes() | |
[const] | QModelIndex[] | selectedRows | (int column = 0) | Method QList<QModelIndex> QItemSelectionModel::selectedRows(int column) |
[const] | QItemSelection | selection | Method const QItemSelection QItemSelectionModel::selection() | |
[signal] | void | selectionChanged | (const QItemSelection selected, const QItemSelection deselected) | Signal declaration for QItemSelectionModel::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) |
void | setCurrentIndex | (const QModelIndex index, QItemSelectionModel_QFlags_SelectionFlag command) | Method void QItemSelectionModel::setCurrentIndex(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command) |
[static,const] | QItemSelectionModel_SelectionFlag | Clear | Enum constant QItemSelectionModel::Clear | |
[static,const] | QItemSelectionModel_SelectionFlag | ClearAndSelect | Enum constant QItemSelectionModel::ClearAndSelect | |
[static,const] | QItemSelectionModel_SelectionFlag | Columns | Enum constant QItemSelectionModel::Columns | |
[static,const] | QItemSelectionModel_SelectionFlag | Current | Enum constant QItemSelectionModel::Current | |
[static,const] | QItemSelectionModel_SelectionFlag | Deselect | Enum constant QItemSelectionModel::Deselect | |
[static,const] | QItemSelectionModel_SelectionFlag | NoUpdate | Enum constant QItemSelectionModel::NoUpdate | |
[static,const] | QItemSelectionModel_SelectionFlag | Rows | Enum constant QItemSelectionModel::Rows | |
[static,const] | QItemSelectionModel_SelectionFlag | Select | Enum constant QItemSelectionModel::Select | |
[static,const] | QItemSelectionModel_SelectionFlag | SelectCurrent | Enum constant QItemSelectionModel::SelectCurrent | |
[static,const] | QItemSelectionModel_SelectionFlag | Toggle | Enum constant QItemSelectionModel::Toggle | |
[static,const] | QItemSelectionModel_SelectionFlag | ToggleCurrent | Enum constant QItemSelectionModel::ToggleCurrent | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = 0) | Static method QString QItemSelectionModel::tr(const char *s, const char *c) | |
string | tr | (string s, string c, int n) | Static method QString QItemSelectionModel::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = 0) | Static method QString QItemSelectionModel::trUtf8(const char *s, const char *c) | |
string | trUtf8 | (string s, string c, int n) | Static method QString QItemSelectionModel::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr arg1) | Virtual method void QItemSelectionModel::childEvent(QChildEvent *) | ||
void | customEvent | (QEvent ptr arg1) | Virtual method void QItemSelectionModel::customEvent(QEvent *) | ||
void | disconnectNotify | (string signal) | Virtual method void QItemSelectionModel::disconnectNotify(const char *signal) | ||
void | emitSelectionChanged | (const QItemSelection newSelection, const QItemSelection oldSelection) | Method void QItemSelectionModel::emitSelectionChanged(const QItemSelection &newSelection, const QItemSelection &oldSelection) | ||
[const] | int | receivers | (string signal) | Method int QItemSelectionModel::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QItemSelectionModel::sender() | ||
void | timerEvent | (QTimerEvent ptr arg1) | Virtual method void QItemSelectionModel::timerEvent(QTimerEvent *) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
Clear | Signature: [static,const] QItemSelectionModel_SelectionFlag Clear Description: Enum constant QItemSelectionModel::Clear Python specific notes: |
ClearAndSelect | Signature: [static,const] QItemSelectionModel_SelectionFlag ClearAndSelect Description: Enum constant QItemSelectionModel::ClearAndSelect Python specific notes: |
Columns | Signature: [static,const] QItemSelectionModel_SelectionFlag Columns Description: Enum constant QItemSelectionModel::Columns Python specific notes: |
Current | Signature: [static,const] QItemSelectionModel_SelectionFlag Current Description: Enum constant QItemSelectionModel::Current Python specific notes: |
Deselect | Signature: [static,const] QItemSelectionModel_SelectionFlag Deselect Description: Enum constant QItemSelectionModel::Deselect Python specific notes: |
NoUpdate | Signature: [static,const] QItemSelectionModel_SelectionFlag NoUpdate Description: Enum constant QItemSelectionModel::NoUpdate Python specific notes: |
Rows | Signature: [static,const] QItemSelectionModel_SelectionFlag Rows Description: Enum constant QItemSelectionModel::Rows Python specific notes: |
Select | Signature: [static,const] QItemSelectionModel_SelectionFlag Select Description: Enum constant QItemSelectionModel::Select Python specific notes: |
SelectCurrent | Signature: [static,const] QItemSelectionModel_SelectionFlag SelectCurrent Description: Enum constant QItemSelectionModel::SelectCurrent Python specific notes: |
Toggle | Signature: [static,const] QItemSelectionModel_SelectionFlag Toggle Description: Enum constant QItemSelectionModel::Toggle Python specific notes: |
ToggleCurrent | Signature: [static,const] QItemSelectionModel_SelectionFlag ToggleCurrent Description: Enum constant QItemSelectionModel::ToggleCurrent Python specific notes: |
_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 arg1) Description: Virtual method void QItemSelectionModel::childEvent(QChildEvent *) 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. |
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 ¤t, const QModelIndex &previous) You can bind a procedure to this signal. Python specific notes: |
currentColumnChanged | Signature: [signal] void currentColumnChanged (const QModelIndex current, const QModelIndex previous) Description: Signal declaration for QItemSelectionModel::currentColumnChanged(const QModelIndex ¤t, const QModelIndex &previous) You can bind a procedure to this signal. Python specific notes: |
currentIndex | Signature: [const] QModelIndex currentIndex Description: Method QModelIndex QItemSelectionModel::currentIndex() |
currentRowChanged | Signature: [signal] void currentRowChanged (const QModelIndex current, const QModelIndex previous) Description: Signal declaration for QItemSelectionModel::currentRowChanged(const QModelIndex ¤t, const QModelIndex &previous) You can bind a procedure to this signal. Python specific notes: |
customEvent | Signature: void customEvent (QEvent ptr arg1) Description: Virtual method void QItemSelectionModel::customEvent(QEvent *) 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: |
disconnectNotify | Signature: void disconnectNotify (string signal) Description: Virtual method void QItemSelectionModel::disconnectNotify(const char *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 ¤t, 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 ¤t, 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 ¤t, const QModelIndex &previous) Call this method to emit this signal. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = 0) Description: Emitter for signal void QItemSelectionModel::destroyed(QObject *) 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 arg1) Description: Virtual method bool QItemSelectionModel::event(QEvent *) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2) Description: Virtual method bool QItemSelectionModel::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. |
hasSelection | Signature: [const] bool hasSelection Description: Method bool QItemSelectionModel::hasSelection() |
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) |
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 | Signature: [const] const QAbstractItemModel ptr model Description: Method const QAbstractItemModel *QItemSelectionModel::model() |
new | (1) Signature: [static] new QItemSelectionModel new (QAbstractItemModel ptr model) Description: Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model) This method creates an object of class QItemSelectionModel. Python specific notes: |
(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: | |
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() |
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() |
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: |
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. |
setCurrentIndex | Signature: void setCurrentIndex (const QModelIndex index, QItemSelectionModel_QFlags_SelectionFlag command) Description: Method void QItemSelectionModel::setCurrentIndex(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command) |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
timerEvent | Signature: void timerEvent (QTimerEvent ptr arg1) Description: Virtual method void QItemSelectionModel::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. |
tr | (1) Signature: [static] string tr (string s, string c = 0) Description: Static method QString QItemSelectionModel::tr(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string tr (string s, string c, int n) 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 | (1) Signature: [static] string trUtf8 (string s, string c = 0) Description: Static method QString QItemSelectionModel::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string trUtf8 (string s, string c, int n) 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. |