aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/cylinderobjecthelper.h
blob: e1e2490e47664027e83044e8198b9e255413ea86 (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
// SPDX-License-Identifier: GPL-2.0
#ifndef CYLINDER_QOBJECT_H
#define CYLINDER_QOBJECT_H

#include "../equipment.h"
#include <QObject>
#include <QString>

class CylinderObjectHelper {
	Q_GADGET
	Q_PROPERTY(QString description MEMBER description CONSTANT)
	Q_PROPERTY(QString size MEMBER size CONSTANT)
	Q_PROPERTY(QString workingPressure MEMBER workingPressure CONSTANT)
	Q_PROPERTY(QString startPressure MEMBER startPressure CONSTANT)
	Q_PROPERTY(QString endPressure MEMBER endPressure CONSTANT)
	Q_PROPERTY(QString gasMix MEMBER gasMix CONSTANT)
public:
	CylinderObjectHelper(const cylinder_t *cylinder = NULL);
	QString description;
	QString size;
	QString workingPressure;
	QString startPressure;
	QString endPressure;
	QString gasMix;
};

Q_DECLARE_METATYPE(CylinderObjectHelper)

#endif