summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-02-11 13:58:23 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-11 16:34:02 -0800
commit68691c9d6d05ba28c8e0e8c837dcd32bb2eec42c (patch)
tree309705eb75fa69d3730b372ecbee4b4bb7bfae38 /qt-ui/simplewidgets.h
parent7d66dcd12d42db7c9e3f18be21615204588a66e3 (diff)
downloadsubsurface-68691c9d6d05ba28c8e0e8c837dcd32bb2eec42c.tar.gz
Accept / Cancel location edit
Make it possible to cancel or accept the location edit and get back to the mainwindow default state. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index cfa9e0423..16ed0478c 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -221,6 +221,15 @@ class LocationInformationWidget : public QGroupBox {
Q_OBJECT
public:
LocationInformationWidget(QWidget *parent = 0);
+
+public slots:
+ void acceptChanges();
+ void rejectChanges();
+
+ void showEvent(QShowEvent *);
+signals:
+ void informationManagementEnded();
+
private:
Ui::LocationInformation ui;
};