subsurface/desktop-widgets/preferences
Willem Ferguson 81a812539c Plot OC-pO2 graph for SCR dives
This commit allows plotting the OC-equivalent pO2 graph for PSCR
dives. This happens in both the cases where there is no external
O2-monitoring AND when there is external pO2 monitoring. The
calculations are only done for PSCR dives and is achieved as
follows:

1) Within plot-info create a pressure-t called OC_pO2 in
   profile.h and populate this variable with the open-circuit
   pO2 values in profile.c.
2) Create a new partialPressureGasItem ocpo2GasItem in
   profilewidget2.h and, in profilewidget2.cpp, initialise it
   to read the plot-info OC_pO2 values and enable its
   display by using the setVisible method. The
   diveplotdatamodel was also touched in order to achieve
   this.
3) Create a pref button that controls the display of OC-pO2 for SCR dives
4) Change the colour of the OC-pO2 grpah to orange
5) Change the connection of the crr_OC_pO2 signal to be appropriate
6) rename the OC_pO2 attribute to scr_OC-pO2

Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
2018-04-28 20:11:22 +03:00
..
abstractpreferenceswidget.cpp Unify float calulations: use double 2017-12-17 09:02:44 -08:00
abstractpreferenceswidget.h Unify float calulations: use double 2017-12-17 09:02:44 -08:00
CMakeLists.txt Cleanup: Rename preferences ui file names according the standard 2018-01-02 09:12:31 -08:00
preferences_defaults.cpp Use better aliases for icons. 2017-11-30 23:14:46 -08:00
preferences_defaults.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_defaults.ui Restore proper spin-box/slider behavior for animation setting. 2015-11-15 22:22:34 -08:00
preferences_georeference.cpp Cleanup: Rename preferences ui file names according the standard 2018-01-02 09:12:31 -08:00
preferences_georeference.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_georeference.ui Cleanup: Rename preferences ui file names according the standard 2018-01-02 09:12:31 -08:00
preferences_graph.cpp Plot OC-pO2 graph for SCR dives 2018-04-28 20:11:22 +03:00
preferences_graph.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_graph.ui Plot OC-pO2 graph for SCR dives 2018-04-28 20:11:22 +03:00
preferences_language.cpp Cleanup: Rename preferences ui file names according the standard 2018-01-02 09:12:31 -08:00
preferences_language.h preferences: support a pre-defined list of date formats 2017-11-10 09:21:47 -08:00
preferences_language.ui Cleanup: Rename preferences ui file names according the standard 2018-01-02 09:12:31 -08:00
preferences_network.cpp Whitespace only 2018-01-18 09:44:08 +01:00
preferences_network.h Fix PreferencesNetwork::passwordUpdateSuccessful slot 2018-01-18 08:56:27 +01:00
preferences_network.ui Remove cloud_background_sync preferences option 2018-01-06 10:46:07 -08:00
preferences_units.cpp Use better aliases for icons. 2017-11-30 23:14:46 -08:00
preferences_units.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_units.ui Preferences units dialog: Tab order and silence warnings 2017-10-09 11:49:29 +03:00
preferencesdialog.cpp cleanup: less than operators shall not use equal 2017-12-29 13:16:58 -08:00
preferencesdialog.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00