24 #ifndef SHOWFOTO_STACK_VIEW_LIST_H
25 #define SHOWFOTO_STACK_VIEW_LIST_H
31 #include <QTreeWidget>
32 #include <QMouseEvent>
33 #include <QContextMenuEvent>
34 #include <QModelIndex>
43 class ShowfotoThumbnailBar;
95 void contextMenuEvent(QContextMenuEvent*)
override;
96 void mouseMoveEvent(QMouseEvent*)
override;
97 void wheelEvent(QWheelEvent*)
override;
98 void keyPressEvent(QKeyEvent*)
override;
99 void focusOutEvent(QFocusEvent*)
override;
100 void leaveEvent(QEvent*)
override;
103 bool acceptToolTip(
const QModelIndex& index)
const;
105 void drawRow(QPainter* p,
106 const QStyleOptionViewItem& opt,
107 const QModelIndex& index)
const override;
112 void slotOpenInFileManager();
118 void slotSelectionChanged(QTreeWidgetItem*);
119 void slotItemDoubleClicked(QTreeWidgetItem*);
120 void slotItemsListChanged();
121 void slotRemoveItems();
Definition: showfotoiteminfo.h:48
Definition: showfotostackviewlist.h:46
ThumbnailSize
Definition: showfotostackviewlist.h:60
@ SizeHuge
Definition: showfotostackviewlist.h:64
@ SizeLarge
Definition: showfotostackviewlist.h:63
@ SizeMedium
Definition: showfotostackviewlist.h:62
@ SizeSmall
Definition: showfotostackviewlist.h:61
void slotIconSizeChanged(int)
Definition: showfotostackviewlist.cpp:346
StackViewRole
Definition: showfotostackviewlist.h:52
@ FileName
Definition: showfotostackviewlist.h:53
@ FileType
Definition: showfotostackviewlist.h:55
@ FileSize
Definition: showfotostackviewlist.h:54
@ FileDate
Metadata date if exists, else Modifier date.
Definition: showfotostackviewlist.h:56
ShowfotoItemInfo infoFromIndex(const QModelIndex &index) const
Definition: showfotostackviewlist.cpp:311
void setThumbbar(ShowfotoThumbnailBar *const thumbbar)
Definition: showfotostackviewlist.cpp:136
int sortRole() const
Definition: showfotostackviewlist.cpp:131
void signalShowfotoItemInfoActivated(const ShowfotoItemInfo &info)
QList< QUrl > urls()
Definition: showfotostackviewlist.cpp:577
int sortOrder() const
Definition: showfotostackviewlist.cpp:126
void signalClearItemsList()
void signalRemoveItemInfos(const QList< ShowfotoItemInfo > &infos)
ShowfotoStackViewList(ShowfotoStackViewSideBar *const view)
Definition: showfotostackviewlist.cpp:80
~ShowfotoStackViewList() override
Definition: showfotostackviewlist.cpp:120
QUrl currentUrl() const
Definition: showfotostackviewlist.cpp:598
void signalItemListChanged(int nbitems)
Definition: showfotothumbnailbar.h:38
Definition: showfotofolderviewbar.cpp:52