subsurface/profile-widget
Berthold Stoeger 248976bf11 cleanup: factor out duplicate axis-initialization code
The axes of the profile are setup when switching into
the "ProfileState" and also when the preferences are
changed. The same code existed twice for both cases.

Let's factor it out into a single function to avoid
future divergence and confusion.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-06-27 19:05:20 +02:00
..
animationfunctions.cpp Profile: add speed parameter to Animation::* functions 2019-07-12 09:59:28 +02:00
animationfunctions.h Profile: add speed parameter to Animation::* functions 2019-07-12 09:59:28 +02:00
CMakeLists.txt profile: move DiveHandler to profile-widget folder 2020-12-12 15:52:40 -08:00
divecartesianaxis.cpp profile: use printMode flag directly in DiveCartesianAxis 2021-06-04 08:45:32 -07:00
divecartesianaxis.h profile: remove DiveCartesianAxis::maxChanged signal 2021-06-04 08:45:32 -07:00
diveeventitem.cpp profile: remove internal event-copy (fix deleting/renaming events) 2021-06-05 11:29:00 -07:00
diveeventitem.h profile: remove internal event-copy (fix deleting/renaming events) 2021-06-05 11:29:00 -07: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 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
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: remove DiveAmbPressureItem 2021-05-08 13:40:24 +02:00
diveprofileitem.h profile: remove DiveAmbPressureItem 2021-05-08 13:40:24 +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 Cleanup: move error reporting function declarations to errorhelper.h 2019-08-08 16:26:30 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
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 cleanup: factor out duplicate axis-initialization code 2021-06-27 19:05:20 +02:00
profilewidget2.h cleanup: factor out duplicate axis-initialization code 2021-06-27 19:05:20 +02: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