digiKam
|
Public Types | |
enum | AdditionalRoles { CategoryDisplayRole = 0x17CE990A , CategorySortRole = 0x27857E60 } |
enum | ItemFilterModelRoles { CategorizationModeRole = ItemModel::FilterModelRoles + 1 , SortOrderRole = ItemModel::FilterModelRoles + 2 , CategoryAlbumIdRole = ItemModel::FilterModelRoles + 3 , CategoryFormatRole = ItemModel::FilterModelRoles + 4 , CategoryDateRole = ItemModel::FilterModelRoles + 5 , CategoryFaceRole = ItemModel::FilterModelRoles + 6 , GroupIsOpenRole = ItemModel::FilterModelRoles + 7 , ItemFilterModelPointerRole = ItemModel::FilterModelRoles + 50 } |
Public Slots | |
void | packageDiscarded (const ItemFilterModelTodoPackage &package) |
void | packageFinished (const ItemFilterModelTodoPackage &package) |
void | preprocessInfos (const QList< ItemInfo > &infos, const QList< QVariant > &extraValues) |
void | processAddedInfos (const QList< ItemInfo > &infos, const QList< QVariant > &extraValues) |
void | setAllGroupsOpen (bool open) |
void | setCategorizationMode (ItemSortSettings::CategorizationMode mode) |
void | setCategorizationSortOrder (ItemSortSettings::SortOrder order) |
void | setDayFilter (const QList< QDateTime > &days) |
void | setExceptionList (const QList< qlonglong > &idlist, const QString &id) |
void | setGeolocationFilter (const ItemFilterSettings::GeolocationCondition &condition) |
void | setGroupItemFilterSettings (const GroupItemFilterSettings &settings) |
void | setGroupOpen (qlonglong group, bool open) |
void | setIdWhitelist (const QList< qlonglong > &idList, const QString &id) |
virtual void | setItemSortSettings (const ItemSortSettings &settings) |
void | setMimeTypeFilter (int mimeTypeFilter) |
void | setRatingFilter (int rating, ItemFilterSettings::RatingCondition ratingCond, bool isUnratedExcluded) |
void | setSortOrder (ItemSortSettings::SortOrder order) |
void | setSortRole (ItemSortSettings::SortRole role) |
void | setStringTypeNatural (bool natural) |
void | setTagFilter (const QList< int > &includedTags, const QList< int > &excludedTags, ItemFilterSettings::MatchingCondition matchingCond, bool showUnTagged, const QList< int > &clTagIds, const QList< int > &plTagIds) |
void | setTextFilter (const SearchTextFilterSettings &settings) |
void | setUrlWhitelist (const QList< QUrl > &urlList, const QString &id) |
void | setVersionItemFilterSettings (const VersionItemFilterSettings &settings) |
void | setVersionManagerSettings (const VersionManagerSettings &settings) |
void | toggleGroupOpen (qlonglong group) |
Signals | |
void | filterMatches (bool matches) |
void | filterMatchesForText (bool matchesByText) |
void | filterSettingsChanged (const ItemFilterSettings &settings) |
void | imageInfosAboutToBeRemoved (const QList< ItemInfo > &infos) |
void | imageInfosAdded (const QList< ItemInfo > &infos) |
void | packageToFilter (const ItemFilterModelTodoPackage &package) |
void | packageToPrepare (const ItemFilterModelTodoPackage &package) |
void | reAddingFinished () |
void | reAddItemInfos (const QList< ItemInfo > &infos, const QList< QVariant > &extraValues) |
Public Member Functions | |
void | addPrepareHook (ItemFilterModelPrepareHook *const hook) |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
GroupItemFilterSettings | groupItemFilterSettings () const |
ItemFilterModel * | imageFilterModel () const override |
ItemFilterSettings | imageFilterSettings () const |
qlonglong | imageId (const QModelIndex &index) const |
QList< qlonglong > | imageIds (const QList< QModelIndex > &indexes) const |
ItemInfo | imageInfo (const QModelIndex &index) const |
QList< ItemInfo > | imageInfos (const QList< QModelIndex > &indexes) const |
QList< ItemInfo > | imageInfosSorted () const |
ItemSortSettings | imageSortSettings () const |
QModelIndex | indexForImageId (qlonglong id) const |
QModelIndex | indexForItemInfo (const ItemInfo &info) const |
QModelIndex | indexForPath (const QString &filePath) const |
void | infosToProcess (const QList< ItemInfo > &infos) |
void | infosToProcess (const QList< ItemInfo > &infos, const QList< QVariant > &extraValues, bool forReAdd=true) |
void | init (ItemFilterModel *q) |
bool | isAllGroupsOpen () const |
bool | isCategorizedModel () const |
bool | isGroupOpen (qlonglong group) const |
ItemAlbumFilterModel (QObject *const parent=nullptr) | |
ItemFilterModelPrivate () | |
QModelIndex | mapFromDirectSourceToSourceItemModel (const QModelIndex &sourceModel_index) const |
QModelIndex | mapFromSourceItemModel (const QModelIndex &imagemodel_index) const |
QList< QModelIndex > | mapListFromSource (const QList< QModelIndex > &sourceIndexes) const |
QList< QModelIndex > | mapListToSource (const QList< QModelIndex > &indexes) const |
QModelIndex | mapToSourceItemModel (const QModelIndex &index) const |
void | removePrepareHook (ItemFilterModelPrepareHook *const hook) |
void | setCategorizedModel (bool categorizedModel) |
void | setItemFilterSettings (const ItemFilterSettings &settings) override |
void | setSendItemInfoSignals (bool sendSignals) |
void | setSortCategoriesByNaturalComparison (bool sortCategoriesByNaturalComparison) |
void | setSourceFilterModel (ImageSortFilterModel *const model) |
void | setSourceItemModel (ItemAlbumModel *model) |
void | setSourceItemModel (ItemModel *const model) |
void | setupWorkers () |
void | sort (int column, Qt::SortOrder order=Qt::AscendingOrder) override |
bool | sortCategoriesByNaturalComparison () const |
int | sortColumn () const |
Qt::SortOrder | sortOrder () const |
ImageSortFilterModel * | sourceFilterModel () const |
ItemModel * | sourceItemModel () const |
ItemAlbumModel * | sourceModel () const |
DatabaseFields::Set | suggestedWatchFlags () const |
VersionItemFilterSettings | versionItemFilterSettings () const |
~ItemAlbumFilterModel () override | |
Public Attributes | |
ItemFilterSettings | filter |
ItemFilterSettings | filterCopy |
ItemFilterModelFilterer * | filterer |
QHash< qlonglong, bool > | filterResults |
GroupItemFilterSettings | groupFilter |
GroupItemFilterSettings | groupFilterCopy |
bool | hasOneMatch |
bool | hasOneMatchForText |
ItemModel * | imageModel |
unsigned int | lastDiscardVersion |
unsigned int | lastFilteredVersion |
QMutex | mutex |
bool | needPrepare |
bool | needPrepareComments |
bool | needPrepareGroups |
bool | needPrepareTags |
QList< ItemFilterModelPrepareHook * > | prepareHooks |
ItemFilterModelPreparer * | preparer |
ItemFilterModel * | q |
int | sentOut |
int | sentOutForReAdd |
ItemSortSettings | sorter |
QTimer * | updateFilterTimer |
volatile unsigned int | version |
VersionItemFilterSettings | versionFilter |
VersionItemFilterSettings | versionFilterCopy |
Protected Slots | |
void | slotAlbumAboutToBeDeleted (Album *album) |
void | slotAlbumAdded (Album *album) |
void | slotAlbumRenamed (Album *album) |
void | slotAlbumsCleared () |
void | slotImageChange (const ImageChangeset &changeset) |
void | slotImageTagChange (const ImageTagChangeset &changeset) |
void | slotModelReset () |
void | slotRowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
void | slotRowsInserted (const QModelIndex &parent, int start, int end) |
void | slotUpdateFilter () |
Protected Member Functions | |
virtual QString | categoryIdentifier (const ItemInfo &info, const FaceTagsIface &face) const |
int | compareCategories (const QModelIndex &left, const QModelIndex &right) const override |
int | compareInfosCategories (const ItemInfo &left, const ItemInfo &right) const override |
int | compareInfosCategories (const ItemInfo &left, const ItemInfo &right, const FaceTagsIface &leftFace, const FaceTagsIface &rightFace) const override |
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
virtual bool | infosLessThan (const ItemInfo &left, const ItemInfo &right) const |
bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
void | setDirectSourceItemModel (ItemModel *const model) override |
void | setSourceModel (QAbstractItemModel *const model) override |
NOTE: made protected. More... | |
bool | subSortLessThan (const QModelIndex &left, const QModelIndex &right) const override |
Protected Attributes | |
ItemFilterModelPrivate *const | d_ptr |
ImageSortFilterModel * | m_chainedModel |
|
inherited |
|
inherited |
Enumerator | |
---|---|
CategorizationModeRole | Returns the current categorization mode. |
SortOrderRole | Returns the current sort order. |
CategoryAlbumIdRole | Returns the number of items in the index category. Returns the id of the PAlbum of the index which is used for category |
CategoryFormatRole | Returns the format of the index which is used for category. |
CategoryDateRole | Returns the date of the index which is used for category. |
CategoryFaceRole | Returns the suggested name for the face in this index. |
GroupIsOpenRole | Returns true if the given image is a group leader, and the group is opened. |
ItemFilterModelPointerRole |
|
explicit |
|
override |
|
inherited |
Add a hook to get added images for preparation tasks before they are added in the model
|
protectedvirtualinherited |
Returns a unique identifier for the category if info. The string need not be for user display.
References Digikam::ItemInfo::albumId(), Digikam::ItemSortSettings::CategoryByAlbum, Digikam::ItemSortSettings::CategoryByFaces, Digikam::ItemSortSettings::CategoryByFormat, Digikam::ItemSortSettings::CategoryByMonth, Digikam::FaceTagsIface::ConfirmedName, Digikam::ItemInfo::dateTime(), Digikam::ItemInfo::faceCount(), Digikam::ItemInfo::format(), Digikam::ItemInfo::getSuggestedNames(), Digikam::ItemInfo::groupImageId(), Digikam::FaceTagsIface::IgnoredName, Digikam::FaceTagsIface::isNull(), Digikam::ItemSortSettings::NoCategories, Digikam::ItemSortSettings::OneCategory, Digikam::FaceTagsIface::region(), Digikam::FaceTagsIface::tagId(), Digikam::TagRegion::toXml(), Digikam::FaceTagsIface::type(), and Digikam::FaceTagsIface::UnknownName.
Referenced by Digikam::ItemFilterModel::data().
|
overrideprotectedvirtualinherited |
This method compares the category of the left
index with the category of the right
index.
Internally and if not reimplemented, this method will ask for left
and right
models for role CategorySortRole. In order to correctly sort categories, the data() method of the model should return a qlonglong (or numeric) value, or a QString object. QString objects will be sorted with QString::localeAwareCompare if sortCategoriesByNaturalComparison() is true.
This means that QString() will be sorted the first one, while QString(QChar(QChar::ObjectReplacementCharacter)) and QString(QChar(QChar::ReplacementCharacter)) will be sorted in last position.
left
should be placed before the category of right
. 0 if left
and right
are on the same category, and a positive value if the category of left
should be placed after the category of right
. Reimplemented from Digikam::DCategorizedSortFilterProxyModel.
References Digikam::ItemFilterModel::compareInfosCategories(), Digikam::ItemModel::ExtraDataRole, Digikam::FaceTagsIface::fromVariant(), and Digikam::ItemInfo::groupImageId().
|
overrideprotectedvirtual |
Reimplement to customize category sorting, Return negative if category of left < category right, Return 0 if left and right are in the same category, else return positive.
Reimplemented from Digikam::ItemFilterModel.
|
overrideprotectedvirtual |
In order to be able to Categorize by Faces, it's necessary to pass in the face as well. One image may have multiple Faces in it, hence just the ItemInfo isn't sufficient.
Reimplemented from Digikam::ItemFilterModel.
References Digikam::ItemInfo::albumId(), Digikam::PAlbum::albumPath(), Digikam::ItemSortSettings::CategoryByAlbum, Digikam::ItemSortSettings::compareByOrder(), Digikam::ItemFilterModel::compareInfosCategories(), Digikam::PAlbum::date(), Digikam::AlbumManager::findPAlbum(), Digikam::Album::id(), Digikam::AlbumManager::instance(), Digikam::ItemSortSettings::naturalCompare(), Digikam::Album::rowFromAlbum(), Digikam::ItemSortSettings::SortByCreationDate, and Digikam::ItemSortSettings::SortByModificationDate.
|
overrideinherited |
Keeping track of the Face (if any) associated with this Model Index is important to allow categorization by Face.
References Digikam::ItemFilterModel::CategorizationModeRole, Digikam::ItemFilterModel::CategoryAlbumIdRole, Digikam::ItemFilterModel::CategoryDateRole, Digikam::DCategorizedSortFilterProxyModel::CategoryDisplayRole, Digikam::ItemFilterModel::CategoryFaceRole, Digikam::ItemFilterModel::CategoryFormatRole, Digikam::ItemFilterModel::categoryIdentifier(), Digikam::FaceTagsIface::ConfirmedName, Digikam::ItemModel::ExtraDataRole, Digikam::FaceTags::faceNameForTag(), Digikam::FaceTagsIface::fromVariant(), Digikam::ItemFilterModel::GroupIsOpenRole, Digikam::FaceTagsIface::IgnoredName, Digikam::ItemFilterModel::ItemFilterModelPointerRole, Digikam::FaceTagsIface::region(), Digikam::ItemFilterModel::SortOrderRole, Digikam::FaceTagsIface::tagId(), Digikam::TagRegion::toXml(), Digikam::FaceTagsIface::type(), and Digikam::FaceTagsIface::UnknownName.
|
overrideprotectedinherited |
|
signalinherited |
Signals that the set filter matches at least one index
|
signalinherited |
Signals that the set text filter matches at least one entry. If no text filter is set, this signal is emitted with 'false' when filterMatches() is emitted.
|
signalinherited |
Emitted when the filter settings have been changed (the model may not yet have been updated)
Referenced by Digikam::ItemFilterModel::setItemFilterSettings().
|
inherited |
|
overridevirtualinherited |
Returns this, any chained ItemFilterModel, or 0.
Reimplemented from Digikam::ImageSortFilterModel.
|
inherited |
Referenced by Digikam::TableViewModel::TableViewModel().
|
inherited |
|
inherited |
References Digikam::ItemModel::imageInfo(), Digikam::ImageSortFilterModel::mapToSourceItemModel(), and Digikam::ImageSortFilterModel::sourceItemModel().
Referenced by Digikam::DigikamItemView::groupIndicatorClicked(), Digikam::ItemFilterModel::slotRowsAboutToBeRemoved(), and Digikam::ItemFilterModel::slotRowsInserted().
|
signalinherited |
Referenced by Digikam::ItemFilterModel::slotRowsAboutToBeRemoved().
These signals need to be explicitly enabled with setSendItemInfoSignals()
Referenced by Digikam::ItemFilterModel::slotRowsInserted().
Returns a list of all image infos, sorted according to this model. If you do not need a sorted list, use ItemModel's imageInfos() method.
References Digikam::ItemModel::imageInfo(), Digikam::ImageSortFilterModel::mapToSourceItemModel(), and Digikam::ImageSortFilterModel::sourceItemModel().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedvirtualinherited |
Reimplement to customize sorting. Do not take categories into account here.
Referenced by Digikam::ItemFilterModel::subSortLessThan().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
References Digikam::DCategorizedSortFilterProxyModel::Private::categorizedModel.
Referenced by Digikam::DCategorizedView::categorizedIndexesIn(), Digikam::DCategorizedView::categoryAt(), Digikam::DCategorizedView::categoryRange(), Digikam::DCategorizedView::categoryVisualRect(), Digikam::DCategorizedView::currentChanged(), Digikam::DCategorizedView::dragMoveEvent(), Digikam::DCategorizedView::indexAt(), Digikam::DCategorizedView::mouseMoveEvent(), Digikam::DCategorizedView::mouseReleaseEvent(), Digikam::DCategorizedView::moveCursor(), Digikam::DCategorizedView::paintEvent(), Digikam::DCategorizedView::resizeEvent(), Digikam::DCategorizedView::rowsInserted(), Digikam::DCategorizedView::rowsRemoved(), Digikam::DCategorizedView::setSelection(), Digikam::DCategorizedView::slotLayoutChanged(), Digikam::DCategorizedView::updateGeometries(), and Digikam::DCategorizedView::visualRect().
|
inherited |
group is identified by the id of its group leader
Referenced by Digikam::ItemFilterModel::toggleGroupOpen().
|
inherited |
|
overrideprotectedinherited |
Overridden from QSortFilterProxyModel. If you are subclassing DCategorizedSortFilterProxyModel, you will probably not need to reimplement this method.
It calls compareCategories() to sort by category. If the both items are in the same category (i.e. compareCategories returns 0), then subSortLessThan is called.
left
is less than the item right
when sorting.References Digikam::DCategorizedSortFilterProxyModel::Private::categorizedModel, Digikam::DCategorizedSortFilterProxyModel::compareCategories(), and Digikam::DCategorizedSortFilterProxyModel::subSortLessThan().
|
inherited |
|
inherited |
References Digikam::ImageSortFilterModel::m_chainedModel, and Digikam::ImageSortFilterModel::mapFromSourceItemModel().
Referenced by Digikam::ImageSortFilterModel::indexForImageId(), Digikam::ImageSortFilterModel::indexForItemInfo(), Digikam::ImageSortFilterModel::indexForPath(), Digikam::ImageSortFilterModel::mapFromSourceItemModel(), and Digikam::ImageSortFilterModel::mapListFromSource().
|
inherited |
Convenience methods mapped to ItemModel. Mentioned indexes returned come from the source image model.
References Digikam::ImageSortFilterModel::mapToSourceItemModel().
|
inherited |
References Digikam::ImageSortFilterModel::m_chainedModel, and Digikam::ImageSortFilterModel::mapToSourceItemModel().
Referenced by Digikam::DigikamItemView::confirmFaces(), Digikam::ItemDragDropHandler::dropEvent(), Digikam::DigikamItemView::ignoreFaces(), Digikam::ImageSortFilterModel::imageId(), Digikam::ImageSortFilterModel::imageIds(), Digikam::ImageSortFilterModel::imageInfo(), Digikam::ImageSortFilterModel::imageInfos(), Digikam::ImageSortFilterModel::imageInfosSorted(), Digikam::ImageSortFilterModel::mapFromDirectSourceToSourceItemModel(), Digikam::ImageSortFilterModel::mapListToSource(), Digikam::ImageSortFilterModel::mapToSourceItemModel(), Digikam::DigikamItemView::rejectFaces(), Digikam::DigikamItemView::removeFaces(), and Digikam::DigikamItemView::unknownFaces().
|
slotinherited |
|
slotinherited |
|
signalinherited |
|
signalinherited |
|
slotinherited |
Referenced by Digikam::ItemFilterModel::setDirectSourceItemModel().
|
slotinherited |
Referenced by Digikam::ItemFilterModel::setDirectSourceItemModel().
|
signalinherited |
Referenced by Digikam::ItemFilterModel::setDirectSourceItemModel().
|
signalinherited |
Referenced by Digikam::ItemFilterModel::setDirectSourceItemModel().
|
inherited |
|
slotinherited |
References Digikam::ItemFilterModel::setGroupItemFilterSettings().
Referenced by Digikam::ItemIconView::setAllGroupsOpen(), and Digikam::DigikamItemView::setFaceMode().
|
slotinherited |
|
slotinherited |
|
inherited |
Enables or disables the categorization feature.
categorizedModel | whether to enable or disable the categorization feature. |
References Digikam::DCategorizedSortFilterProxyModel::Private::categorizedModel.
Referenced by Digikam::CategorizedItemModel::createFilterModel(), Digikam::ActionItemModel::createFilterModel(), Digikam::ImportFilterModel::setCamItemSortSettings(), Digikam::ItemFilterModel::setItemSortSettings(), and ShowFoto::ShowfotoFilterModel::setShowfotoItemSortSettings().
|
slotinherited |
Adjust the current ItemFilterSettings. Equivalent to retrieving the current filter settings, adjusting the parameter and calling setItemFilterSettings. Provided for convenience. It is encouraged to use setItemFilterSettings if you change more than one parameter at a time.
References Digikam::ItemFilterModel::setItemFilterSettings().
|
overrideprotectedvirtualinherited |
Reimplement if needed. Called only when model shall be set as (direct) sourceModel.
Reimplemented from Digikam::ImageSortFilterModel.
References Digikam::ItemFilterModel::preprocessInfos(), Digikam::ItemFilterModel::processAddedInfos(), Digikam::ItemFilterModel::reAddingFinished(), Digikam::ItemFilterModel::reAddItemInfos(), Digikam::ItemModel::setPreprocessor(), Digikam::ImageSortFilterModel::setSourceModel(), Digikam::ItemFilterModel::slotImageChange(), Digikam::ItemFilterModel::slotImageTagChange(), and Digikam::ItemFilterModel::slotModelReset().
|
slotinherited |
|
slotinherited |
|
slotinherited |
Changes the current version image filter settings and refilters.
References Digikam::ItemFilterModel::slotUpdateFilter().
Referenced by Digikam::ItemFilterModel::setAllGroupsOpen(), and Digikam::ItemFilterModel::setGroupOpen().
|
slotinherited |
References Digikam::ItemFilterModel::setGroupItemFilterSettings().
Referenced by Digikam::ItemFilterModel::toggleGroupOpen().
|
slotinherited |
|
overridevirtual |
Changes the current image filter settings and refilters.
Reimplemented from Digikam::ItemFilterModel.
References Digikam::ItemFilterSettings::setAlbumNames(), Digikam::ItemFilterModel::setItemFilterSettings(), and Digikam::ItemFilterSettings::setTagNames().
|
virtualslotinherited |
Changes the current image sort settings and resorts.
References Digikam::ItemSortSettings::NoCategories, Digikam::DCategorizedSortFilterProxyModel::setCategorizedModel(), and Digikam::ItemFilterModel::sorter.
Referenced by Digikam::ItemFilterModel::setCategorizationMode(), Digikam::ItemFilterModel::setCategorizationSortOrder(), Digikam::ItemFilterModel::setSortOrder(), Digikam::ItemFilterModel::setSortRole(), and Digikam::ItemFilterModel::setStringTypeNatural().
|
slotinherited |
|
slotinherited |
|
inherited |
Enables sending imageInfosAdded and imageInfosAboutToBeRemoved
References Digikam::ItemFilterModel::slotRowsAboutToBeRemoved(), and Digikam::ItemFilterModel::slotRowsInserted().
|
inherited |
Set if the sorting using CategorySortRole will use a natural comparison in the case that strings were returned. If enabled, QCollator will be used for sorting.
sortCategoriesByNaturalComparison | whether to sort using a natural comparison or not. |
References Digikam::DCategorizedSortFilterProxyModel::sortCategoriesByNaturalComparison(), and Digikam::DCategorizedSortFilterProxyModel::Private::sortCategoriesByNaturalComparison.
|
slotinherited |
|
slotinherited |
|
inherited |
void Digikam::ItemAlbumFilterModel::setSourceItemModel | ( | ItemAlbumModel * | model | ) |
|
inherited |
References Digikam::ImageSortFilterModel::m_chainedModel, Digikam::ImageSortFilterModel::setDirectSourceItemModel(), and Digikam::ImageSortFilterModel::setSourceItemModel().
Referenced by Digikam::ImageSortFilterModel::setSourceFilterModel(), setSourceItemModel(), and Digikam::ImageSortFilterModel::setSourceItemModel().
|
overrideprotectedinherited |
NOTE: made protected.
Referenced by Digikam::ImageSortFilterModel::setDirectSourceItemModel(), Digikam::ItemFilterModel::setDirectSourceItemModel(), and Digikam::ImageSortFilterModel::setSourceFilterModel().
|
slotinherited |
|
slotinherited |
|
slotinherited |
|
inherited |
|
slotinherited |
|
slotinherited |
Changes the current version image filter settings and refilters.
References Digikam::ItemFilterModel::slotUpdateFilter().
Referenced by Digikam::ItemIconView::applySettings(), Digikam::ItemFilterModel::setExceptionList(), and Digikam::ItemFilterModel::setVersionManagerSettings().
|
slotinherited |
|
protectedslot |
Referenced by ItemAlbumFilterModel().
|
protectedslot |
Referenced by ItemAlbumFilterModel().
|
protectedslot |
Referenced by ItemAlbumFilterModel().
|
protectedslot |
Referenced by ItemAlbumFilterModel().
|
protectedslotinherited |
|
protectedslotinherited |
References Digikam::ImageTagChangeset::ids().
Referenced by Digikam::ItemFilterModel::setDirectSourceItemModel().
|
protectedslotinherited |
Referenced by Digikam::ItemFilterModel::setDirectSourceItemModel().
|
protectedslotinherited |
|
protectedslotinherited |
References Digikam::ImageSortFilterModel::imageInfo(), and Digikam::ItemFilterModel::imageInfosAdded().
Referenced by Digikam::ItemFilterModel::setSendItemInfoSignals().
|
protectedslotinherited |
|
overrideinherited |
Overridden from QSortFilterProxyModel. Sorts the source model using column
for the given order
.
References Digikam::DCategorizedSortFilterProxyModel::Private::sortColumn, and Digikam::DCategorizedSortFilterProxyModel::Private::sortOrder.
|
inherited |
References Digikam::DCategorizedSortFilterProxyModel::Private::sortCategoriesByNaturalComparison.
Referenced by Digikam::DCategorizedSortFilterProxyModel::setSortCategoriesByNaturalComparison().
|
inherited |
References Digikam::DCategorizedSortFilterProxyModel::Private::sortColumn.
Referenced by Digikam::DCategorizedView::categoryAt(), Digikam::DCategorizedView::categoryRange(), Digikam::DCategorizedView::paintEvent(), and Digikam::DCategorizedView::rowsInsertedArtifficial().
|
inherited |
References Digikam::DCategorizedSortFilterProxyModel::Private::sortOrder.
|
inherited |
References Digikam::ImageSortFilterModel::m_chainedModel.
|
inherited |
References Digikam::ImageSortFilterModel::m_chainedModel, and Digikam::ImageSortFilterModel::sourceItemModel().
Referenced by Digikam::NoDuplicatesItemFilterModel::filterAcceptsRow(), Digikam::ImageSortFilterModel::imageId(), Digikam::ImageSortFilterModel::imageIds(), Digikam::ImageSortFilterModel::imageInfo(), Digikam::ImageSortFilterModel::imageInfos(), Digikam::ImageSortFilterModel::imageInfosSorted(), Digikam::ImageSortFilterModel::indexForImageId(), Digikam::ImageSortFilterModel::indexForItemInfo(), Digikam::ImageSortFilterModel::indexForPath(), Digikam::ImageSortFilterModel::setSourceFilterModel(), and Digikam::ImageSortFilterModel::sourceItemModel().
ItemAlbumModel * Digikam::ItemAlbumFilterModel::sourceModel | ( | ) | const |
|
overrideprotectedvirtualinherited |
This method has a similar purpose as lessThan() has on QSortFilterProxyModel. It is used for sorting items that are in the same category.
left
is less than the item right
when sorting. Reimplemented from Digikam::DCategorizedSortFilterProxyModel.
References Digikam::ItemModel::ExtraDataRole, Digikam::ItemInfo::groupImageId(), Digikam::ItemInfo::id(), and Digikam::ItemFilterModel::infosLessThan().
|
inherited |
Returns a set of DatabaseFields suggested to set as watch flags on the source ItemModel. The contained flags will be those that this model can sort or filter by.
References Digikam::DatabaseFields::Album, Digikam::DatabaseFields::Comment, Digikam::DatabaseFields::CreationDate, Digikam::DatabaseFields::FileSize, Digikam::DatabaseFields::Height, Digikam::DatabaseFields::ImageRelations, Digikam::DatabaseFields::ModificationDate, Digikam::DatabaseFields::Name, Digikam::DatabaseFields::Orientation, Digikam::DatabaseFields::Rating, and Digikam::DatabaseFields::Width.
|
slotinherited |
References Digikam::ItemFilterModel::isGroupOpen(), and Digikam::ItemFilterModel::setGroupOpen().
Referenced by Digikam::DigikamItemView::groupIndicatorClicked().
|
inherited |
|
protectedinherited |
Referenced by Digikam::ItemFilterModel::ItemFilterModel().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
Referenced by Digikam::ImageSortFilterModel::imageFilterModel(), Digikam::ImageSortFilterModel::mapFromDirectSourceToSourceItemModel(), Digikam::ImageSortFilterModel::mapFromSourceItemModel(), Digikam::ImageSortFilterModel::mapToSourceItemModel(), Digikam::ImageSortFilterModel::setSourceFilterModel(), Digikam::ImageSortFilterModel::setSourceItemModel(), Digikam::ImageSortFilterModel::sourceFilterModel(), and Digikam::ImageSortFilterModel::sourceItemModel().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Referenced by Digikam::ItemFilterModel::setItemSortSettings().
|
inherited |
|
inherited |
|
inherited |
|
inherited |