(5627e113793df3df24742d7af502a075c2c9e95d)
#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.
◆ indexesFromRange()
template<typename ModelIndexContainer>
◆ isSelectableAndEnabled()
static bool isSelectableAndEnabled |
( |
Qt::ItemFlags | flags | ) |
|
|
inlinestatic |
◆ mergeIndexes()
Merges indexes into an item selection made up of ranges. Assumes that the indexes are sorted.
Definition at line 963 of file qitemselectionmodel.cpp.
◆ mergeRowLengths()
◆ operator<<()
◆ qHash()
◆ qSelectionIndexes()
template<typename ModelIndexContainer>
static ModelIndexContainer qSelectionIndexes |
( |
const QItemSelection & | selection | ) |
|
|
static |
◆ qSelectionPersistentRowLengths()
◆ qt_PersistentModelIndexLessThan()
◆ rowLengthsFromRange()
◆ selectionIsEmpty()
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 1748 of file qitemselectionmodel.cpp.