2013-04-14 03:44:02 +00:00
|
|
|
/*
|
|
|
|
* addcylinderdialog.h
|
|
|
|
*
|
|
|
|
* header file for the add cylinder dialog of Subsurface
|
|
|
|
*
|
|
|
|
*/
|
2013-04-13 13:17:59 +00:00
|
|
|
#ifndef ADDCYLINDERDIALOG_H
|
|
|
|
#define ADDCYLINDERDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "../dive.h"
|
|
|
|
|
|
|
|
namespace Ui{
|
|
|
|
class AddCylinderDialog;
|
|
|
|
}
|
|
|
|
|
2013-04-15 18:04:35 +00:00
|
|
|
class TankInfoModel;
|
|
|
|
|
2013-04-13 13:17:59 +00:00
|
|
|
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;
|
2013-04-15 18:04:35 +00:00
|
|
|
TankInfoModel *tankInfoModel;
|
2013-04-13 13:17:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|