From 34c6eec9bac57846da042aac546578bdb5dcb1af Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 10 Jun 2013 14:28:44 -0300 Subject: Save / Restore toolTip information position on the Profile when switching dives. Signed-off-by: Tomaz Canabrava --- qt-ui/profilegraphics.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-ui/profilegraphics.h') diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h index 5f9df0bde..8f83deabb 100644 --- a/qt-ui/profilegraphics.h +++ b/qt-ui/profilegraphics.h @@ -35,6 +35,10 @@ public: void refresh(struct graphics_context* gc, QPointF pos); bool isExpanded(); + void persistPos(); + void readPos(); + + void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); public Q_SLOTS: void setRect(const QRectF& rect); -- cgit v1.2.3-70-g09d2