diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2016-02-29 16:42:07 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-29 07:33:31 -0800 |
commit | 1d06c383a207b19dadd58f7975cd574df7a1c5ac (patch) | |
tree | d5d156195e0c700d3b4987a333296d4da40e3f89 /Documentation/make_PO_to_ASCIIDOC.sh | |
parent | 0aa8ef918df62399f621bc591528535ed550eaa2 (diff) | |
download | subsurface-1d06c383a207b19dadd58f7975cd574df7a1c5ac.tar.gz |
DiveHelperObject: add the weightList and cylinderList properties
"weights" and "cylinders" are QStringList Q_PROPERTIES, and Grantlee
should be able to render them, but it doesn't.
To be able to print the whole list of weights and cylinders we
introduce two new QString properties "weightList" and "cylinderList".
The variable replacement in the previous patch deals with the
conversation of the user side HTML, e.g.:
USER -> INTERNAL
"{{ dive.weights }} -> {{ dive.weightList }}"
"{{ dive.cylinders }} -> {{ dive.cylinderList }}"
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/make_PO_to_ASCIIDOC.sh')
0 files changed, 0 insertions, 0 deletions