diff options
Diffstat (limited to 'qt-ui/addcylinderdialog.h')
-rw-r--r-- | qt-ui/addcylinderdialog.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/qt-ui/addcylinderdialog.h b/qt-ui/addcylinderdialog.h new file mode 100644 index 000000000..fc68faa72 --- /dev/null +++ b/qt-ui/addcylinderdialog.h @@ -0,0 +1,33 @@ +/* + * addcylinderdialog.h + * + * header file for the add cylinder dialog of Subsurface + * + */ +#ifndef ADDCYLINDERDIALOG_H +#define ADDCYLINDERDIALOG_H + +#include <QDialog> +#include "../dive.h" + +namespace Ui{ + class AddCylinderDialog; +} + +class TankInfoModel; + +class AddCylinderDialog : public QDialog{ + Q_OBJECT +public: + explicit AddCylinderDialog(QWidget* parent = 0); + void setCylinder(cylinder_t *cylinder); + void updateCylinder(); + +private: + Ui::AddCylinderDialog *ui; + cylinder_t *currentCylinder; + TankInfoModel *tankInfoModel; +}; + + +#endif |