subsurface/core
Linus Torvalds 638e7fb28f Add cylinder equipment tooltips with gas volume
This adds tooltips for the equipment tab for each cylinder, showing the
amount of gas used.

When you mouse over the size and working pressure fields, the tooltip will
show the amount of gas used (along with start and end gas volumes). And
when you mouse over the start and end pressures, it will show the start
and end gas volumes, and the Z factor used.

I started doing this because of the gas volume questions in the last day
or two (and a few from a few weeks ago). When even Robert Helling starts
wondering about the effects of compressibility on the SAC calculation, our
numbers are clearly too opaque.

With these tooltips, at least you can see what went into the used gas
calculations, instead of having to add debugging options to print out Z
factors.

[ This patch also adds a "rint()" to get the rounding right in the
  gas_volume() function.  Although rounding to the nearst milliliter
  really doesn't matter, it's the right thing to do after doing FP
  calculations ;^]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-01-12 14:17:09 -08:00
..
subsurface-qt Rename prefs.deco_mode to prefs.planner_deco_mode 2017-01-06 20:43:23 -08:00
android.cpp android: Add a subsurface_user_is_root for android 2016-12-28 22:40:18 -08:00
checkcloudconnection.cpp
checkcloudconnection.h
cloudstorage.cpp
cloudstorage.h
CMakeLists.txt
cochran.c
cochran.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
color.cpp
color.h
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
datatrak.c Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
datatrak.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
deco.c
deco.h
device.c
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c Add cylinder equipment tooltips with gas volume 2017-01-12 14:17:09 -08:00
dive.h
divecomputer.cpp
divecomputer.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelist.c
divelist.h
divelogexportlogic.cpp
divelogexportlogic.h
divesite.c
divesite.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divesite.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divesitehelpers.cpp
divesitehelpers.h
equipment.c
exif.cpp
exif.h
file.c
file.h
gas-model.c
gaspressures.c
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h
gpslocation.cpp
gpslocation.h
helpers.h
imagedownloader.cpp
imagedownloader.h
isocialnetworkintegration.cpp
isocialnetworkintegration.h
libdivecomputer.c
libdivecomputer.h
linux.c
liquivision.c
load-git.c
macos.c
membuffer.c
membuffer.h
metrics.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
metrics.h
ostctools.c
parse-xml.c
planner.c
planner.h
pluginmanager.cpp
pluginmanager.h
pref.h
prefs-macros.h
profile.c Fix deco_mode confusion 2017-01-06 20:43:23 -08:00
profile.h
qt-gui.h
qt-init.cpp
qthelper.cpp
qthelper.h
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 Only consider non-zero average depth for statistics 2016-11-15 03:25:46 -08:00
statistics.h Only consider non-zero average depth for statistics 2016-11-15 03:25:46 -08:00
strndup.h
strtod.c
subsurfacestartup.c
subsurfacestartup.h Allow switching the user from the command line 2016-04-29 12:14:59 -07:00
subsurfacesysinfo.cpp
subsurfacesysinfo.h
taxonomy.c
taxonomy.h
time.c
uemis-downloader.c
uemis.c Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
uemis.h
units.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
version.c
version.h
webservice.h
windows.c
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h