25 #ifndef DIGIKAM_TABLE_VIEW_H
26 #define DIGIKAM_TABLE_VIEW_H
42 class QContextMenuEvent;
44 class QItemSelectionModel;
51 class ItemFilterModel;
53 class TableViewShared;
61 explicit TableView(QItemSelectionModel*
const selectionModel,
63 QWidget*
const parent);
91 bool eventFilter(QObject* watched, QEvent* event)
override;
96 void slotGoToRow(
const int rowNumber,
const bool relativeMove);
129 const QScopedPointer<Private> d;
130 const QScopedPointer<TableViewShared> s;
Abstract base class for all album types.
Definition: album.h:67
OperationType
Definition: applicationsettings.h:99
Definition: dcategorizedsortfilterproxymodel.h:53
Definition: itemfiltermodel.h:125
Definition: iteminfolist.h:47
Definition: iteminfo.h:78
DeleteMode
Definition: itemviewutilities.h:50
@ DeleteUseTrash
Definition: itemviewutilities.h:52
Definition: statesavingobject.h:76
Definition: tableview.h:56
void slotGroupingModeActionTriggered()
Definition: tableview.cpp:368
void slotSetCurrentWhenAvailable(const qlonglong id)
Definition: tableview.cpp:473
void signalPreviewRequested(const ItemInfo &info)
void signalShowContextMenu(QContextMenuEvent *event, const QList< QAction * > &actions)
void slotGoToRow(const int rowNumber, const bool relativeMove)
Definition: tableview.cpp:386
bool allNeedGroupResolving(const ApplicationSettings::OperationType type) const
Definition: tableview.cpp:297
void slotPaste()
Definition: tableview.cpp:276
void doLoadState() override
Definition: tableview.cpp:147
void setThumbnailSize(const ThumbnailSize &size)
Definition: tableview.cpp:243
void slotSetActive(const bool isActive)
Definition: tableview.cpp:598
void slotDeleteSelectedWithoutConfirmation(const ItemViewUtilities::DeleteMode deleteMode=ItemViewUtilities::DeleteUseTrash)
Definition: tableview.cpp:320
ItemInfo previousInfo() const
Definition: tableview.cpp:445
void signalShowContextMenuOnInfo(QContextMenuEvent *event, const ItemInfo &info, const QList< QAction * > &actions, ItemFilterModel *filterModel=nullptr)
ThumbnailSize getThumbnailSize() const
Definition: tableview.cpp:254
void invertSelection()
Definition: tableview.cpp:547
int numberOfSelectedItems() const
Definition: tableview.cpp:381
QList< QAction * > getExtraGroupingActions()
Definition: tableview.cpp:329
void signalInsertSelectedToExistingQueue(int queue)
ItemInfo currentInfo() const
Definition: tableview.cpp:282
void signalItemsChanged()
void slotItemActivated(const QModelIndex &tableViewIndex)
Definition: tableview.cpp:177
~TableView() override
Definition: tableview.cpp:143
void doSaveState() override
Definition: tableview.cpp:166
ItemInfoList allItemInfos(bool grouping=false) const
Definition: tableview.cpp:287
void clearSelection()
Definition: tableview.cpp:542
void selectAll()
Definition: tableview.cpp:591
void slotSetCurrentUrlWhenAvailable(const QUrl &url)
Definition: tableview.cpp:461
void rename()
Definition: tableview.cpp:644
Album * currentAlbum() const
Definition: tableview.cpp:259
void slotAwayFromSelection()
Unselects the current selection and changes the current item.
Definition: tableview.cpp:492
bool eventFilter(QObject *watched, QEvent *event) override
Definition: tableview.cpp:213
ItemInfo deepRowItemInfo(const int rowNumber, const bool relative) const
Definition: tableview.cpp:407
void signalPopupTagsView()
TableView(QItemSelectionModel *const selectionModel, DCategorizedSortFilterProxyModel *const imageFilterModel, QWidget *const parent)
Definition: tableview.cpp:82
ItemInfoList selectedItemInfosCurrentFirst(bool grouping=false) const
Definition: tableview.cpp:620
ItemInfo nextInfo() const
Definition: tableview.cpp:429
bool selectedNeedGroupResolving(const ApplicationSettings::OperationType type) const
Definition: tableview.cpp:302
ItemInfoList selectedItemInfos(bool grouping=false) const
Definition: tableview.cpp:608
void slotDeleteSelected(const ItemViewUtilities::DeleteMode deleteMode=ItemViewUtilities::DeleteUseTrash)
Definition: tableview.cpp:307
Definition: thumbnailsize.h:42
@ Album
Definition: coredbfields.h:58
Definition: datefolderview.cpp:43