QItemSelectionModel Class Reference
#include <qitemselectionmodel.h>
Definition at line 151 of file qitemselectionmodel.h.
|
| enum | SelectionFlag {
NoUpdate = 0x0000,
Clear = 0x0001,
Select = 0x0002,
Deselect = 0x0004,
Toggle = 0x0008,
Current = 0x0010,
Rows = 0x0020,
Columns = 0x0040,
SelectCurrent = Select | Current,
ToggleCurrent = Toggle | Current,
ClearAndSelect = Clear | Select
} |
| |
|
| | QItemSelectionModel (QAbstractItemModel *model) |
| |
| | QItemSelectionModel (QAbstractItemModel *model, QObject *parent) |
| |
| virtual | ~QItemSelectionModel () |
| |
| QModelIndex | currentIndex () const |
| |
| bool | isSelected (const QModelIndex &index) const |
| |
| bool | isRowSelected (int row, const QModelIndex &parent) const |
| |
| bool | isColumnSelected (int column, const QModelIndex &parent) const |
| |
| bool | rowIntersectsSelection (int row, const QModelIndex &parent) const |
| |
| bool | columnIntersectsSelection (int column, const QModelIndex &parent) const |
| |
| bool | hasSelection () const |
| |
| QModelIndexList | selectedIndexes () const |
| |
| QModelIndexList | selectedRows (int column=0) const |
| |
| QModelIndexList | selectedColumns (int row=0) const |
| |
| const QItemSelection | selection () const |
| |
| const QAbstractItemModel * | model () const |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| virtual bool | event (QEvent *) |
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |
|
| static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
| |
| static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
| |
| static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| |
| static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
| |
| static uint | registerUserData () |
| |
| QScopedPointer< QObjectData > | d_ptr |
| |
| static const QMetaObject | staticQtMetaObject |
| |
| QString | objectName |
| |
| Enumerator |
|---|
| NoUpdate |
|
| Clear |
|
| Select |
|
| Deselect |
|
| Toggle |
|
| Current |
|
| Rows |
|
| Columns |
|
| SelectCurrent |
|
| ToggleCurrent |
|
| ClearAndSelect |
|
Definition at line 159 of file qitemselectionmodel.h.
| bool isColumnSelected |
( |
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
| bool rowIntersectsSelection |
( |
int |
row, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
| bool columnIntersectsSelection |
( |
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
| bool hasSelection |
( |
| ) |
const |
| void setCurrentIndex |
( |
const QModelIndex & |
index, |
|
|
QItemSelectionModel::SelectionFlags |
command |
|
) |
| |
|
slot |
| virtual void select |
( |
const QModelIndex & |
index, |
|
|
QItemSelectionModel::SelectionFlags |
command |
|
) |
| |
|
virtualslot |
| virtual void select |
( |
const QItemSelection & |
selection, |
|
|
QItemSelectionModel::SelectionFlags |
command |
|
) |
| |
|
virtualslot |
The documentation for this class was generated from the following file: