summaryrefslogtreecommitdiffstats
path: root/qt-ui/addcylinderdialog.h
blob: b32494c05a8d98103f0ee625813d9299070f87a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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