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>
This commit is contained in:
Tomaz Canabrava 2013-11-19 23:03:18 -02:00 committed by Dirk Hohndel
parent eb027f2a4b
commit 4c2e6c4658
2 changed files with 80 additions and 1 deletions

View file

@ -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);