summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/templatelayout.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-17 00:29:18 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-16 15:03:50 -0800
commitdd944ab33f8f2984c9cc7f1d94a5aa632e3ad1f4 (patch)
treef7823600c06c7054b62c0f8b4f6d0badb8f83b99 /desktop-widgets/templatelayout.h
parenta34dfe82847dce2db083f4b37554279df0b26307 (diff)
downloadsubsurface-dd944ab33f8f2984c9cc7f1d94a5aa632e3ad1f4.tar.gz
qthelper: add means to retreive weight and cylinder info in Dive
The Dive helper class only picks the first cylinder and the total weight. This patch adds the option to dump the cylinders and weights as formatted lists (via cylinders() and weights()) or to retrieve a specific cylinder or weight via (cylinder(index) and weight(index)). Each cylinder and weight string contains detailed information: cylinder: - desc. - pressure (+start/end) - gasmix - etc... weight: - desc. - weight (in units e.g. kg) If no description is found for a cylinder or weight the contents for this particular unit is filled with EMPTY_DIVE_STRING ("--"). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/templatelayout.h')
0 files changed, 0 insertions, 0 deletions