subsurface/profile-widget
Berthold Stoeger 145f70aab5 Undo: implement split-out of dive computer
Allow splitting out a dive computer into a distinct dive. This
is realized by generating a base class from SplitDive.

This turned out to be more cumbersome than expected: we don't
know a-priori which of the split dives will come first. Since
the undo-command saves the indices where the dives will be insert,
these have to be calculated. This is an premature optimization,
which makes more pain than necessary. Let's remove it and
simply determine the insertion index when executing the command.

Original code by Linus Torvalds <torvalds@linux-foundation.org>.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-04-04 09:38:12 -07:00
..
animationfunctions.cpp core/tests: merge Animations and add vars. to qPrefDisplay 2018-08-25 11:49:47 -07:00
animationfunctions.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
CMakeLists.txt CMake: add headers to targets 2019-03-27 14:07:32 -07:00
divecartesianaxis.cpp profile-widget: remove SettingsObjectWrapper and update qPref calls 2018-08-15 16:11:39 -07:00
divecartesianaxis.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
diveeventitem.cpp Show a bit of surface degassing in the planner 2019-03-29 06:51:12 -07:00
diveeventitem.h Show a bit of surface degassing in the planner 2019-03-29 06:51:12 -07: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 Dive video: paint duration-bar above thumbnail in profile plot 2018-07-23 15:58:55 -07:00
divepixmapitem.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
diveprofileitem.cpp Profile: ensure the correct settingsChanged() function is called 2019-03-20 21:18:06 +01:00
diveprofileitem.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07: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 Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.cpp Profile: show correct info box for multiple DCs 2018-10-20 06:50:52 -04:00
divetooltipitem.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
profilewidget2.cpp Undo: implement split-out of dive computer 2019-04-04 09:38:12 -07:00
profilewidget2.h Undo: implement split-out of dive computer 2019-04-04 09:38:12 -07:00
qmlprofile.cpp profile: make profile self contained 2018-06-09 17:16:53 +02:00
qmlprofile.h profile: make profile self contained 2018-06-09 17:16:53 +02:00
ruleritem.cpp Cleanup: pass const-reference to RulerItem2::setPlotInfo() 2019-03-19 16:06:14 -07:00
ruleritem.h Cleanup: pass const-reference to RulerItem2::setPlotInfo() 2019-03-19 16:06:14 -07:00
tankitem.cpp Cleanup: remove all Q_NULLPTR instances 2019-04-02 07:34:46 -07:00
tankitem.h Cleanup: pass gasmix by value 2018-08-23 05:16:38 -07:00