subsurface/subsurface-core
Lubomir I. Ivanov dd944ab33f 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>
2015-11-16 15:03:50 -08:00
..
android.cpp Android: go back to using Qt's DataLocation 2015-11-07 10:52:19 -08:00
checkcloudconnection.cpp
checkcloudconnection.h
CMakeLists.txt CMakeLists: use correct 'desktop-widgets' path 2015-11-16 09:26:15 -08:00
cochran.c
cochran.h
color.cpp
color.h
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
datatrak.c simple spelling changes 2015-11-15 12:10:37 -08:00
datatrak.h
deco.c
deco.h
device.c simple spelling changes 2015-11-15 12:10:37 -08:00
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c dive.c: fix a couple of comment typos 2015-11-16 09:26:08 -08:00
dive.h
divecomputer.cpp
divecomputer.h
divelist.c
divelist.h
divelogexportlogic.cpp
divelogexportlogic.h
divesite.c
divesite.cpp
divesite.h
divesitehelpers.cpp
divesitehelpers.h
equipment.c
exif.cpp
exif.h
file.c
file.h
gaspressures.c
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h
helpers.h
imagedownloader.cpp Move ImageDownloader out of the desktop widgets 2015-11-06 11:30:11 -08:00
imagedownloader.h Move ImageDownloader out of the desktop widgets 2015-11-06 11:30:11 -08:00
isocialnetworkintegration.cpp Removed unused files 2015-11-09 18:00:56 -08:00
isocialnetworkintegration.h Remove the PluginSystem 2015-11-09 18:00:56 -08:00
libdivecomputer.c
libdivecomputer.h
linux.c
liquivision.c
load-git.c
macos.c
membuffer.c
membuffer.h
metrics.cpp
metrics.h
ostctools.c simple spelling changes 2015-11-15 12:10:37 -08:00
parse-xml.c
planner.c planner.c: fix 'disclaimer' pointing to stack memory 2015-11-15 10:08:28 -08:00
planner.h
pluginmanager.cpp Make it possible to connect to facebook again 2015-11-08 09:44:40 -08:00
pluginmanager.h Remove empty implementations 2015-11-09 18:00:56 -08:00
pref.h Location service: make distance and time threshold configurable 2015-11-14 09:10:06 -08:00
prefs-macros.h
profile.c profile.c: remove unused variables 2015-11-07 22:26:33 -08:00
profile.h profile.h: fix incomplete type 2015-11-06 09:59:00 -08:00
qt-gui.h Missing half of the previous commit 2015-11-14 10:43:37 -08:00
qt-init.cpp
qthelper.cpp qthelper: add means to retreive weight and cylinder info in Dive 2015-11-16 15:03:50 -08:00
qthelper.h qthelper: add means to retreive weight and cylinder info in Dive 2015-11-16 15:03:50 -08:00
qthelperfromc.h
qtserialbluetooth.cpp
save-git.c
save-html.c
save-html.h
save-xml.c
serial_ftdi.c
sha1.c
sha1.h
statistics.c
statistics.h
strndup.h
strtod.c
subsurfacestartup.c subsurfacestartup.c: leave free_prefs() empty 2015-11-15 10:29:36 -08:00
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
taxonomy.c
taxonomy.h
time.c
uemis-downloader.c simple spelling changes 2015-11-15 12:10:37 -08:00
uemis.c
uemis.h
units.h
version.c
version.h
webservice.h
windows.c
windowtitleupdate.cpp Don't crash if we have no WindowTitleUpdater registered 2015-11-07 09:53:17 -08:00
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h