aboutsummaryrefslogtreecommitdiff
path: root/qdeduper/imageitem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qdeduper/imageitem.hpp')
-rw-r--r--qdeduper/imageitem.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qdeduper/imageitem.hpp b/qdeduper/imageitem.hpp
index abef719..66e4644 100644
--- a/qdeduper/imageitem.hpp
+++ b/qdeduper/imageitem.hpp
@@ -40,6 +40,7 @@ private:
const static int HKSHDS = 2;
int vw = -1;
int hh = -1;
+ int min_height = 64;
bool singlemode = false;
bool show_hotkey = true;
QAbstractItemModel *im = nullptr;
@@ -47,7 +48,8 @@ public:
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
void resize();
- void setScrollbarMargins(int vw, int hh);
+ void set_scrollbar_margins(int vw, int hh);
+ void set_min_height(int mh);
void set_single_item_mode(bool enabled);
bool is_single_item_mode();