diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-25 12:27:12 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-25 12:27:12 -0800 |
commit | c0e489c1eaa763bb0d9c22324af2224e2eb8872b (patch) | |
tree | 6b5545540a845dcc66d08f82f371ba2f61626230 /qt-ui/profile/diveeventitem.h | |
parent | b5a02e50aa94c10d2c9f2062af6b4e8d9cfb9294 (diff) | |
download | subsurface-c0e489c1eaa763bb0d9c22324af2224e2eb8872b.tar.gz |
New profile: add event info to tooltip
This appears to correctly add the tooltip to the event item, but for some
reason the tooltip isn't displayed for most events.
Still needs more work.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveeventitem.h')
-rw-r--r-- | qt-ui/profile/diveeventitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/diveeventitem.h b/qt-ui/profile/diveeventitem.h index f43fee01f..d2efb2dc4 100644 --- a/qt-ui/profile/diveeventitem.h +++ b/qt-ui/profile/diveeventitem.h @@ -12,6 +12,7 @@ class DiveEventItem : public DivePixmapItem { public: DiveEventItem(QObject* parent = 0); void setEvent(struct event *ev); + struct event *getEvent(); void eventVisibilityChanged(const QString& eventName, bool visible); void setVerticalAxis(DiveCartesianAxis *axis); void setHorizontalAxis(DiveCartesianAxis *axis); |