diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-09-25 23:41:43 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-09-25 23:41:43 -0400 |
commit | 109a9c0130a024030a651aec7979fed283ec5bb7 (patch) | |
tree | d366514bd58c4999c2fe9de6449920f521ef1a68 /qdeduper/imageitem.hpp | |
parent | c65b59662e0fb16969eea5cf0ce7a69610e4cadd (diff) | |
download | deduper-109a9c0130a024030a651aec7979fed283ec5bb7.tar.xz |
Implement review marked images.
Diffstat (limited to 'qdeduper/imageitem.hpp')
-rw-r--r-- | qdeduper/imageitem.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qdeduper/imageitem.hpp b/qdeduper/imageitem.hpp index 5b1a1f3..abef719 100644 --- a/qdeduper/imageitem.hpp +++ b/qdeduper/imageitem.hpp @@ -41,6 +41,7 @@ private: int vw = -1; int hh = -1; bool singlemode = false; + bool show_hotkey = true; QAbstractItemModel *im = nullptr; public: void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; @@ -51,6 +52,8 @@ public: void set_single_item_mode(bool enabled); bool is_single_item_mode(); + void set_show_hotkey(bool show); + void set_model(QAbstractItemModel *m); Q_SIGNALS: void sizeHintChanged(const QModelIndex &index); |