subsurface/qt-ui/addcylinderdialog.h
Dirk Hohndel f5c958ad73 Add Qtr_ macros that uses gettext in a tr() compatible manner
This should wrap gettext nicely and replace the "_()" macros we use in C
code.

Also added comments to the top of all the new files.

Suggested-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-13 20:44:02 -07:00

30 lines
489 B
C++

/*
* 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 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