subsurface/profile-widget
Berthold Stoeger c34f0b88a2 profile: move checking for DiveTextItem into its own function
When creating the context menu, a special menu is created for
the dive computer name.

This was checked in a loop, that set a flag and exited early.

This can all be simplified by moving the loop into its own
function. No more flag, less indentation. Overall better.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-04-26 08:24:28 -07:00
..
animationfunctions.cpp
animationfunctions.h
CMakeLists.txt profile: move DiveHandler to profile-widget folder 2020-12-12 15:52:40 -08:00
divecartesianaxis.cpp profile: explicitly update gas-axis 2021-01-10 15:57:39 -08:00
divecartesianaxis.h profile: explicitly update gas-axis 2021-01-10 15:57:39 -08:00
diveeventitem.cpp profile: initialize DiveEventItem::dive to null 2021-03-05 08:30:23 +01:00
diveeventitem.h profile: pass dive to EventItem 2021-01-10 15:57:39 -08:00
divehandler.cpp profile use unique_ptr to manage dive handler objects 2021-04-02 13:53:23 -07:00
divehandler.h profile: pass dive to DiveHandler 2021-01-10 15:57:39 -08:00
divelineitem.cpp
divelineitem.h
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 profile: fix color on pressure-item 2021-03-31 08:48:38 -07:00
diveprofileitem.h planner: pass in_planner argument to replot() 2021-02-17 07:26:55 -08:00
diverectitem.cpp
diverectitem.h
divetextitem.cpp
divetextitem.h
divetooltipitem.cpp cleanup: make a few ToolTipItem member functions private 2021-04-25 12:33:20 -07:00
divetooltipitem.h cleanup: make a few ToolTipItem member functions private 2021-04-25 12:33:20 -07:00
profilewidget2.cpp profile: move checking for DiveTextItem into its own function 2021-04-26 08:24:28 -07:00
profilewidget2.h profile: remove enableToolbar() signal 2021-04-10 14:15:35 -07:00
qmlprofile.cpp profile: remove force parameter from ProfileWidget2::plotDive() 2021-04-10 14:15:35 -07:00
qmlprofile.h mobile/profile: listen to dive changes and redraw profile 2020-12-21 13:12:37 -08:00
ruleritem.cpp profile: pass dive to RulerItem 2021-01-10 15:57:39 -08:00
ruleritem.h profile: pass dive to RulerItem 2021-01-10 15:57:39 -08:00
tankitem.cpp cleanup: constify TankItem::setData() 2021-01-20 10:01:50 -08:00
tankitem.h cleanup: constify TankItem::setData() 2021-01-20 10:01:50 -08:00