| 
									
										
										
										
											2017-04-27 20:24:53 +02:00
										 |  |  | // SPDX-License-Identifier: GPL-2.0
 | 
					
						
							| 
									
										
										
										
											2016-07-31 22:27:07 +01:00
										 |  |  | #ifndef CYLINDER_QOBJECT_H
 | 
					
						
							|  |  |  | #define CYLINDER_QOBJECT_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-12 18:14:14 +02:00
										 |  |  | #include "../equipment.h"
 | 
					
						
							| 
									
										
										
										
											2016-07-31 22:27:07 +01:00
										 |  |  | #include <QObject>
 | 
					
						
							|  |  |  | #include <QString>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-12 18:26:42 +02:00
										 |  |  | 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) | 
					
						
							| 
									
										
										
										
											2016-07-31 22:27:07 +01:00
										 |  |  | public: | 
					
						
							| 
									
										
										
										
											2019-08-13 22:30:36 +02:00
										 |  |  | 	CylinderObjectHelper(const cylinder_t *cylinder = NULL); | 
					
						
							| 
									
										
										
										
											2019-08-12 18:26:42 +02:00
										 |  |  | 	QString description; | 
					
						
							|  |  |  | 	QString size; | 
					
						
							|  |  |  | 	QString workingPressure; | 
					
						
							|  |  |  | 	QString startPressure; | 
					
						
							|  |  |  | 	QString endPressure; | 
					
						
							|  |  |  | 	QString gasMix; | 
					
						
							| 
									
										
										
										
											2016-07-31 22:27:07 +01:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-12 18:26:42 +02:00
										 |  |  | Q_DECLARE_METATYPE(CylinderObjectHelper) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-27 20:24:53 +02:00
										 |  |  | #endif
 |