mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
0b6cbe0f79
commit
7dc642860d
11 changed files with 322 additions and 91 deletions
25
qt-ui/divelogexportdialog.h
Normal file
25
qt-ui/divelogexportdialog.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue