summaryrefslogtreecommitdiffstats
path: root/qt-ui/tableview.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/tableview.h')
-rw-r--r--qt-ui/tableview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/tableview.h b/qt-ui/tableview.h
index 00d770842..93134b206 100644
--- a/qt-ui/tableview.h
+++ b/qt-ui/tableview.h
@@ -9,6 +9,8 @@
#include "ui_tableview.h"
+#include "metrics.h"
+
class QPushButton;
class QAbstractItemModel;
class QModelIndex;
@@ -18,9 +20,7 @@ class TableView : public QWidget {
Q_OBJECT
struct TableMetrics {
- int icon_size; // icon size
- int btn_size; // button size
- int btn_gap; // button gap
+ const IconMetrics* icon; // icon metrics
int col_width; // generic column width
int rm_col_width; // column width of REMOVE column
int header_ht; // height of the header