aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divetooltipitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/divetooltipitem.h')
-rw-r--r--qt-ui/profile/divetooltipitem.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/qt-ui/profile/divetooltipitem.h b/qt-ui/profile/divetooltipitem.h
index e0e65638a..bdb7627e7 100644
--- a/qt-ui/profile/divetooltipitem.h
+++ b/qt-ui/profile/divetooltipitem.h
@@ -27,11 +27,12 @@ public:
COLLAPSED,
EXPANDED
};
- enum {
- ICON_SMALL = 16,
- ICON_MEDIUM = 24,
- ICON_BIG = 32,
- SPACING = 4
+
+ struct IconMetrics {
+ int small;
+ int medium;
+ int big;
+ int spacing;
};
explicit ToolTipItem(QGraphicsItem *parent = 0);
@@ -67,6 +68,8 @@ private:
int lastTime;
QList<QGraphicsItem*> oldSelection;
+
+ static IconMetrics iconMetrics;
};
#endif // DIVETOOLTIPITEM_H