digiKam
|
Public Slots | |
void | assignRating (const QList< QModelIndex > &index, int rating) |
void | copy () override |
void | cut () override |
void | hideIndexNotification () |
void | hintAt (const ItemInfo &info) |
void | openAlbum (const QList< Album * > &album) |
void | paste () override |
void | setCurrentInfo (const ItemInfo &info) |
void | setCurrentUrl (const QUrl &url) |
void | setCurrentUrlWhenAvailable (const QUrl &url) |
void | setCurrentWhenAvailable (qlonglong imageId) |
void | setSelectedItemInfos (const QList< ItemInfo > &infos) |
void | setSelectedUrls (const QList< QUrl > &urlList) |
void | setThumbnailSize (int size) |
void | showIndexNotification (const QModelIndex &index, const QString &message) |
void | slotAssignColorLabel (int) |
void | slotAssignPickLabel (int) |
void | slotAssignRating (int) |
void | slotColorLabelChanged (const QUrl &, int) |
void | slotDockLocationChanged (Qt::DockWidgetArea area) |
void | slotPickLabelChanged (const QUrl &, int) |
void | slotRatingChanged (const QUrl &, int) |
void | slotToggleTag (const QUrl &, int) |
Signals | |
void | clicked (const QMouseEvent *e, const QModelIndex &index) |
void | currentChanged (const ItemInfo &info) |
void | deselected (const QList< ItemInfo > &nowDeselectedInfos) |
Emitted when items are deselected. There may be other selected infos left. This signal is not emitted when the model is reset; then only selectionCleared is emitted. More... | |
void | entered (const QMouseEvent *e, const QModelIndex &index) |
void | imageActivated (const ItemInfo &info) |
Emitted when the given image is activated. Info is never null. More... | |
void | keyPressed (QKeyEvent *e) |
void | modelChanged () |
Emitted when a new model is set. More... | |
void | selected (const QList< ItemInfo > &newSelectedInfos) |
Emitted when new items are selected. The parameter includes only the newly selected infos, there may be other already selected infos. More... | |
void | selectionChanged () |
void | selectionCleared () |
void | signalClearAll () |
void | signalContentChanged () |
void | signalDroppedItems (const QList< ItemInfo > &) |
void | signalEditItem (const ItemInfo &) |
void | signalRemoveItem (const ItemInfo &) |
void | signalSetItemOnLeftPanel (const ItemInfo &) |
void | signalSetItemOnRightPanel (const ItemInfo &) |
void | viewportClicked (const QMouseEvent *e) |
void | zoomInStep () |
void | zoomOutStep () |
Public Member Functions | |
void | addOverlay (ItemDelegateOverlay *overlay, ItemDelegate *delegate=nullptr) |
Add and remove an overlay. It will as well be removed automatically when destroyed. Unless you pass a different delegate, the current delegate will be used. More... | |
void | addSelectionOverlay (ItemDelegate *delegate=nullptr) |
Album * | albumAt (const QPoint &pos) const |
ItemInfoList | allItemInfos () const |
QList< QUrl > | allUrls () const |
void | awayFromSelection () |
virtual QModelIndexList | categorizedIndexesIn (const QRect &rect) const |
virtual QModelIndex | categoryAt (const QPoint &point) const |
DCategoryDrawer * | categoryDrawer () const |
virtual QItemSelectionRange | categoryRange (const QModelIndex &index) const |
virtual QRect | categoryVisualRect (const QModelIndex &index) const |
void | clear () |
int | countItems () const |
Album * | currentAlbum () const |
ItemInfo | currentInfo () const |
QUrl | currentUrl () const |
ItemDelegate * | delegate () const |
ItemInfo | findItemByIndex (const QModelIndex &index) const |
QModelIndex | findItemByInfo (const ItemInfo &info) const |
QModelIndex | firstIndex () const |
QItemSelectionModel * | getSelectionModel () const |
ItemAlbumFilterModel * | imageAlbumFilterModel () const |
ItemAlbumModel * | imageAlbumModel () const |
Returns 0 if the ItemModel is not an ItemAlbumModel. More... | |
ItemFilterModel * | imageFilterModel () const |
Returns any ItemFilterMode in chain. May not be sourceModel() More... | |
ItemModel * | imageModel () const |
ImageSortFilterModel * | imageSortFilterModel () const |
ItemThumbnailModel * | imageThumbnailModel () const |
Returns 0 if the ItemModel is not an ItemThumbnailModel. More... | |
QModelIndex | indexAt (const QPoint &point) const override |
QModelIndex | indexForInfo (const ItemInfo &info) const |
void | installOverlays () |
void | invertSelection () |
bool | isOnLeftPanel (const ItemInfo &info) const |
bool | isOnRightPanel (const ItemInfo &info) const |
bool | isToolTipEnabled () const |
QModelIndex | lastIndex () const |
LightTableThumbBar (QWidget *const parent) | |
QModelIndex | nextIndex (const QModelIndex &index) const |
ItemInfo | nextInfo (const ItemInfo &info) |
ItemInfo | nextInOrder (const ItemInfo &startingPoint, int nth) |
int | numberOfSelectedIndexes () const |
QModelIndex | previousIndex (const QModelIndex &index) const |
ItemInfo | previousInfo (const ItemInfo &info) |
void | removeItemByInfo (const ItemInfo &info) |
void | removeOverlay (ItemDelegateOverlay *overlay) |
void | scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible) override |
void | scrollToRelaxed (const QModelIndex &index, ScrollHint hint=EnsureVisible) |
ItemInfoList | selectedItemInfos () const |
ItemInfoList | selectedItemInfosCurrentFirst () const |
void | setCategoryDrawer (DCategoryDrawer *categoryDrawer) |
void | setDrawDraggedItems (bool drawDraggedItems) |
void | setFlow (QListView::Flow newFlow) |
void | setGridSize (const QSize &size) |
void | setItems (const ItemInfoList &list) |
void | setModel (QAbstractItemModel *model) override |
void | setModels (ItemModel *model, ImageSortFilterModel *filterModel) |
void | setModelsFiltered (ItemModel *model, ImageSortFilterModel *filterModel) |
void | setNavigateByPair (bool b) |
void | setOnLeftPanel (const ItemInfo &info) |
void | setOnRightPanel (const ItemInfo &info) |
void | setScrollBarPolicy (Qt::ScrollBarPolicy policy) |
Sets the policy always for the one scroll bar which is relevant, depending on orientation. More... | |
void | setScrollCurrentToCenter (bool enabled) |
void | setScrollStepGranularity (int factor) |
void | setSelectedIndexes (const QList< QModelIndex > &indexes) |
void | setSpacing (int spacing) |
virtual void | setThumbnailSize (const ThumbnailSize &size) |
void | setToolTipEnabled (bool enabled) |
void | setUsePointingHandCursor (bool useCursor) |
ThumbnailSize | thumbnailSize () const |
void | toFirstIndex () |
void | toggleTag (int tagID) |
void | toIndex (const QModelIndex &index) |
void | toIndex (const QUrl &url) |
void | toLastIndex () |
void | toNextIndex () |
void | toPreviousIndex () |
QRect | visualRect (const QModelIndex &index) const override |
~LightTableThumbBar () override | |
Protected Slots | |
void | layoutAboutToBeChanged () |
void | layoutWasChanged () |
virtual void | rowsInsertedArtifficial (const QModelIndex &parent, int start, int end) |
void | slotActivated (const QModelIndex &index) |
void | slotClicked (const QModelIndex &index) |
void | slotCurrentUrlTimer () |
void | slotEntered (const QModelIndex &index) |
void | slotItemInfosAdded () |
virtual void | slotLayoutChanged () |
virtual void | slotThemeChanged () |
Protected Member Functions | |
virtual void | activated (const ItemInfo &info, Qt::KeyboardModifiers modifiers) |
Reimplement these in a subclass. More... | |
virtual QAbstractItemView * | asView ()=0 |
void | contextMenuEvent (QContextMenuEvent *event) override |
reimplemented from parent class More... | |
void | currentChanged (const QModelIndex &index, const QModelIndex &previous) override |
bool | decodeIsCutSelection (const QMimeData *mimeData) |
AbstractItemDragDropHandler * | dragDropHandler () const override |
void | dragEnterEvent (QDragEnterEvent *event) |
void | dragLeaveEvent (QDragLeaveEvent *event) override |
void | dragMoveEvent (QDragMoveEvent *e) |
void | dragMoveEvent (QDragMoveEvent *event) override |
void | dropEvent (QDropEvent *e) |
void | dropEvent (QDropEvent *event) override |
void | encodeIsCutSelection (QMimeData *mime, bool isCutSelection) |
bool | event (QEvent *) override |
QSortFilterProxyModel * | filterModel () const override |
ItemInfo | imageInfo (const QModelIndex &index) const |
ItemInfoList | imageInfos (const QList< QModelIndex > &indexes) const |
void | indexActivated (const QModelIndex &index, Qt::KeyboardModifiers modifiers) override |
QModelIndex | indexForCategoryAt (const QPoint &pos) const |
void | installDefaultModels () |
install default ItemAlbumModel and filter model, ready for use More... | |
void | keyPressEvent (QKeyEvent *event) override |
void | leaveEvent (QEvent *event) override |
QModelIndex | mapIndexForDragDrop (const QModelIndex &index) const override |
void | mouseMoveEvent (QMouseEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
QModelIndex | moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override |
QModelIndex | nextIndexHint (const QModelIndex &indexToAnchor, const QItemSelectionRange &removed) const override |
QPixmap | pixmapForDrag (const QList< QModelIndex > &indexes) const override |
void | reset () override |
void | resizeEvent (QResizeEvent *e) override |
void | rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) override |
void | rowsInserted (const QModelIndex &parent, int start, int end) override |
void | rowsRemoved (const QModelIndex &parent, int start, int end) override |
void | selectionChanged (const QItemSelection &, const QItemSelection &) override |
void | setItemDelegate (DItemDelegate *delegate) |
void | setItemDelegate (ItemDelegate *delegate) |
void | setSelection (const QRect &rect, QItemSelectionModel::SelectionFlags flags) override |
void | setToolTip (ItemViewToolTip *tip) |
virtual void | showContextMenu (QContextMenuEvent *event) |
void | showContextMenuOnIndex (QContextMenuEvent *event, const QModelIndex &index) override |
Reimplement these in a subclass. More... | |
virtual bool | showToolTip (const QModelIndex &index, QStyleOptionViewItem &option, QHelpEvent *e=nullptr) |
void | startDrag (Qt::DropActions supportedActions) |
void | startDrag (Qt::DropActions supportedActions) override |
void | updateDelegateSizes () |
void | updateGeometries () override |
void | userInteraction () |
bool | viewportEvent (QEvent *event) override |
void | wheelEvent (QWheelEvent *event) override |
|
explicit |
|
override |
|
protectedvirtualinherited |
Reimplement these in a subclass.
Reimplemented in Digikam::DigikamItemView.
Referenced by Digikam::ItemCategorizedView::indexActivated().
|
inherited |
Add and remove an overlay. It will as well be removed automatically when destroyed. Unless you pass a different delegate, the current delegate will be used.
References Digikam::ItemCategorizedView::delegate(), Digikam::ItemDelegateOverlayContainer::installOverlay(), Digikam::ItemDelegateOverlay::setActive(), and Digikam::ItemDelegateOverlay::setView().
Referenced by Digikam::DigikamItemView::addAssignNameOverlay(), Digikam::DigikamItemView::addRejectionOverlay(), Digikam::ItemCategorizedView::addSelectionOverlay(), Digikam::DigikamItemView::DigikamItemView(), and Digikam::ItemThumbnailBar::installOverlays().
|
inherited |
References Digikam::ItemCategorizedView::addOverlay(), and Digikam::ItemCategorizedView::delegate().
Referenced by Digikam::DigikamItemView::DigikamItemView().
|
inherited |
If the model is categorized by an album, returns the album of the category that contains the position. If this is not applicable, return the current album. May return 0.
References Digikam::ItemFilterModel::CategoryAlbumIdRole, Digikam::ItemSortSettings::CategoryByAlbum, Digikam::ItemCategorizedView::currentAlbum(), Digikam::AlbumManager::findPAlbum(), Digikam::ItemCategorizedView::imageFilterModel(), Digikam::ItemViewCategorized::indexForCategoryAt(), and Digikam::AlbumManager::instance().
Referenced by Digikam::ItemDragDropHandler::dropEvent().
|
inherited |
Referenced by Digikam::DigikamItemView::activated(), Digikam::DigikamItemView::allItemInfos(), Digikam::DigikamItemView::allNeedGroupResolving(), Digikam::ItemCategorizedView::allUrls(), Digikam::DigikamItemView::dragDropSort(), Digikam::ItemDragDropHandler::dropEvent(), and Digikam::DigikamItemView::openFile().
|
inherited |
References Digikam::ItemCategorizedView::allItemInfos(), and Digikam::ItemInfoList::toImageUrlList().
Referenced by Digikam::ImageWindow::infoIface(), and Digikam::LightTableWindow::infoIface().
|
slotinherited |
|
protectedpure virtualinherited |
This one is implemented by DECLARE_VIEW_DRAG_DROP_METHODS.
Referenced by Digikam::DragDropViewImplementation::copy(), Digikam::DragDropViewImplementation::cut(), Digikam::DragDropViewImplementation::dragMoveEvent(), Digikam::DragDropViewImplementation::dropEvent(), Digikam::DragDropViewImplementation::paste(), and Digikam::DragDropViewImplementation::startDrag().
|
inherited |
References Digikam::ItemViewCategorized::toIndex(), Digikam::ItemViewCategorized::toNextIndex(), and Digikam::ItemViewCategorized::toPreviousIndex().
Referenced by Digikam::DigikamItemView::deleteSelected(), Digikam::ImportIconView::deleteSelectedDirectly(), and Digikam::DigikamItemView::deleteSelectedDirectly().
|
virtualinherited |
This method will return all indexes whose visual rect intersects rect
.
rect | rectangle to test intersection with |
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::intersectionSet(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), and Digikam::DCategorizedView::Private::proxyModel.
|
virtualinherited |
This method will return the first index of the category in the region of which point
is found.
References Digikam::DCategorizedView::Private::categories, Digikam::DCategorizedView::Private::categoriesIndexes, Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::categoryVisualRect(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), Digikam::DCategorizedView::Private::proxyModel, and Digikam::DCategorizedSortFilterProxyModel::sortColumn().
Referenced by Digikam::ItemViewCategorized::indexForCategoryAt().
|
inherited |
References Digikam::DCategorizedView::Private::categoryDrawer.
Referenced by Digikam::DCategorizedView::Private::drawNewCategory(), Digikam::DCategorizedView::setCategoryDrawer(), Digikam::DCategorizedView::Private::visualCategoryRectInViewport(), and Digikam::DCategorizedView::Private::visualRectInViewport().
|
virtualinherited |
This method returns the range of indexes contained in the category in which index
is sorted.
References Digikam::DCategorizedView::Private::categoriesIndexes, Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::elementsInfo, Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), Digikam::DCategorizedView::Private::proxyModel, and Digikam::DCategorizedSortFilterProxyModel::sortColumn().
|
virtualinherited |
This method will return the visual rect of the header of the category in which index
is sorted.
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::categoryVisualRect(), Digikam::DCategorizedView::Private::elementsInfo, Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), and Digikam::DCategorizedView::Private::proxyModel.
void Digikam::LightTableThumbBar::clear | ( | ) |
References signalContentChanged().
|
signalinherited |
For overlays: Like the respective parent class signals, but with additional info. Do not change the mouse events.
Referenced by Digikam::ItemViewCategorized::ItemViewCategorized(), and Digikam::ItemViewCategorized::slotClicked().
|
overrideprotectedinherited |
reimplemented from parent class
References Digikam::DCategorizedView::indexAt(), Digikam::ItemViewCategorized::showContextMenu(), Digikam::ItemViewCategorized::showContextMenuOnIndex(), and Digikam::ItemViewCategorized::userInteraction().
|
inlineoverrideslotinherited |
References Digikam::DragDropViewImplementation::copy().
Referenced by Digikam::ItemViewCategorized::keyPressEvent().
int Digikam::LightTableThumbBar::countItems | ( | ) | const |
Referenced by Digikam::LightTableWindow::isEmpty().
|
inherited |
|
signalinherited |
Referenced by Digikam::ItemCategorizedView::currentChanged().
|
overrideprotectedinherited |
|
inherited |
|
inherited |
References Digikam::ItemCategorizedView::currentInfo(), and Digikam::ItemInfo::fileUrl().
|
inlineoverrideslotinherited |
References Digikam::DragDropViewImplementation::cut().
|
protectedinherited |
|
inherited |
Referenced by Digikam::DigikamItemView::addAssignNameOverlay(), Digikam::ItemCategorizedView::addOverlay(), Digikam::DigikamItemView::addRejectionOverlay(), Digikam::ItemCategorizedView::addSelectionOverlay(), Digikam::DigikamItemView::fitToWidthIcons(), Digikam::ItemCategorizedView::removeOverlay(), Digikam::ItemThumbnailBar::setFlow(), and Digikam::ItemCategorizedView::setItemDelegate().
|
signalinherited |
Emitted when items are deselected. There may be other selected infos left. This signal is not emitted when the model is reset; then only selectionCleared is emitted.
Referenced by Digikam::ItemCategorizedView::selectionChanged().
|
overrideprotectedvirtualinherited |
You need to implement these three methods Returns the drag drop handler.
Implements Digikam::DragDropViewImplementation.
Referenced by Digikam::DigikamItemView::DigikamItemView().
|
protectedinherited |
Implements the relevant QAbstractItemView methods for drag and drop.
References Digikam::AbstractItemDragDropHandler::acceptsMimeData(), and Digikam::DragDropViewImplementation::dragDropHandler().
|
overrideprotectedinherited |
|
protectedinherited |
|
overrideprotectedinherited |
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::dragLeftViewport, Digikam::DCategorizedView::Private::drawDraggedItems(), Digikam::DCategorizedView::Private::hovered, Digikam::DCategorizedView::indexAt(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), Digikam::DCategorizedView::Private::mousePosition, and Digikam::DCategorizedView::Private::proxyModel.
|
protectedinherited |
|
overrideprotectedinherited |
|
protectedinherited |
|
signalinherited |
|
overrideprotectedinherited |
References Digikam::ItemThumbnailBar::setFlow().
|
overrideprotectedvirtualinherited |
ItemInfo Digikam::LightTableThumbBar::findItemByIndex | ( | const QModelIndex & | index | ) | const |
Referenced by Digikam::LightTableWindow::setLeftRightItems().
QModelIndex Digikam::LightTableThumbBar::findItemByInfo | ( | const ItemInfo & | info | ) | const |
References Digikam::ItemInfo::isNull().
Referenced by Digikam::LightTableWindow::loadItemInfos(), and Digikam::LightTableWindow::setLeftRightItems().
|
inherited |
References Digikam::ItemCategorizedView::imageFilterModel().
|
inherited |
Referenced by Digikam::ItemIconView::ItemIconView().
|
slotinherited |
Referenced by Digikam::ItemViewCategorized::leaveEvent(), Digikam::ItemViewCategorized::mouseMoveEvent(), Digikam::ImportCategorizedView::setItemDelegate(), Digikam::ItemCategorizedView::setItemDelegate(), ShowFoto::ShowfotoCategorizedView::setItemDelegate(), and Digikam::ItemViewCategorized::showIndexNotification().
|
slotinherited |
Does something to gain attention for info, but not changing current selection.
References Digikam::ItemInfo::isNull(), and Digikam::ItemViewCategorized::scrollTo().
|
signalinherited |
Emitted when the given image is activated. Info is never null.
Referenced by Digikam::ItemCategorizedView::indexActivated().
|
inherited |
Referenced by Digikam::ItemIconView::connectIconViewFilter(), and Digikam::ItemIconView::ItemIconView().
|
inherited |
Returns 0 if the ItemModel is not an ItemAlbumModel.
Referenced by Digikam::DigikamItemView::confirmFaces(), Digikam::ItemCategorizedView::currentAlbum(), Digikam::DigikamItemView::DigikamItemView(), Digikam::DigikamItemView::groupIndicatorClicked(), Digikam::DigikamItemView::ignoreFaces(), Digikam::ItemCategorizedView::openAlbum(), Digikam::DigikamItemView::rejectFaces(), Digikam::DigikamItemView::removeFaces(), Digikam::DigikamItemView::setFaceMode(), Digikam::ItemIconView::setRecurseAlbums(), Digikam::ItemIconView::setRecurseTags(), and Digikam::DigikamItemView::unknownFaces().
|
inherited |
Returns any ItemFilterMode in chain. May not be sourceModel()
Referenced by Digikam::ItemCategorizedView::albumAt(), Digikam::ItemIconView::applySettings(), Digikam::DigikamItemView::DigikamItemView(), Digikam::DigikamItemView::dragDropSort(), Digikam::ItemDragDropHandler::dropEvent(), Digikam::ItemThumbnailBar::firstIndex(), Digikam::DigikamItemView::groupIndicatorClicked(), Digikam::DigikamItemView::hasHiddenGroupedImages(), Digikam::ItemIconView::ItemIconView(), Digikam::ItemThumbnailBar::lastIndex(), Digikam::ItemThumbnailBar::nextIndex(), Digikam::ItemThumbnailBar::previousIndex(), Digikam::DigikamItemView::rename(), Digikam::ItemIconView::setAllGroupsOpen(), Digikam::DigikamItemView::setFaceMode(), Digikam::DigikamItemView::showContextMenuOnInfo(), Digikam::DigikamItemView::showGroupContextMenu(), Digikam::ItemIconView::slotImageSeparationSortOrder(), Digikam::ItemIconView::slotSeparateImages(), Digikam::DigikamItemView::slotSetupChanged(), Digikam::ItemIconView::slotSortImages(), and Digikam::ItemIconView::slotSortImagesOrder().
|
protectedinherited |
Referenced by Digikam::ItemCategorizedView::currentChanged(), Digikam::ItemCategorizedView::currentInfo(), Digikam::ItemCategorizedView::indexActivated(), Digikam::ItemCategorizedView::nextIndexHint(), Digikam::ItemCategorizedView::nextInOrder(), and Digikam::ItemCategorizedView::showContextMenuOnIndex().
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
Returns 0 if the ItemModel is not an ItemThumbnailModel.
Referenced by Digikam::DigikamItemView::setThumbnailSize().
|
overrideprotectedvirtualinherited |
|
overrideinherited |
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::intersectionSet(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), and Digikam::DCategorizedView::Private::proxyModel.
Referenced by Digikam::ItemViewCategorized::contextMenuEvent(), Digikam::DCategorizedView::dragMoveEvent(), Digikam::ItemViewCategorized::mouseMoveEvent(), Digikam::ItemViewCategorized::mousePressEvent(), and Digikam::ItemViewCategorized::viewportEvent().
|
protectedinherited |
Returns an index that is representative for the category at position pos
References Digikam::DCategorizedView::categoryAt().
Referenced by Digikam::ItemCategorizedView::albumAt().
|
inherited |
|
protectedinherited |
install default ItemAlbumModel and filter model, ready for use
References Digikam::ItemSortSettings::CategoryByAlbum, Digikam::ItemCategorizedView::filterModel(), Digikam::ItemCategorizedView::setModels(), Digikam::ItemModel::setWatchFlags(), and Digikam::ItemSortSettings::SortByFileName.
Referenced by Digikam::DigikamItemView::DigikamItemView().
|
inherited |
|
inherited |
Referenced by Digikam::ItemIconView::slotSelectInvert().
bool Digikam::LightTableThumbBar::isOnLeftPanel | ( | const ItemInfo & | info | ) | const |
References Digikam::ItemModel::LTLeftPanelRole.
bool Digikam::LightTableThumbBar::isOnRightPanel | ( | const ItemInfo & | info | ) | const |
References Digikam::ItemModel::LTRightPanelRole.
|
inherited |
|
signalinherited |
Remember you may want to check if the event is accepted or ignored. This signal is emitted after being handled by this widget. You can accept it if ignored.
Referenced by Digikam::ItemViewCategorized::keyPressEvent().
|
overrideprotectedinherited |
|
inherited |
References Digikam::ItemCategorizedView::imageFilterModel().
|
protectedslotinherited |
References Digikam::ItemViewCategorized::nextIndexHint().
Referenced by Digikam::ImportCategorizedView::setModels(), Digikam::ItemCategorizedView::setModels(), ShowFoto::ShowfotoCategorizedView::setModels(), Digikam::ItemCategorizedView::setThumbnailSize(), ShowFoto::ShowfotoCategorizedView::setThumbnailSize(), and Digikam::ImportCategorizedView::setThumbnailSize().
|
protectedslotinherited |
References Digikam::ItemViewCategorized::scrollToRelaxed().
Referenced by Digikam::ImportCategorizedView::setModels(), Digikam::ItemCategorizedView::setModels(), ShowFoto::ShowfotoCategorizedView::setModels(), Digikam::ItemCategorizedView::setThumbnailSize(), ShowFoto::ShowfotoCategorizedView::setThumbnailSize(), and Digikam::ImportCategorizedView::setThumbnailSize().
|
overrideprotectedinherited |
|
overrideprotectedvirtualinherited |
Note: pure virtual dragDropHandler() still open from DragDropViewImplementation
cut(), copy(), paste(), dragEnterEvent(), dragMoveEvent(), dropEvent(), startDrag() are implemented by DragDropViewImplementation
Implements Digikam::DragDropViewImplementation.
References Digikam::ItemViewCategorized::filterModel().
|
signalinherited |
Emitted when a new model is set.
Referenced by Digikam::ItemCategorizedView::setModels().
|
overrideprotectedinherited |
|
overrideprotectedinherited |
|
overrideprotectedinherited |
|
overrideprotectedinherited |
|
inherited |
References Digikam::ItemCategorizedView::imageFilterModel().
Referenced by Digikam::LightTableWindow::setLeftRightItems().
|
overrideprotectedvirtualinherited |
Assuming the given indexes would be removed (hypothetically!), return the index to be selected instead, starting from anchor. The default implementation returns the next remaining sibling.
Reimplemented from Digikam::ItemViewCategorized.
References Digikam::ItemCategorizedView::imageInfo(), and Digikam::ItemViewCategorized::nextIndexHint().
References Digikam::ItemCategorizedView::nextInOrder().
|
inherited |
Returns the n-th info after the given one. Specifically, return the previous info for nth = -1 and the next info for n = 1. Returns a null info if either startingPoint or the nth info are not contained in the model.
References Digikam::ItemCategorizedView::imageInfo().
Referenced by Digikam::ItemCategorizedView::nextInfo(), Digikam::ItemCategorizedView::previousInfo(), and Digikam::DigikamItemView::rename().
|
inherited |
References Digikam::ItemCategorizedView::imageAlbumModel(), and Digikam::ItemAlbumModel::openAlbum().
Referenced by Digikam::ItemIconView::slotAlbumSelected().
|
inlineoverrideslotinherited |
References Digikam::DragDropViewImplementation::paste().
Referenced by Digikam::ItemViewCategorized::keyPressEvent(), and Digikam::ItemIconView::slotImagePaste().
|
overrideprotectedvirtualinherited |
Creates a pixmap for dragging the given indexes.
Implements Digikam::DragDropViewImplementation.
|
inherited |
References Digikam::ItemCategorizedView::imageFilterModel().
References Digikam::ItemCategorizedView::nextInOrder().
void Digikam::LightTableThumbBar::removeItemByInfo | ( | const ItemInfo & | info | ) |
References Digikam::ItemInfo::isNull().
|
inherited |
|
overrideprotectedinherited |
|
overrideprotectedinherited |
|
overrideprotectedinherited |
References Digikam::ItemViewCategorized::nextIndexHint().
|
overrideprotectedinherited |
References Digikam::DCategorizedView::rowsInserted().
|
protectedvirtualslotinherited |
References Digikam::DCategorizedView::Private::biggestItemSize, Digikam::DCategorizedView::Private::categories, Digikam::DCategorizedView::Private::categoriesIndexes, Digikam::DCategorizedView::Private::categoriesPosition, Digikam::DCategorizedView::Private::ElementInfo::category, Digikam::DCategorizedSortFilterProxyModel::CategoryDisplayRole, Digikam::DCategorizedView::Private::categoryUpperBound(), Digikam::DCategorizedView::Private::elementsInfo, Digikam::DCategorizedView::Private::elementsPosition, Digikam::DCategorizedView::Private::forcedSelectionPosition, Digikam::DCategorizedView::Private::hovered, Digikam::DCategorizedView::Private::intersectedIndexes, Digikam::DCategorizedView::Private::mouseButtonPressed, Digikam::DCategorizedView::Private::proxyModel, Digikam::DCategorizedView::Private::ElementInfo::relativeOffsetToCategory, Digikam::DCategorizedView::Private::rightMouseButtonPressed, Digikam::DCategorizedSortFilterProxyModel::sortColumn(), and Digikam::DCategorizedView::Private::updateScrollbars().
Referenced by Digikam::DCategorizedView::rowsInserted(), Digikam::DCategorizedView::rowsRemoved(), and Digikam::DCategorizedView::slotLayoutChanged().
|
overrideprotectedvirtualinherited |
Reimplemented from Digikam::DCategorizedView.
References Digikam::DCategorizedView::rowsRemoved(), and Digikam::ItemViewCategorized::scrollTo().
Referenced by LightTableThumbBar().
|
overrideinherited |
Referenced by Digikam::ImportCategorizedView::hintAt(), Digikam::ItemCategorizedView::hintAt(), ShowFoto::ShowfotoCategorizedView::hintAt(), Digikam::ItemViewCategorized::mouseReleaseEvent(), Digikam::ItemViewCategorized::rowsRemoved(), Digikam::ItemViewCategorized::scrollToRelaxed(), Digikam::ItemThumbnailBar::slotDockLocationChanged(), ShowFoto::ShowfotoThumbnailBar::slotDockLocationChanged(), Digikam::ImportThumbnailBar::slotDockLocationChanged(), slotDockLocationChanged(), and Digikam::ItemViewCategorized::toIndex().
|
inherited |
Like scrollTo, but only scrolls if the index is not visible, regardless of hint.
References Digikam::ItemViewCategorized::scrollTo(), and Digikam::DCategorizedView::visualRect().
Referenced by Digikam::ItemViewCategorized::layoutWasChanged(), and Digikam::ItemViewCategorized::resizeEvent().
|
signalinherited |
Emitted when new items are selected. The parameter includes only the newly selected infos, there may be other already selected infos.
Referenced by Digikam::ItemCategorizedView::selectionChanged().
|
inherited |
References Digikam::ItemCategorizedView::imageInfos().
Referenced by Digikam::DigikamItemView::deleteSelected(), Digikam::DigikamItemView::deleteSelectedDirectly(), Digikam::DigikamItemView::rename(), Digikam::DigikamItemView::selectedItemInfos(), and Digikam::DigikamItemView::selectedNeedGroupResolving().
|
inherited |
|
signalinherited |
Emitted when any selection change occurs. Any of the signals below will be emitted before.
Referenced by Digikam::ItemViewCategorized::reset(), Digikam::ItemCategorizedView::selectionChanged(), Digikam::ItemViewCategorized::selectionChanged(), and Digikam::ImportCategorizedView::selectionChanged().
|
overrideprotectedinherited |
|
signalinherited |
Emitted when the selection is completely cleared.
Referenced by Digikam::ItemViewCategorized::reset(), and Digikam::ItemViewCategorized::selectionChanged().
|
inherited |
References Digikam::DCategorizedView::Private::categories, Digikam::DCategorizedView::Private::categoriesIndexes, Digikam::DCategorizedView::Private::categoriesPosition, Digikam::DCategorizedView::categoryDrawer(), Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::elementsInfo, Digikam::DCategorizedView::Private::elementsPosition, Digikam::DCategorizedView::Private::forcedSelectionPosition, Digikam::DCategorizedView::Private::hovered, Digikam::DCategorizedView::Private::intersectedIndexes, Digikam::DCategorizedView::Private::lastSelection, Digikam::DCategorizedView::Private::mouseButtonPressed, Digikam::DCategorizedView::Private::proxyModel, Digikam::DCategorizedView::Private::rightMouseButtonPressed, Digikam::DCategorizedView::slotLayoutChanged(), and Digikam::DCategorizedView::updateGeometries().
Referenced by Digikam::ImportCategorizedView::setItemDelegate(), Digikam::ItemCategorizedView::setItemDelegate(), and Digikam::ActionCategorizedView::setupIconMode().
|
slotinherited |
Set as current item the item identified by the imageinfo.
Referenced by Digikam::LightTableWindow::setLeftRightItems().
|
slotinherited |
Set as current item the item identified by its file url.
Referenced by Digikam::DigikamItemView::rename(), and Digikam::ItemCategorizedView::slotCurrentUrlTimer().
|
slotinherited |
Set as current item when it becomes available, the item identified by its file url.
Referenced by Digikam::DigikamItemView::DigikamItemView(), and Digikam::ItemIconView::slotSetCurrentUrlWhenAvailable().
|
slotinherited |
Scroll the view to the given item when it becomes available.
Referenced by Digikam::LightTableWindow::loadItemInfos(), and Digikam::ItemIconView::slotSetCurrentWhenAvailable().
|
inherited |
Switch on drawing of dragged items. Default: on. While dragging over the view, dragged items will be drawn transparently following the mouse cursor.
drawDraggedItems | if true , dragged items will be drawn |
References Digikam::DCategorizedView::Private::drawItemsWhileDragging.
Referenced by Digikam::ItemViewCategorized::ItemViewCategorized().
|
inherited |
References Digikam::ItemCategorizedView::delegate(), Digikam::ItemThumbnailDelegate::maximumSize(), Digikam::ItemThumbnailDelegate::minimumSize(), Digikam::ItemThumbnailDelegate::setFlow(), and Digikam::ItemThumbnailBar::setScrollBarPolicy().
Referenced by Digikam::ItemThumbnailBar::event(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), Digikam::ItemThumbnailBar::slotDockLocationChanged(), and slotDockLocationChanged().
|
inherited |
References Digikam::DCategorizedView::slotLayoutChanged().
Referenced by Digikam::ActionCategorizedView::adjustGridSize().
|
protectedinherited |
References Digikam::ItemViewCategorized::delegate().
Referenced by Digikam::ImportCategorizedView::setItemDelegate(), and Digikam::ItemCategorizedView::setItemDelegate().
|
protectedinherited |
References Digikam::ItemCategorizedView::delegate(), Digikam::ItemViewCategorized::hideIndexNotification(), Digikam::DCategorizedView::setCategoryDrawer(), Digikam::ItemViewCategorized::setItemDelegate(), Digikam::ItemViewCategorized::showIndexNotification(), Digikam::ItemViewDelegate::spacing(), Digikam::ItemCategorizedView::thumbnailSize(), and Digikam::ItemViewCategorized::updateDelegateSizes().
Referenced by Digikam::DigikamItemView::DigikamItemView(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), and Digikam::DigikamItemView::setFaceMode().
void Digikam::LightTableThumbBar::setItems | ( | const ItemInfoList & | list | ) |
Referenced by Digikam::LightTableWindow::loadItemInfos().
|
overrideinherited |
References Digikam::DCategorizedView::Private::categories, Digikam::DCategorizedView::Private::categoriesIndexes, Digikam::DCategorizedView::Private::categoriesPosition, Digikam::DCategorizedView::Private::elementsInfo, Digikam::DCategorizedView::Private::elementsPosition, Digikam::DCategorizedView::Private::forcedSelectionPosition, Digikam::DCategorizedView::Private::hovered, Digikam::DCategorizedView::Private::intersectedIndexes, Digikam::DCategorizedView::Private::lastSelection, Digikam::DCategorizedView::Private::mouseButtonPressed, Digikam::DCategorizedView::Private::proxyModel, Digikam::DCategorizedView::Private::rightMouseButtonPressed, Digikam::DCategorizedView::rowsRemoved(), and Digikam::DCategorizedView::slotLayoutChanged().
Referenced by Digikam::ImportCategorizedView::setModels(), Digikam::ItemCategorizedView::setModels(), ShowFoto::ShowfotoCategorizedView::setModels(), and Digikam::EditorWindow::setupSelectToolsAction().
|
inherited |
References Digikam::ItemCategorizedView::filterModel(), Digikam::ItemViewCategorized::layoutAboutToBeChanged(), Digikam::ItemViewCategorized::layoutWasChanged(), Digikam::ItemCategorizedView::modelChanged(), Digikam::DCategorizedView::setModel(), and Digikam::ItemCategorizedView::slotItemInfosAdded().
Referenced by Digikam::ItemCategorizedView::installDefaultModels(), LightTableThumbBar(), and Digikam::ItemThumbnailBar::setModelsFiltered().
|
inherited |
This installs a duplicate filter model, if the ItemModel may contain duplicates. Otherwise, just use setModels().
References Digikam::ItemCategorizedView::filterModel(), and Digikam::ItemCategorizedView::setModels().
void Digikam::LightTableThumbBar::setNavigateByPair | ( | bool | b | ) |
void Digikam::LightTableThumbBar::setOnLeftPanel | ( | const ItemInfo & | info | ) |
References Digikam::ItemModel::LTLeftPanelRole.
Referenced by Digikam::LightTableWindow::setLeftRightItems().
void Digikam::LightTableThumbBar::setOnRightPanel | ( | const ItemInfo & | info | ) |
References Digikam::ItemModel::LTRightPanelRole.
Referenced by Digikam::LightTableWindow::setLeftRightItems().
|
inherited |
Sets the policy always for the one scroll bar which is relevant, depending on orientation.
Referenced by Digikam::ItemThumbnailBar::ItemThumbnailBar(), and Digikam::ItemThumbnailBar::setFlow().
|
inherited |
Scroll automatically the current index to center of the view.
Referenced by Digikam::ImportThumbnailBar::ImportThumbnailBar(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), ShowFoto::ShowfotoThumbnailBar::ShowfotoThumbnailBar(), Digikam::ItemThumbnailBar::slotSetupChanged(), and Digikam::ImportThumbnailBar::slotSetupChanged().
|
inherited |
Determine a step size for scrolling: The larger this number, the smaller and more precise is the scrolling. Default is 10.
Referenced by Digikam::ImportThumbnailBar::ImportThumbnailBar(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), and ShowFoto::ShowfotoThumbnailBar::ShowfotoThumbnailBar().
|
inherited |
|
slotinherited |
Set selected items.
|
slotinherited |
Set selected items identified by their file urls.
|
overrideprotectedinherited |
References Digikam::DCategorizedView::Private::cachedRectIndex(), Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::contentsSize(), Digikam::DCategorizedView::Private::intersectionSet(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), Digikam::DCategorizedView::Private::proxyModel, and Digikam::DCategorizedView::Private::selectionForRect().
|
inherited |
Sets the spacing. Does not use setSpacing()/spacing() from QListView
Referenced by Digikam::DigikamItemView::DigikamItemView(), Digikam::ImportIconView::ImportIconView(), Digikam::ImportThumbnailBar::ImportThumbnailBar(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), and ShowFoto::ShowfotoThumbnailBar::ShowfotoThumbnailBar().
|
virtualinherited |
Reimplemented in Digikam::DigikamItemView.
References Digikam::ItemViewCategorized::layoutAboutToBeChanged(), and Digikam::ItemViewCategorized::layoutWasChanged().
Referenced by Digikam::DigikamItemView::setThumbnailSize(), and Digikam::ItemCategorizedView::setThumbnailSize().
|
slotinherited |
References Digikam::ItemCategorizedView::setThumbnailSize().
|
protectedinherited |
|
inherited |
Referenced by Digikam::DigikamItemView::DigikamItemView(), Digikam::ImportIconView::ImportIconView(), Digikam::ImportThumbnailBar::ImportThumbnailBar(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), Digikam::ItemThumbnailBar::slotSetupChanged(), Digikam::DigikamItemView::slotSetupChanged(), Digikam::ImportIconView::slotSetupChanged(), and Digikam::ImportThumbnailBar::slotSetupChanged().
|
inherited |
Set if the PointingHand Cursor should be shown over the activation area
Referenced by Digikam::ImportThumbnailBar::ImportThumbnailBar(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), and ShowFoto::ShowfotoThumbnailBar::ShowfotoThumbnailBar().
|
protectedvirtualinherited |
Reimplemented in Digikam::ImportIconView, and Digikam::DigikamItemView.
Referenced by Digikam::ItemViewCategorized::contextMenuEvent().
|
overrideprotectedvirtualinherited |
Reimplement these in a subclass.
Reimplemented from Digikam::ItemViewCategorized.
References Digikam::ItemCategorizedView::imageInfo(), and Digikam::ItemCategorizedView::showContextMenuOnInfo().
|
slotinherited |
|
protectedvirtualinherited |
Provides default behavior, can reimplement in a subclass. Returns true if a tooltip was shown. The help event is optional.
Referenced by Digikam::ItemViewCategorized::viewportEvent().
|
signal |
|
signal |
Referenced by clear(), and LightTableThumbBar().
Referenced by LightTableThumbBar().
|
signal |
|
signal |
|
signal |
|
signal |
|
protectedslotinherited |
References Digikam::ItemViewCategorized::indexActivated(), and Digikam::DCategorizedView::visualRect().
Referenced by Digikam::ItemViewCategorized::ItemViewCategorized().
|
slot |
References Digikam::ItemCategorizedView::currentInfo().
Referenced by Digikam::LightTableWindow::slotAssignColorLabel().
|
slot |
References Digikam::ItemCategorizedView::currentInfo().
Referenced by Digikam::LightTableWindow::slotAssignPickLabel().
|
slot |
References Digikam::ItemCategorizedView::currentInfo().
Referenced by Digikam::LightTableWindow::slotAssignRating().
|
protectedslotinherited |
References Digikam::ItemViewCategorized::clicked().
Referenced by Digikam::ItemViewCategorized::ItemViewCategorized().
|
slot |
References Digikam::ItemInfo::fromUrl().
|
protectedslotinherited |
References Digikam::ItemCategorizedView::setCurrentUrl().
Referenced by Digikam::ItemCategorizedView::slotItemInfosAdded().
|
slot |
|
protectedslotinherited |
References Digikam::ItemViewCategorized::entered().
Referenced by Digikam::ItemViewCategorized::ItemViewCategorized().
|
protectedslotinherited |
References Digikam::ItemCategorizedView::slotCurrentUrlTimer().
Referenced by Digikam::ItemCategorizedView::setModels().
|
protectedvirtualslotinherited |
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), Digikam::DCategorizedView::Private::proxyModel, and Digikam::DCategorizedView::rowsInsertedArtifficial().
Referenced by Digikam::DCategorizedView::setCategoryDrawer(), Digikam::DCategorizedView::setGridSize(), and Digikam::DCategorizedView::setModel().
|
slot |
References Digikam::ItemInfo::fromUrl().
|
slot |
References Digikam::ItemInfo::fromUrl().
|
protectedvirtualslotinherited |
Referenced by Digikam::ItemViewCategorized::ItemViewCategorized().
|
slot |
References Digikam::ItemInfo::fromUrl(), and toggleTag().
|
protectedinherited |
|
overrideprotectedinherited |
|
inherited |
Referenced by Digikam::ItemCategorizedView::setItemDelegate().
|
inherited |
Selects the index as current and scrolls to it
References Digikam::ItemViewCategorized::moveCursor().
void Digikam::LightTableThumbBar::toggleTag | ( | int | tagID | ) |
References Digikam::ItemCategorizedView::currentInfo().
Referenced by slotToggleTag(), and Digikam::LightTableWindow::toggleTag().
|
inherited |
|
inherited |
Selects the index as current and scrolls to it.
References Digikam::ItemViewCategorized::toIndex().
|
inherited |
References Digikam::ItemViewCategorized::moveCursor().
|
inherited |
References Digikam::ItemViewCategorized::moveCursor(), and Digikam::ItemViewCategorized::toIndex().
Referenced by Digikam::ItemViewCategorized::awayFromSelection().
|
inherited |
References Digikam::ItemViewCategorized::moveCursor(), and Digikam::ItemViewCategorized::toIndex().
Referenced by Digikam::ItemViewCategorized::awayFromSelection().
|
protectedinherited |
|
overrideprotectedinherited |
References Digikam::DCategorizedView::updateGeometries().
|
protectedinherited |
|
signalinherited |
While clicked() is emitted with a valid index, this corresponds to clicking on empty space
Referenced by Digikam::ItemViewCategorized::mousePressEvent().
|
overrideprotectedinherited |
|
overrideinherited |
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), Digikam::DCategorizedView::Private::proxyModel, and Digikam::DCategorizedView::Private::visualRect().
Referenced by Digikam::DCategorizedView::Private::drawDraggedItems(), Digikam::DCategorizedView::Private::intersectionSet(), Digikam::ItemViewCategorized::mouseMoveEvent(), Digikam::DCategorizedView::mouseReleaseEvent(), Digikam::DCategorizedView::paintEvent(), Digikam::ItemViewCategorized::scrollToRelaxed(), Digikam::ItemViewCategorized::showIndexNotification(), Digikam::ItemViewCategorized::slotActivated(), and Digikam::ItemViewCategorized::viewportEvent().
|
overrideprotectedinherited |
|
signalinherited |
Referenced by Digikam::ItemViewCategorized::wheelEvent().
|
signalinherited |
Referenced by Digikam::ItemViewCategorized::wheelEvent().