subsurface/core/subsurface-qt
Tim Wootton bd40ef7f42 Adds Cylinder helper class for cylinder info access in grantlee templates
to allow grantlee to access individual fields of the cylinder_t struct
rather than a string representation of the whole cylinder info using a
grantlee structure like this one:
	<table class="table_class">
		<tr>
			<td>Cylinder</td>
			<td>Start press.</td>
			<td>End press.</td>
			<td>Gas mix</td>
		</tr>
		{% for cylinderObject in dive.cylinderObjects %}
		<tr>
			<td>{{ cylinderObject.description }}</td>
			<td>{{ cylinderObject.startPressure }}</td>
			<td>{{ cylinderObject.endPressure }}</td>
			<td>{{ cylinderObject.gasMix }}</td>
		</tr>
		{% endfor %}
	</table>

Signed-off-by: Tim Wootton <tim@tee-jay.org.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-08-10 15:00:33 -07:00
..
CylinderObjectHelper.cpp Adds Cylinder helper class for cylinder info access in grantlee templates 2016-08-10 15:00:33 -07:00
CylinderObjectHelper.h Adds Cylinder helper class for cylinder info access in grantlee templates 2016-08-10 15:00:33 -07:00
DiveObjectHelper.cpp Adds Cylinder helper class for cylinder info access in grantlee templates 2016-08-10 15:00:33 -07:00
DiveObjectHelper.h Adds Cylinder helper class for cylinder info access in grantlee templates 2016-08-10 15:00:33 -07:00
SettingsObjectWrapper.cpp Send the appropriate signal when gitLocalOnly changes 2016-07-30 13:06:36 -07:00
SettingsObjectWrapper.h Send the appropriate signal when gitLocalOnly changes 2016-07-30 13:06:36 -07:00