digiKam
|
Signals | |
void | signalZoomInStep () |
void | signalZoomOutStep () |
Public Member Functions | |
Album * | albumAt (const QPoint &pos) const |
virtual void | copy () |
virtual void | cut () |
ItemInfoList | getHiddenGroupedInfos (const ItemInfoList &infos) const |
bool | needGroupResolving (ApplicationSettings::OperationType type, const ItemInfoList &infos) const |
virtual void | paste () |
ItemInfoList | resolveGrouping (const ItemInfoList &infos) const |
TableViewTreeView (TableViewShared *const tableViewShared, QWidget *const parent=nullptr) | |
~TableViewTreeView () override | |
Protected Member Functions | |
virtual QAbstractItemView * | asView ()=0 |
bool | decodeIsCutSelection (const QMimeData *mimeData) |
AbstractItemDragDropHandler * | dragDropHandler () const override |
void | dragEnterEvent (QDragEnterEvent *event) |
void | dragMoveEvent (QDragMoveEvent *e) |
void | dropEvent (QDropEvent *e) |
void | encodeIsCutSelection (QMimeData *mime, bool isCutSelection) |
bool | eventFilter (QObject *watched, QEvent *event) override |
bool | hasHiddenGroupedImages (const ItemInfo &info) const override |
must be implemented by parent view More... | |
QModelIndex | mapIndexForDragDrop (const QModelIndex &index) const override |
QPixmap | pixmapForDrag (const QList< QModelIndex > &indexes) const override |
void | startDrag (Qt::DropActions supportedActions) |
void | wheelEvent (QWheelEvent *event) override |
|
explicit |
|
override |
Album * Digikam::TableViewTreeView::albumAt | ( | const QPoint & | pos | ) | const |
References Digikam::ItemAlbumModel::currentAlbums(), and Digikam::TableViewShared::imageModel.
Referenced by Digikam::ItemDragDropHandler::dropEvent().
|
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().
|
virtualinherited |
|
virtualinherited |
|
protectedinherited |
Referenced by Digikam::DragDropViewImplementation::paste().
|
overrideprotectedvirtual |
You need to implement these three methods Returns the drag drop handler.
Implements Digikam::DragDropViewImplementation.
References Digikam::DragDropModelImplementation::dragDropHandler(), and Digikam::TableViewShared::imageModel.
|
protectedinherited |
Implements the relevant QAbstractItemView methods for drag and drop.
References Digikam::AbstractItemDragDropHandler::acceptsMimeData(), and Digikam::DragDropViewImplementation::dragDropHandler().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
References Digikam::DragDropViewImplementation::cut().
Referenced by Digikam::DragDropViewImplementation::copy(), and Digikam::DragDropViewImplementation::cut().
|
overrideprotected |
|
inherited |
|
overrideprotectedvirtual |
must be implemented by parent view
Reimplemented from Digikam::GroupingViewImplementation.
References Digikam::TableViewModel::groupingMode(), Digikam::ItemInfo::hasGroupedImages(), Digikam::ItemInfo::id(), Digikam::TableViewModel::indexFromImageId(), Digikam::TableViewShared::tableViewModel, and Digikam::TableViewShared::treeView.
|
overrideprotectedvirtual |
Maps the given index of the view's model to an index of the handler's model, which can be a source model of the view's model.
Implements Digikam::DragDropViewImplementation.
References Digikam::TableViewShared::tableViewModel, and Digikam::TableViewModel::toItemModelIndex().
|
inherited |
References Digikam::ApplicationSettings::askGroupingOperateOnAll(), Digikam::ApplicationSettings::getGroupingOperateOnAll(), Digikam::GroupingViewImplementation::hasHiddenGroupedImages(), Digikam::ApplicationSettings::instance(), Digikam::ApplicationSettings::No, and Digikam::ApplicationSettings::Yes.
Referenced by Digikam::DigikamItemView::allNeedGroupResolving(), Digikam::DigikamItemView::imageInfos(), Digikam::DigikamItemView::rename(), and Digikam::DigikamItemView::selectedNeedGroupResolving().
|
virtualinherited |
References Digikam::DragDropViewImplementation::asView(), Digikam::CopyAction, Digikam::DragDropViewImplementation::decodeIsCutSelection(), Digikam::DragDropViewImplementation::dragDropHandler(), Digikam::AbstractItemDragDropHandler::dropEvent(), and Digikam::MoveAction.
Referenced by Digikam::ItemViewCategorized::paste(), and Digikam::TableView::slotPaste().
|
overrideprotectedvirtual |
Creates a pixmap for dragging the given indexes.
Implements Digikam::DragDropViewImplementation.
References Digikam::ItemInfo::filePath(), Digikam::ThumbnailLoadThread::find(), Digikam::TableViewModel::imageInfo(), Digikam::TableViewShared::tableViewModel, Digikam::ItemInfo::thumbnailIdentifier(), and Digikam::TableViewShared::thumbnailLoadThread.
|
inherited |
References Digikam::GroupingViewImplementation::hasHiddenGroupedImages().
Referenced by Digikam::DigikamItemView::allItemInfos(), Digikam::DigikamItemView::imageInfos(), Digikam::DigikamItemView::rename(), Digikam::DigikamItemView::selectedItemInfos(), and Digikam::DigikamItemView::selectedItemInfosCurrentFirst().
|
signal |
Referenced by wheelEvent().
|
signal |
Referenced by wheelEvent().
|
protectedinherited |
|
overrideprotected |
References signalZoomInStep(), and signalZoomOutStep().