Qt 4.8
|
#include <qitemselectionmodel_p.h>
Public Functions | |
void | _q_columnsAboutToBeInserted (const QModelIndex &parent, int start, int end) |
Split selection ranges if columns are about to be inserted in the middle. More... | |
void | _q_columnsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
void | _q_layoutAboutToBeChanged () |
Split selection into individual (persistent) indexes. More... | |
void | _q_layoutChanged () |
Merge the selected indexes into selection ranges again. More... | |
void | _q_rowsAboutToBeInserted (const QModelIndex &parent, int start, int end) |
Split selection ranges if rows are about to be inserted in the middle. More... | |
void | _q_rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
QItemSelection | expandSelection (const QItemSelection &selection, QItemSelectionModel::SelectionFlags command) const |
void | finalize () |
void | initModel (QAbstractItemModel *model) |
QItemSelectionModelPrivate () | |
void | remove (QList< QItemSelectionRange > &r) |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Definition at line 61 of file qitemselectionmodel_p.h.
|
inline |
Definition at line 65 of file qitemselectionmodel_p.h.
void QItemSelectionModelPrivate::_q_columnsAboutToBeInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Split selection ranges if columns are about to be inserted in the middle.
Definition at line 794 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModelPrivate().
void QItemSelectionModelPrivate::_q_columnsAboutToBeRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 758 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModelPrivate().
void QItemSelectionModelPrivate::_q_layoutAboutToBeChanged | ( | ) |
Split selection into individual (persistent) indexes.
This is done in preparation for the layoutChanged() signal, where the indexes can be merged again.
Definition at line 860 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModelPrivate().
void QItemSelectionModelPrivate::_q_layoutChanged | ( | ) |
Merge the selected indexes into selection ranges again.
Definition at line 956 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModelPrivate().
void QItemSelectionModelPrivate::_q_rowsAboutToBeInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Split selection ranges if rows are about to be inserted in the middle.
Definition at line 826 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModelPrivate().
void QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 687 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModelPrivate().
QItemSelection QItemSelectionModelPrivate::expandSelection | ( | const QItemSelection & | selection, |
QItemSelectionModel::SelectionFlags | command | ||
) | const |
returns a QItemSelection where all ranges have been expanded to: Rows: left: 0 and right: columnCount()-1 Columns: top: 0 and bottom: rowCount()-1
Definition at line 653 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModelPrivate().
|
inline |
Definition at line 89 of file qitemselectionmodel_p.h.
void QItemSelectionModelPrivate::initModel | ( | QAbstractItemModel * | model | ) |
Definition at line 625 of file qitemselectionmodel.cpp.
Referenced by QItemSelectionModel::QItemSelectionModel(), and QItemSelectionModelPrivate().
|
inline |
Definition at line 82 of file qitemselectionmodel_p.h.
QItemSelectionModel::SelectionFlags QItemSelectionModelPrivate::currentCommand |
Definition at line 100 of file qitemselectionmodel_p.h.
Referenced by finalize().
QPersistentModelIndex QItemSelectionModelPrivate::currentIndex |
Definition at line 99 of file qitemselectionmodel_p.h.
QItemSelection QItemSelectionModelPrivate::currentSelection |
Definition at line 98 of file qitemselectionmodel_p.h.
Referenced by finalize().
QPointer<QAbstractItemModel> QItemSelectionModelPrivate::model |
Definition at line 96 of file qitemselectionmodel_p.h.
Referenced by QItemSelectionModelPrivate().
QItemSelection QItemSelectionModelPrivate::ranges |
Definition at line 97 of file qitemselectionmodel_p.h.
Referenced by finalize(), and remove().
QList<QPersistentModelIndex> QItemSelectionModelPrivate::savedPersistentCurrentIndexes |
Definition at line 102 of file qitemselectionmodel_p.h.
QList<QPersistentModelIndex> QItemSelectionModelPrivate::savedPersistentIndexes |
Definition at line 101 of file qitemselectionmodel_p.h.
int QItemSelectionModelPrivate::tableColCount |
Definition at line 106 of file qitemselectionmodel_p.h.
QPersistentModelIndex QItemSelectionModelPrivate::tableParent |
Definition at line 105 of file qitemselectionmodel_p.h.
int QItemSelectionModelPrivate::tableRowCount |
Definition at line 106 of file qitemselectionmodel_p.h.
bool QItemSelectionModelPrivate::tableSelected |
Definition at line 104 of file qitemselectionmodel_p.h.