![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qitemselectionmodel.h"#include "qitemselectionmodel_p.h"#include <private/qitemselectionmodel_p.h>#include <private/qabstractitemmodel_p.h>#include <private/qduplicatetracker_p.h>#include <private/qoffsetstringarray_p.h>#include <qdebug.h>#include <algorithm>#include <functional>#include "moc_qitemselectionmodel.cpp"Go to the source code of this file.
Classes | |
| struct | QItemSelectionRangeRefCache |
| struct | RowOrColumnDefinition |
Namespaces | |
| namespace | QtFunctionObjects |
|
static |
Definition at line 311 of file qitemselectionmodel.cpp.
|
inlinestatic |
Definition at line 305 of file qitemselectionmodel.cpp.
|
static |
Merges indexes into an item selection made up of ranges. Assumes that the indexes are sorted.
Definition at line 964 of file qitemselectionmodel.cpp.
|
static |
Definition at line 924 of file qitemselectionmodel.cpp.
| QDebug operator<< | ( | QDebug | dbg, |
| const QItemSelectionRange & | range ) |
Definition at line 2038 of file qitemselectionmodel.cpp.
|
noexcept |
Definition at line 1815 of file qitemselectionmodel.cpp.
References RowOrColumnDefinition::rowOrColumn.
|
static |
Definition at line 329 of file qitemselectionmodel.cpp.
|
static |
Definition at line 479 of file qitemselectionmodel.cpp.
|
static |
Sort predicate function for QItemSelectionModelPrivate::layoutChanged(), sorting by parent first in addition to operator<(). This is to prevent fragmentation of the selection by grouping indexes with the same row, column of different parents next to each other, which may happen when a selection spans sub-trees.
Definition at line 1035 of file qitemselectionmodel.cpp.
|
static |
Definition at line 289 of file qitemselectionmodel.cpp.
|
inlinestatic |
Check whether the selection is empty. In contrast to selection.isEmpty(), this takes into account whether items are enabled and whether they are selectable.
Definition at line 1756 of file qitemselectionmodel.cpp.