subsurface/desktop-widgets/tab-widgets
Berthold Stoeger ea0c030770 undo: split replanDive and editProfile commands
These two actions were using the same command with a flag
controlling the name of the command, which is shown in
the undo menu.

However, the replanDive does much more (such as changing
the notes) and in the future we may want to be more
fine-grained with respect to profile editing. Therefore,
split these commands into two separate ones.

Moreover, make the editProfile command more flexible.
Pass an enum describing the action instead and also
a counter indicating how many points have been
moved or removed.

Finally, don't consume the input dive in the editProfile
command, because we will want to keep the original dive
while editing the profile.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2022-03-12 18:32:22 +01:00
..
maintab.cpp undo: split replanDive and editProfile commands 2022-03-12 18:32:22 +01:00
maintab.h cleanup: remove unused MainTab::refreshDisplayedDiveSite() 2022-03-06 11:45:47 +01:00
maintab.ui core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
TabBase.cpp desktop: automatically pick a good theme title color 2020-11-04 14:47:10 -08:00
TabBase.h desktop: automatically pick a good theme title color 2020-11-04 14:47:10 -08:00
TabDiveEquipment.cpp cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
TabDiveEquipment.h cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
TabDiveEquipment.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveExtraInfo.cpp cleanup: generalize ExtraDataModel to display data of any dc 2020-05-07 08:46:15 -07:00
TabDiveExtraInfo.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDiveExtraInfo.ui Cleanup: Move dive-equipment tab into own translation units 2019-04-15 10:30:04 +12:00
TabDiveInformation.cpp Don't attempt to compute SAC for CCR dives 2021-11-24 11:03:51 -08:00
TabDiveInformation.h desktop: automatically pick a good theme title color 2020-11-04 14:47:10 -08:00
TabDiveInformation.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDivePhotos.cpp cleanup: replace membuffer by membufferpp in C-code 2021-07-23 11:22:43 -07:00
TabDivePhotos.h Write dive data as video subtitles 2019-04-16 20:38:19 +02:00
TabDivePhotos.ui Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDiveSite.cpp desktop: fix saving of column-widths of device and site tables 2020-11-07 11:37:51 -08:00
TabDiveSite.h desktop: fix saving of column-widths of device and site tables 2020-11-07 11:37:51 -08:00
TabDiveSite.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveStatistics.cpp desktop: fix div-by-zero when selecting multiple invalid dives 2021-10-11 20:53:41 +03:00
TabDiveStatistics.h desktop: move MinMaxAvgWidget to TabDiveStatistics 2020-10-26 20:56:56 -07:00
TabDiveStatistics.ui Reorganise the current statistics tab 2020-11-04 11:34:26 -08:00