subsurface/desktop-widgets/preferences
Michael Keller 2d8e343221 Planner: Improve Gas Handling in CCR Mode.
This has become a bit of a catch-all overhaul of a large portion of the
planner - I started out wanting to improve the CCR mode, but then as I
started pulling all the other threads that needed addressing started to
come with it.

Improve how the gas selection is handled when planning dives in CCR
mode, by making the type (OC / CCR) of segments dependent on the gas use
type that was set for the selected gas.
Add a preference to allow the user to chose to use OC gases as diluent,
in a similar fashion to the original implementation.
Hide gases that cannot be used in the currently selected dive mode in
all drop downs.
Include usage type in gas names if this is needed.
Hide columns and disable elements in the 'Dive planner points' table if
they can they can not be edited in the curently selected dive mode.
Visually identify gases and usage types that are not appropriate for the
currently selected dive mode.
Move the 'Dive mode' selection to the top of the planner view, to
accommodate the fact that this is a property of the dive and not a
planner setting.
Show a warning instead of the dive plan if the plan contains gases that
are not usable in the selected dive mode.
Fix the data entry for the setpoint in the 'Dive planner points' table.
Fix problems with enabling / disabling planner settings when switching
between dive modes.
Refactor some names to make them more appropriate for their current
usage.

One point that is still open is to hide gas usage graphs in the planner
profile if the gas isn't used for OC, as there is no way to meaningfully
interpolate such usage.

Signed-off-by: Michael Keller <github@ike.ch>
2024-08-26 12:36:31 +12:00
..
abstractpreferenceswidget.cpp
abstractpreferenceswidget.h
CMakeLists.txt Update CMakeLists.txt 2024-04-26 08:14:16 +12:00
preferences_cloud.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
preferences_cloud.h desktop: add password reset to cloud preferences 2024-01-25 10:42:48 -08:00
preferences_cloud.ui desktop: add password reset to cloud preferences 2024-01-25 10:42:48 -08:00
preferences_defaults.cpp Map Short Names - add preference setting 2022-08-21 18:53:35 -07:00
preferences_defaults.h Preferences UI: add reset tab 2019-12-25 02:57:42 +09:00
preferences_defaults.ui Map Short Names - add preference setting 2022-08-21 18:53:35 -07:00
preferences_equipment.cpp core: use C++ structures for tanksystem info 2024-08-13 19:28:30 +02:00
preferences_equipment.h
preferences_equipment.ui Equipment: Include Unused Tanks in Merge if Preference is Enabled. 2023-07-25 11:19:03 +12:00
preferences_georeference.cpp Preferences UI: add dive log tab 2019-12-25 02:57:42 +09:00
preferences_georeference.h
preferences_georeference.ui Preferences UI: final cleanup 2019-12-25 02:57:42 +09:00
preferences_graph.cpp Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
preferences_graph.h
preferences_graph.ui Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
preferences_language.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
preferences_language.h
preferences_language.ui Desktop: Rework Setting of Custom Date / Time Formats. 2023-05-30 11:24:37 +02:00
preferences_log.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
preferences_log.h Preferences UI: add dive log tab 2019-12-25 02:57:42 +09:00
preferences_log.ui cleanup: remove obsolete connections 2020-10-26 19:27:03 -07:00
preferences_media.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
preferences_media.h Pereferences UI: add media tab 2019-12-25 02:57:42 +09:00
preferences_media.ui Typo fix: Programm to program 2020-03-22 12:01:59 -07:00
preferences_network.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
preferences_network.h
preferences_network.ui
preferences_reset.cpp preferences: replace SIGNAL/SLOT by function pointers 2024-03-13 13:17:01 +13:00
preferences_reset.h Preferences UI: final cleanup 2019-12-25 02:57:42 +09:00
preferences_reset.ui Preferences UI: final cleanup 2019-12-25 02:57:42 +09:00
preferences_units.cpp core/settings:: remove string functions for units 2020-01-20 09:55:26 -08:00
preferences_units.h
preferences_units.ui
preferencesdialog.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
preferencesdialog.h preferences: connect() dialog page only once 2020-12-12 15:52:40 -08:00