|
|
| NoDuplicatesShowfotoFilterModel (QObject *const parent=nullptr) |
| |
|
| ShowfotoSortFilterModel (QObject *const parent=nullptr) |
| |
|
QModelIndex | indexForShowfotoItemId (qlonglong id) const |
| |
|
QModelIndex | indexForShowfotoItemInfo (const ShowfotoItemInfo &info) const |
| |
|
QModelIndex | indexForUrl (const QUrl &fileUrl) const |
| |
|
QModelIndex | mapFromDirectSourceToSourceShowfotoModel (const QModelIndex &sourceModelIndex) const |
| |
|
QModelIndex | mapFromSourceShowfotoModel (const QModelIndex &showfotoModelIndex) const |
| |
|
QList< QModelIndex > | mapListFromSource (const QList< QModelIndex > &sourceIndexes) const |
| |
|
QList< QModelIndex > | mapListToSource (const QList< QModelIndex > &indexes) const |
| |
| QModelIndex | mapToSourceShowfotoModel (const QModelIndex &proxyIndex) const |
| | Convenience methods mapped to ShowfotoItemModel.
|
| |
|
void | setSourceFilterModel (ShowfotoSortFilterModel *const sourceModel) |
| |
|
void | setSourceShowfotoModel (ShowfotoItemModel *const sourceModel) |
| |
| virtual ShowfotoFilterModel * | showfotoFilterModel () const |
| | Returns this, any chained ShowfotoFilterModel, or 0.
|
| |
|
qlonglong | showfotoItemId (const QModelIndex &index) const |
| |
|
QList< qlonglong > | showfotoItemIds (const QList< QModelIndex > &indexes) const |
| |
|
ShowfotoItemInfo | showfotoItemInfo (const QModelIndex &index) const |
| |
|
QList< ShowfotoItemInfo > | showfotoItemInfos (const QList< QModelIndex > &indexes) const |
| |
| QList< ShowfotoItemInfo > | showfotoItemInfosSorted () const |
| | Returns a list of all showfoto infos, sorted according to this model.
|
| |
|
ShowfotoSortFilterModel * | sourceFilterModel () const |
| |
|
ShowfotoItemModel * | sourceShowfotoModel () const |
| |
|
| DCategorizedSortFilterProxyModel (QObject *const parent=nullptr) |
| |
| bool | isCategorizedModel () const |
| |
| void | setCategorizedModel (bool categorizedModel) |
| | Enables or disables the categorization feature.
|
| |
| void | setSortCategoriesByNaturalComparison (bool sortCategoriesByNaturalComparison) |
| | Set if the sorting using CategorySortRole will use a natural comparison in the case that strings were returned.
|
| |
| void | sort (int column, Qt::SortOrder order=Qt::AscendingOrder) override |
| | Overridden from QSortFilterProxyModel.
|
| |
| bool | sortCategoriesByNaturalComparison () const |
| |
| int | sortColumn () const |
| |
| Qt::SortOrder | sortOrder () const |
| |
|
|
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
| |
| virtual void | setDirectSourceShowfotoModel (ShowfotoItemModel *const sourceModel) |
| | Reimplement if needed. Called only when model shall be set as (direct) sourceModel.
|
| |
|
void | setSourceModel (QAbstractItemModel *sourceModel) override |
| |
| virtual int | compareCategories (const QModelIndex &left, const QModelIndex &right) const |
| | This method compares the category of the left index with the category of the right index.
|
| |
| bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
| | Overridden from QSortFilterProxyModel.
|
| |
| virtual bool | subSortLessThan (const QModelIndex &left, const QModelIndex &right) const |
| | This method has a similar purpose as lessThan() has on QSortFilterProxyModel.
|
| |