summaryrefslogtreecommitdiffstats
path: root/qt-ui/addcylinderdialog.h
blob: fc68faa72ff059201afaee7a24265055bc26d500 (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
25
26
27
28
29
30
31
32
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