Desktop: Add a Button to Hide the Infobox in the Dive Profile.

Add a button that allows the user to hide the infobox with statistics
about the point in the dive under the mouse cursor in order to be able
to see the full dive profile unobstructed.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2023-06-18 15:28:51 +12:00 committed by bstoeger
parent b5007bde67
commit ce67c8b902
12 changed files with 63 additions and 3 deletions

View file

@ -39,6 +39,7 @@ void qPrefTechnicalDetails::loadSync(bool doSync)
disk_tankbar(doSync);
disk_vpmb_conservatism(doSync);
disk_zoomed_plot(doSync);
disk_infobox(doSync);
}
HANDLE_PREFERENCE_BOOL(TechnicalDetails, "calcalltissues", calcalltissues);
@ -101,6 +102,8 @@ void qPrefTechnicalDetails::disk_gflow(bool doSync)
HANDLE_PREFERENCE_BOOL(TechnicalDetails, "gf_low_at_maxdepth", gf_low_at_maxdepth);
HANDLE_PREFERENCE_BOOL(TechnicalDetails, "InfoBox", infobox);
HANDLE_PREFERENCE_BOOL(TechnicalDetails, "hrgraph", hrgraph);
HANDLE_PREFERENCE_BOOL(TechnicalDetails, "mod", mod);