aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/metrics.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/metrics.h')
-rw-r--r--qt-ui/metrics.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/qt-ui/metrics.h b/qt-ui/metrics.h
deleted file mode 100644
index 30295a3d8..000000000
--- a/qt-ui/metrics.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * metrics.h
- *
- * header file for common function to find/compute essential UI metrics
- * (font properties, icon sizes, etc)
- *
- */
-#ifndef METRICS_H
-#define METRICS_H
-
-#include <QFont>
-#include <QFontMetrics>
-#include <QSize>
-
-QFont defaultModelFont();
-QFontMetrics defaultModelFontMetrics();
-
-// Collection of icon/picture sizes and other metrics, resolution independent
-struct IconMetrics {
- // icon sizes
- int sz_small; // ex 16px
- int sz_med; // ex 24px
- int sz_big; // ex 32px
- // picture size
- int sz_pic; // ex 128px
- // icon spacing
- int spacing; // ex 2px
-};
-
-const IconMetrics & defaultIconMetrics();
-
-#endif // METRICS_H