mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Unify icon metrics
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
72b256de62
commit
32ab2b34d3
9 changed files with 72 additions and 70 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue