Add ability to make a dive computer the first dive computer of a dive

If a dive has multiple dive computers we enable a special context menu
when the user right-clicks on the dive computer name AND is not already
showing the first dive computer. In that case we offer to make the
currently shown dive computer the first one.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-05-19 14:39:34 +09:00
parent 419434f494
commit a117428ff4
4 changed files with 68 additions and 2 deletions

View file

@ -80,6 +80,7 @@ slots: // Necessary to call from QAction's signals.
void unhideEvents();
void removeEvent();
void editName();
void makeFirstDC();
protected:
virtual void resizeEvent(QResizeEvent *event);