diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2014-10-15 15:30:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-18 15:16:15 -0700 |
commit | 32ab2b34d39752693697f0f2a33032ceb3f5f3b4 (patch) | |
tree | c661c4b6609647f364d09eae609ff5b672fc9f20 /qt-ui/tableview.h | |
parent | 72b256de629c7e4ef5c52d7a9ce62ebd68a77991 (diff) | |
download | subsurface-32ab2b34d39752693697f0f2a33032ceb3f5f3b4.tar.gz |
Unify icon metrics
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/tableview.h')
-rw-r--r-- | qt-ui/tableview.h | 6 |
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 |