summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-12-03 21:44:48 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-03 13:01:16 -0800
commitb1febf17b1bfd8f0582b4cb9922ba13ae989cb33 (patch)
treeb5fa546e1774fd7dac79386f7f1bdd9587d24a77 /qt-ui/maintab.h
parent9b51901f3566b568d6e80d1b5eca985d42e55fcf (diff)
downloadsubsurface-b1febf17b1bfd8f0582b4cb9922ba13ae989cb33.tar.gz
Make sure the save/cancel message is always shown
An addition to the "Move dive notes edit message above the scrollable widget" commit: Make sure the save/cancel message is always displayed on top, regardless of which tab is selected. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 5750fb378..aed8f9e70 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -82,6 +82,10 @@ public slots:
void editCylinderWidget(const QModelIndex& index);
void editWeightWidget(const QModelIndex& index);
void addDiveStarted();
+ void addMessageAction(QAction* action);
+ void hideMessage();
+ void closeMessage();
+ void displayMessage(QString str);
void enableEdition(EditMode newEditMode = NONE);
void toggleTriggeredColumn();
private: