subsurface/profile-widget
Berthold Stoeger ae81b42fe2 core: introduce a few user-defined literals for unit types
Thise makes initialization of unit types more palatable.

For example:

    surface.time = sample.time - duration_t { .seconds = 20 };
=>  surface.time = sample.time - 20_sec;

    delta_depth.mm = feet_to_mm(1.0); // 1ft
=>  delta_depth = 1_ft;

    get_cylinderid_at_time(..., { .seconds = 20 * 60 + 1 }));
=>  get_cylinderid_at_time(..., 20_min + 1_sec));

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-09-11 10:23:07 +02:00
..
animationfunctions.cpp
animationfunctions.h
CMakeLists.txt
divecartesianaxis.cpp
divecartesianaxis.h
diveeventitem.cpp core: move gasname() to struct gasmix 2024-08-13 19:28:30 +02:00
diveeventitem.h core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
divehandler.cpp Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
divehandler.h Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
divelineitem.cpp
divelineitem.h
divepercentageitem.cpp Profile: Fix the Initial Gasmix. 2024-09-03 18:19:44 +12:00
divepercentageitem.h
divepixmapcache.cpp Replace remaining qDebug()s by report_info() 2024-04-23 07:47:11 +07:00
divepixmapcache.h
divepixmapitem.cpp
divepixmapitem.h
diveprofileitem.cpp Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
diveprofileitem.h Profile: Add Gas Description to Disambiguate. 2024-05-31 22:50:09 +02:00
diverectitem.cpp
diverectitem.h
divetextitem.cpp
divetextitem.h
divetooltipitem.cpp profile: C++-ify plot_info 2024-08-13 19:28:30 +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 core: introduce a few user-defined literals for unit types 2024-09-11 10:23:07 +02:00
profilescene.h
profilewidget2.cpp general: simplify a few unit manipulations 2024-09-11 10:23:07 +02:00
profilewidget2.h Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
qmlprofile.cpp core: move number_of_divecomputers to struct dive 2024-08-13 19:28:30 +02:00
qmlprofile.h
ruleritem.cpp profile: C++-ify plot_info 2024-08-13 19:28:30 +02:00
ruleritem.h
tankitem.cpp Profile: Fix the Initial Gasmix. 2024-09-03 18:19:44 +12:00
tankitem.h