diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-07 11:43:45 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-07 11:43:45 -0300 |
commit | ebed836ee5d10659ae3d830704508f9c575181d3 (patch) | |
tree | 00efafb0433e7dc6e6f9a2c99be3b12b06a69e06 /qt-ui/divecomputermanagementdialog.h | |
parent | 3677f4e5ead410d4023668420ca4f062c4223888 (diff) | |
download | subsurface-ebed836ee5d10659ae3d830704508f9c575181d3.tar.gz |
Created a new dialog - Edit DiveComputer
Created a new dialog, Edit Divecomputer, it will currently only lists
the divecomputers that are used on the xml file. I used the same method
that the gtk version used, but only 2 divecomputers got visualized in the
dirk dive data. I'll assume that it's correct and will fix it in the next
couple of commits.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/divecomputermanagementdialog.h')
-rw-r--r-- | qt-ui/divecomputermanagementdialog.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/qt-ui/divecomputermanagementdialog.h b/qt-ui/divecomputermanagementdialog.h new file mode 100644 index 000000000..27a1408ab --- /dev/null +++ b/qt-ui/divecomputermanagementdialog.h @@ -0,0 +1,22 @@ +#ifndef DIVECOMPUTERMANAGEMENTDIALOG_H +#define DIVECOMPUTERMANAGEMENTDIALOG_H +#include <QDialog> + +class DiveComputerModel; +namespace Ui{ + class DiveComputerManagementDialog; +}; + +class DiveComputerManagementDialog : public QDialog{ +Q_OBJECT + +public: + static DiveComputerManagementDialog *instance(); + void update(); +private: + explicit DiveComputerManagementDialog(QWidget* parent = 0, Qt::WindowFlags f = 0); + Ui::DiveComputerManagementDialog *ui; + DiveComputerModel *model; +}; + +#endif
\ No newline at end of file |