summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogexportdialog.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-05-20 19:33:32 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-21 03:31:43 +0900
commit7dc642860def420f85ae25548ddfa674e14636d1 (patch)
tree65f58d09ec8b5293550c124286fecf606bd23e73 /qt-ui/divelogexportdialog.h
parent0b6cbe0f79d7707297211850963323eb77d21c20 (diff)
downloadsubsurface-7dc642860def420f85ae25548ddfa674e14636d1.tar.gz
Implementing export dialog
As our menus are getting many export entries, it is better to create a single export dialog where user is able to select the export type and whether to export selected dives or all of them. This should also be more intuitive than the current way when export from file menu export all dives and right click menu on divelist exports only selected dives. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogexportdialog.h')
-rw-r--r--qt-ui/divelogexportdialog.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/qt-ui/divelogexportdialog.h b/qt-ui/divelogexportdialog.h
new file mode 100644
index 000000000..9e2bed25d
--- /dev/null
+++ b/qt-ui/divelogexportdialog.h
@@ -0,0 +1,25 @@
+#ifndef DIVELOGEXPORTDIALOG_H
+#define DIVELOGEXPORTDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+class DiveLogExportDialog;
+}
+
+class DiveLogExportDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit DiveLogExportDialog(QWidget *parent = 0);
+ ~DiveLogExportDialog();
+
+private slots:
+ void on_buttonBox_accepted();
+
+private:
+ Ui::DiveLogExportDialog *ui;
+};
+
+#endif // DIVELOGEXPORTDIALOG_H