From 109a9c0130a024030a651aec7979fed283ec5bb7 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 25 Sep 2022 23:41:43 -0400 Subject: Implement review marked images. --- qdeduper/imageitem.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qdeduper/imageitem.hpp') 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); -- cgit v1.2.3