summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-10 14:28:44 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-10 14:28:44 -0300
commit34c6eec9bac57846da042aac546578bdb5dcb1af (patch)
tree68df982d69b035384d673fa929658180520aa8db /qt-ui/profilegraphics.h
parent45f80afc1f186f65dad95b54f4fba502a5933884 (diff)
downloadsubsurface-34c6eec9bac57846da042aac546578bdb5dcb1af.tar.gz
Save / Restore toolTip information position on the Profile when switching dives.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h4
1 files changed, 4 insertions, 0 deletions
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);