subsurface/profile-widget
Berthold Stoeger fac006148f profile: make event hiding persistent across change of dive
Currently, the "hide event" status is lost when switching dives.
Save it in the event struct instead to make it persistent.

In the future we might save this information to the log file.
Then this should be integrated in the undo-system.

This commit also makes the "unhide events" menu entry more
fine grained: It now differentiates between individual
events and event types.

Note this adds an additional field to the event structure.
There is a "deleted" field that is used internally for
book-keeping, but probably should be removed. Not touching
this at the moment as long as this is C-only code. When/if
switching to C++ we can make the event linked list a table,
which will make this much simpler.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-02-23 09:46:16 -08:00
..
animationfunctions.cpp profile: remove unused animation functions 2021-12-17 11:54:23 -08:00
animationfunctions.h profile: remove unused animation functions 2021-12-17 11:54:23 -08:00
CMakeLists.txt profile: cache pixmaps for dive event items 2021-12-17 11:54:23 -08:00
divecartesianaxis.cpp profile: implement panning of profile 2022-09-03 13:51:00 -07:00
divecartesianaxis.h profile: implement panning of profile 2022-09-03 13:51:00 -07:00
diveeventitem.cpp profile: make event hiding persistent across change of dive 2024-02-23 09:46:16 -08:00
diveeventitem.h core: pass event to event_type functions 2024-02-23 09:46:16 -08:00
divehandler.cpp profile: rewrite ProfileScene::pointOnProfile() 2021-12-17 11:54:23 -08:00
divehandler.h profile: pass dive to DiveHandler 2021-01-10 15:57:39 -08:00
divelineitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divelineitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divepercentageitem.cpp profile: fix typo in color generating code 2022-03-13 14:58:34 -07:00
divepercentageitem.h cleanup: remove unused argument and private member 2022-03-12 08:28:32 -08:00
divepixmapcache.cpp cleanup: fix typos in comments 2024-02-23 09:46:16 -08:00
divepixmapcache.h profile: cache pixmaps for dive event items 2021-12-17 11:54:23 -08:00
divepixmapitem.cpp profile: move picture removal from DivePictureItem to ProfileWidget2 2020-12-19 20:19:51 +01:00
divepixmapitem.h profile: move picture removal from DivePictureItem to ProfileWidget2 2020-12-19 20:19:51 +01:00
diveprofileitem.cpp Desktop: Remove Unused Class Members. 2023-06-16 15:49:40 +02:00
diveprofileitem.h Desktop: Remove Unused Class Members. 2023-06-16 15:49:40 +02:00
diverectitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diverectitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.cpp profile: improve calculation of the right border 2021-12-17 11:54:23 -08:00
divetextitem.h profile: improve calculation of the right border 2021-12-17 11:54:23 -08:00
divetooltipitem.cpp Desktop: Add a Button to Hide the Infobox in the Dive Profile. 2023-06-25 14:40:23 +02:00
divetooltipitem.h Desktop: Add a Button to Hide the Infobox in the Dive Profile. 2023-06-25 14:40:23 +02:00
profilescene.cpp Mobile: Fix Configuration of Ceiling Display. 2024-02-06 11:58:49 +13:00
profilescene.h profile: recalculate profile info when switching from empty state 2022-10-30 15:02:36 -07:00
profilewidget2.cpp profile: make event hiding persistent across change of dive 2024-02-23 09:46:16 -08:00
profilewidget2.h profile: make event hiding persistent across change of dive 2024-02-23 09:46:16 -08:00
qmlprofile.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
qmlprofile.h mobile: flip through dive computers on mobile 2022-10-01 18:47:16 +02:00
ruleritem.cpp profile: only keep pointer to plot_info in ruler objects 2022-03-13 15:08:01 -07:00
ruleritem.h profile: only keep pointer to plot_info in ruler objects 2022-03-13 15:08:01 -07:00
tankitem.cpp Refactoring: Use core functions to find gasmixes in TankItem. 2023-02-03 08:24:56 +01:00
tankitem.h profile: remove last dc_number access from profile code 2022-04-03 08:29:05 -07:00