summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-11-19 23:03:18 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 17:04:25 -0800
commit4c2e6c4658df4d52cf097a3d426a01aaae2b71db (patch)
tree606a9aa2160ecb49767792441f12ab6e69027c3b /qt-ui/profilegraphics.h
parenteb027f2a4b83ed8eb127f0c736021556aa3952a0 (diff)
downloadsubsurface-4c2e6c4658df4d52cf097a3d426a01aaae2b71db.tar.gz
Adds half of the support for the menu on the profile.
This adds the menu, it just doesn't do anything, yet. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index 28e7b9d60..5970ca829 100644
--- a/qt-ui/profilegraphics.h
+++ b/qt-ui/profilegraphics.h
@@ -142,13 +142,17 @@ protected:
void mouseMoveEvent(QMouseEvent* event);
void wheelEvent(QWheelEvent* event);
void showEvent(QShowEvent* event);
+ void contextMenuEvent(QContextMenuEvent* event);
public slots:
void refresh();
void edit_dive_time(const QString& time);
void on_rulerAction();
void on_scaleAction();
-
+ void changeGas();
+ void hideEvents();
+ void removeEvent();
+ void addBookmark();
private:
void plot_depth_profile();
QGraphicsItemGroup *plot_text(text_render_options_t *tro, const QPointF& pos, const QString &text, QGraphicsItem *parent = 0);