digiKam
|
Public Slots | |
void | copy () override |
void | cut () override |
void | hideIndexNotification () |
void | paste () override |
void | showIndexNotification (const QModelIndex &index, const QString &message) |
Signals | |
void | clicked (const QMouseEvent *e, const QModelIndex &index) |
void | entered (const QMouseEvent *e, const QModelIndex &index) |
void | keyPressed (QKeyEvent *e) |
void | selectionChanged () |
void | selectionCleared () |
void | viewportClicked (const QMouseEvent *e) |
void | zoomInStep () |
void | zoomOutStep () |
Public Member Functions | |
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 |
DItemDelegate * | delegate () const |
virtual QSortFilterProxyModel * | filterModel () const =0 |
QModelIndex | indexAt (const QPoint &point) const override |
void | invertSelection () |
bool | isToolTipEnabled () const |
ItemViewCategorized (QWidget *const parent=nullptr) | |
int | numberOfSelectedIndexes () const |
void | scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible) override |
void | scrollToRelaxed (const QModelIndex &index, ScrollHint hint=EnsureVisible) |
void | setCategoryDrawer (DCategoryDrawer *categoryDrawer) |
void | setDrawDraggedItems (bool drawDraggedItems) |
void | setGridSize (const QSize &size) |
void | setModel (QAbstractItemModel *model) override |
void | setScrollCurrentToCenter (bool enabled) |
void | setScrollStepGranularity (int factor) |
void | setSelectedIndexes (const QList< QModelIndex > &indexes) |
void | setSpacing (int spacing) |
void | setToolTipEnabled (bool enabled) |
void | setUsePointingHandCursor (bool useCursor) |
void | toFirstIndex () |
void | toIndex (const QModelIndex &index) |
void | toLastIndex () |
void | toNextIndex () |
void | toPreviousIndex () |
QRect | visualRect (const QModelIndex &index) const override |
~ItemViewCategorized () override | |
Protected Slots | |
void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) override |
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 | slotEntered (const QModelIndex &index) |
virtual void | slotLayoutChanged () |
virtual void | slotSetupChanged () |
virtual void | slotThemeChanged () |
void | updateGeometries () override |
Protected Member Functions | |
virtual QAbstractItemView * | asView ()=0 |
void | contextMenuEvent (QContextMenuEvent *event) override |
reimplemented from parent class More... | |
bool | decodeIsCutSelection (const QMimeData *mimeData) |
virtual AbstractItemDragDropHandler * | dragDropHandler () const =0 |
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) |
virtual void | indexActivated (const QModelIndex &index, Qt::KeyboardModifiers modifiers) |
QModelIndex | indexForCategoryAt (const QPoint &pos) const |
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 |
virtual QModelIndex | nextIndexHint (const QModelIndex &indexToAnchor, const QItemSelectionRange &removed) const |
void | paintEvent (QPaintEvent *event) 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 | setSelection (const QRect &rect, QItemSelectionModel::SelectionFlags flags) override |
void | setToolTip (ItemViewToolTip *tip) |
virtual void | showContextMenu (QContextMenuEvent *event) |
virtual void | showContextMenuOnIndex (QContextMenuEvent *event, const QModelIndex &index) |
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 | userInteraction () |
bool | viewportEvent (QEvent *event) override |
void | wheelEvent (QWheelEvent *event) override |
|
explicit |
|
override |
|
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().
void Digikam::ItemViewCategorized::awayFromSelection | ( | ) |
|
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 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.
|
signal |
For overlays: Like the respective parent class signals, but with additional info. Do not change the mouse events.
Referenced by ItemViewCategorized(), and slotClicked().
|
overrideprotected |
reimplemented from parent class
References Digikam::DCategorizedView::indexAt(), showContextMenu(), showContextMenuOnIndex(), and userInteraction().
|
inlineoverrideslot |
References Digikam::DragDropViewImplementation::copy().
Referenced by keyPressEvent().
|
overrideprotectedslotinherited |
References Digikam::DCategorizedView::Private::biggestItemSize, Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::elementsInfo, Digikam::DCategorizedView::Private::forcedSelectionPosition, Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), and Digikam::DCategorizedView::Private::proxyModel.
Referenced by Digikam::ItemCategorizedView::currentChanged(), and Digikam::ImportCategorizedView::currentChanged().
|
inlineoverrideslot |
References Digikam::DragDropViewImplementation::cut().
|
protected |
DItemDelegate * Digikam::ItemViewCategorized::delegate | ( | ) | const |
Referenced by setItemDelegate().
|
protectedpure virtualinherited |
You need to implement these three methods Returns the drag drop handler.
Implemented in Digikam::ImportCategorizedView, ShowFoto::ShowfotoCategorizedView, Digikam::VersionsTreeView, Digikam::TableViewTreeView, and Digikam::ItemCategorizedView.
Referenced by Digikam::DragDropViewImplementation::dragEnterEvent(), Digikam::DragDropViewImplementation::dragMoveEvent(), Digikam::DragDropViewImplementation::dropEvent(), and Digikam::DragDropViewImplementation::paste().
|
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 |
|
protected |
|
signal |
Referenced by ItemViewCategorized(), and slotEntered().
|
pure virtual |
Implemented in Digikam::ImportCategorizedView, ShowFoto::ShowfotoCategorizedView, and Digikam::ItemCategorizedView.
Referenced by mapIndexForDragDrop().
|
slot |
|
protectedvirtual |
Reimplemented in Digikam::ImportCategorizedView, ShowFoto::ShowfotoCategorizedView, and Digikam::ItemCategorizedView.
Referenced by slotActivated().
|
overrideinherited |
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::intersectionSet(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), and Digikam::DCategorizedView::Private::proxyModel.
Referenced by contextMenuEvent(), Digikam::DCategorizedView::dragMoveEvent(), mouseMoveEvent(), mousePressEvent(), and viewportEvent().
|
protected |
Returns an index that is representative for the category at position pos
References Digikam::DCategorizedView::categoryAt().
Referenced by Digikam::ItemCategorizedView::albumAt().
void Digikam::ItemViewCategorized::invertSelection | ( | ) |
Referenced by Digikam::ItemIconView::slotSelectInvert().
bool Digikam::ItemViewCategorized::isToolTipEnabled | ( | ) | const |
|
signal |
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 keyPressEvent().
|
overrideprotected |
References copy(), keyPressed(), paste(), and userInteraction().
|
protectedslot |
References nextIndexHint().
Referenced by Digikam::ImportCategorizedView::setModels(), Digikam::ItemCategorizedView::setModels(), ShowFoto::ShowfotoCategorizedView::setModels(), Digikam::ItemCategorizedView::setThumbnailSize(), ShowFoto::ShowfotoCategorizedView::setThumbnailSize(), and Digikam::ImportCategorizedView::setThumbnailSize().
|
protectedslot |
References scrollToRelaxed().
Referenced by Digikam::ImportCategorizedView::setModels(), Digikam::ItemCategorizedView::setModels(), ShowFoto::ShowfotoCategorizedView::setModels(), Digikam::ItemCategorizedView::setThumbnailSize(), ShowFoto::ShowfotoCategorizedView::setThumbnailSize(), and Digikam::ImportCategorizedView::setThumbnailSize().
|
overrideprotected |
References hideIndexNotification(), and Digikam::DCategorizedView::leaveEvent().
|
overrideprotectedvirtual |
Note: pure virtual dragDropHandler() still open from DragDropViewImplementation
cut(), copy(), paste(), dragEnterEvent(), dragMoveEvent(), dropEvent(), startDrag() are implemented by DragDropViewImplementation
Implements Digikam::DragDropViewImplementation.
References filterModel().
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
References Digikam::DCategorizedView::mouseReleaseEvent(), scrollTo(), and userInteraction().
|
overrideprotected |
References Digikam::DCategorizedView::moveCursor().
Referenced by toFirstIndex(), toLastIndex(), toNextIndex(), and toPreviousIndex().
|
protectedvirtual |
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 in Digikam::ImportCategorizedView, ShowFoto::ShowfotoCategorizedView, and Digikam::ItemCategorizedView.
Referenced by layoutAboutToBeChanged(), Digikam::ItemCategorizedView::nextIndexHint(), Digikam::ImportCategorizedView::nextIndexHint(), and rowsAboutToBeRemoved().
int Digikam::ItemViewCategorized::numberOfSelectedIndexes | ( | ) | const |
|
overrideprotectedinherited |
References Digikam::DCategorizedView::Private::categories, Digikam::DCategorizedView::Private::categoriesIndexes, Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::categoryVisualRect(), Digikam::DCategorizedView::Private::dragLeftViewport, Digikam::DCategorizedView::Private::drawDraggedItems(), Digikam::DCategorizedView::Private::drawItemsWhileDragging, Digikam::DCategorizedView::Private::drawNewCategory(), Digikam::DCategorizedView::Private::hovered, Digikam::DCategorizedView::Private::initialPressPosition, Digikam::DCategorizedView::Private::intersectionSet(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), Digikam::DCategorizedView::Private::mouseButtonPressed, Digikam::DCategorizedView::Private::mousePosition, Digikam::DCategorizedView::Private::proxyModel, Digikam::DCategorizedSortFilterProxyModel::sortColumn(), and Digikam::DCategorizedView::visualRect().
Referenced by Digikam::ImportCategorizedView::paintEvent().
|
inlineoverrideslot |
References Digikam::DragDropViewImplementation::paste().
Referenced by keyPressEvent(), and Digikam::ItemIconView::slotImagePaste().
|
overrideprotectedvirtual |
Creates a pixmap for dragging the given indexes.
Implements Digikam::DragDropViewImplementation.
|
overrideprotected |
References Digikam::DCategorizedView::reset(), selectionChanged(), and selectionCleared().
|
overrideprotected |
References Digikam::DCategorizedView::resizeEvent(), scrollToRelaxed(), and updateDelegateSizes().
|
overrideprotected |
References nextIndexHint().
|
overrideprotected |
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().
|
overrideprotectedvirtual |
Reimplemented from Digikam::DCategorizedView.
References Digikam::DCategorizedView::rowsRemoved(), and scrollTo().
Referenced by Digikam::LightTableThumbBar::LightTableThumbBar().
|
override |
Referenced by Digikam::ImportCategorizedView::hintAt(), Digikam::ItemCategorizedView::hintAt(), ShowFoto::ShowfotoCategorizedView::hintAt(), mouseReleaseEvent(), rowsRemoved(), scrollToRelaxed(), Digikam::ItemThumbnailBar::slotDockLocationChanged(), ShowFoto::ShowfotoThumbnailBar::slotDockLocationChanged(), Digikam::ImportThumbnailBar::slotDockLocationChanged(), Digikam::LightTableThumbBar::slotDockLocationChanged(), and toIndex().
void Digikam::ItemViewCategorized::scrollToRelaxed | ( | const QModelIndex & | index, |
ScrollHint | hint = EnsureVisible |
||
) |
Like scrollTo, but only scrolls if the index is not visible, regardless of hint.
References scrollTo(), and Digikam::DCategorizedView::visualRect().
Referenced by layoutWasChanged(), and resizeEvent().
|
signal |
Emitted when any selection change occurs. Any of the signals below will be emitted before.
Referenced by reset(), Digikam::ItemCategorizedView::selectionChanged(), selectionChanged(), and Digikam::ImportCategorizedView::selectionChanged().
|
overrideprotected |
References selectionChanged(), selectionCleared(), and userInteraction().
|
signal |
Emitted when the selection is completely cleared.
Referenced by reset(), and 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().
|
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 ItemViewCategorized().
|
inherited |
References Digikam::DCategorizedView::slotLayoutChanged().
Referenced by Digikam::ActionCategorizedView::adjustGridSize().
|
protected |
References delegate().
Referenced by Digikam::ImportCategorizedView::setItemDelegate(), and Digikam::ItemCategorizedView::setItemDelegate().
|
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().
void Digikam::ItemViewCategorized::setScrollCurrentToCenter | ( | bool | enabled | ) |
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().
void Digikam::ItemViewCategorized::setScrollStepGranularity | ( | int | factor | ) |
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().
void Digikam::ItemViewCategorized::setSelectedIndexes | ( | const QList< QModelIndex > & | indexes | ) |
|
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().
void Digikam::ItemViewCategorized::setSpacing | ( | int | spacing | ) |
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().
|
protected |
void Digikam::ItemViewCategorized::setToolTipEnabled | ( | bool | enabled | ) |
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().
void Digikam::ItemViewCategorized::setUsePointingHandCursor | ( | bool | useCursor | ) |
Set if the PointingHand Cursor should be shown over the activation area
Referenced by Digikam::ImportThumbnailBar::ImportThumbnailBar(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), and ShowFoto::ShowfotoThumbnailBar::ShowfotoThumbnailBar().
|
protectedvirtual |
Reimplemented in Digikam::ImportIconView, and Digikam::DigikamItemView.
Referenced by contextMenuEvent().
|
protectedvirtual |
Reimplement these in a subclass.
Reimplemented in Digikam::ImportCategorizedView, ShowFoto::ShowfotoCategorizedView, and Digikam::ItemCategorizedView.
Referenced by contextMenuEvent().
|
slot |
|
protectedvirtual |
Provides default behavior, can reimplement in a subclass. Returns true if a tooltip was shown. The help event is optional.
Referenced by viewportEvent().
|
protectedslot |
References indexActivated(), and Digikam::DCategorizedView::visualRect().
Referenced by ItemViewCategorized().
|
protectedslot |
References clicked().
Referenced by ItemViewCategorized().
|
protectedslot |
References entered().
Referenced by ItemViewCategorized().
|
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().
|
protectedvirtualslot |
Reimplemented in Digikam::ImportThumbnailBar, Digikam::ImportIconView, ShowFoto::ShowfotoThumbnailBar, Digikam::DigikamItemView, and Digikam::ItemThumbnailBar.
Referenced by Digikam::ItemThumbnailBar::slotSetupChanged(), Digikam::DigikamItemView::slotSetupChanged(), ShowFoto::ShowfotoThumbnailBar::slotSetupChanged(), Digikam::ImportIconView::slotSetupChanged(), and Digikam::ImportThumbnailBar::slotSetupChanged().
|
protectedvirtualslot |
Referenced by ItemViewCategorized().
|
protectedinherited |
|
overrideprotectedinherited |
void Digikam::ItemViewCategorized::toFirstIndex | ( | ) |
Selects the index as current and scrolls to it
References moveCursor().
void Digikam::ItemViewCategorized::toIndex | ( | const QModelIndex & | index | ) |
References scrollTo().
Referenced by awayFromSelection(), Digikam::ItemCategorizedView::toIndex(), Digikam::ImportCategorizedView::toIndex(), toNextIndex(), and toPreviousIndex().
void Digikam::ItemViewCategorized::toLastIndex | ( | ) |
References moveCursor().
void Digikam::ItemViewCategorized::toNextIndex | ( | ) |
References moveCursor(), and toIndex().
Referenced by awayFromSelection().
void Digikam::ItemViewCategorized::toPreviousIndex | ( | ) |
References moveCursor(), and toIndex().
Referenced by awayFromSelection().
|
protected |
|
overrideprotectedslotinherited |
References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), and Digikam::DCategorizedView::Private::proxyModel.
Referenced by Digikam::DCategorizedView::setCategoryDrawer(), Digikam::ItemCategorizedView::updateGeometries(), and Digikam::ImportCategorizedView::updateGeometries().
|
protected |
Referenced by contextMenuEvent(), keyPressEvent(), mousePressEvent(), mouseReleaseEvent(), and selectionChanged().
|
signal |
While clicked() is emitted with a valid index, this corresponds to clicking on empty space
Referenced by mousePressEvent().
|
overrideprotected |
|
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(), mouseMoveEvent(), Digikam::DCategorizedView::mouseReleaseEvent(), Digikam::DCategorizedView::paintEvent(), scrollToRelaxed(), showIndexNotification(), slotActivated(), and viewportEvent().
|
overrideprotected |
References zoomInStep(), and zoomOutStep().
|
signal |
Referenced by wheelEvent().
|
signal |
Referenced by wheelEvent().