diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-08 07:22:23 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-08 14:18:27 -0700 |
commit | 2089c124a582ac95c4e9adb9362446572ff791f7 (patch) | |
tree | 403c43c437b0697cc7ea1ff2a85d51ec37ba2ed0 /qt-ui/profilegraphics.h | |
parent | 76e1436f684117766c5132c4ab69bf7ae50cd2ed (diff) | |
download | subsurface-2089c124a582ac95c4e9adb9362446572ff791f7.tar.gz |
Work on the tooltips - WIP.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r-- | qt-ui/profilegraphics.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h index 1c9238bee..ca1eb8983 100644 --- a/qt-ui/profilegraphics.h +++ b/qt-ui/profilegraphics.h @@ -70,12 +70,6 @@ class EventItem : public QGraphicsPolygonItem { public: explicit EventItem(QGraphicsItem* parent = 0); - void addToolTip(const QString& text,const QIcon& icon = QIcon()); - void setToolTipController(ToolTipItem *controller); - -protected: - void hoverEnterEvent(QGraphicsSceneHoverEvent* event); - void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); private: ToolTipItem *controller; @@ -89,6 +83,7 @@ Q_OBJECT public: ProfileGraphicsView(QWidget* parent = 0); void plot(struct dive *d); + bool eventFilter(QObject* obj, QEvent* event); protected: void resizeEvent(QResizeEvent *event); |