summaryrefslogtreecommitdiffstats
path: root/qt-ui/addcylinderdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/addcylinderdialog.h')
-rw-r--r--qt-ui/addcylinderdialog.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/qt-ui/addcylinderdialog.h b/qt-ui/addcylinderdialog.h
new file mode 100644
index 000000000..b32494c05
--- /dev/null
+++ b/qt-ui/addcylinderdialog.h
@@ -0,0 +1,24 @@
+#ifndef ADDCYLINDERDIALOG_H
+#define ADDCYLINDERDIALOG_H
+
+#include <QDialog>
+#include "../dive.h"
+
+namespace Ui{
+ class AddCylinderDialog;
+}
+
+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;
+};
+
+
+#endif