subsurface/commands
Berthold Stoeger 0d011231e6 desktop: unglobalize ComboBox-models
The combo-boxes (cylinder type, weightsystem, etc.) were controlled
by global models. Keeping these models up-to-date was very combersome
and buggy.

Create a new model everytime a combobox is opened. Ultimately it
might even be better to create a copy of the strings and switch
to simple QStringListModel. Set data in the core directly and
don't do this via the models.

The result is much simpler and easier to handle.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-16 08:56:49 +12:00
..
CMakeLists.txt undo: add device related undo commands 2020-10-25 13:59:04 -07:00
command.cpp undo: pass divecomputer number to EditProfile command 2023-04-16 20:23:59 +02:00
command.h core: make owning pointers a top-level features 2023-04-16 20:23:59 +02:00
command_base.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_base.h core: make owning pointers a top-level features 2023-04-16 20:23:59 +02:00
command_device.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_device.h undo/device: adjust device management infrastructure 2021-08-18 13:22:02 -07:00
command_divelist.cpp core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_divelist.h core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_divesite.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_divesite.h mobile: remove GpsLocation 2021-09-13 11:21:34 -07:00
command_edit.cpp desktop: unglobalize ComboBox-models 2024-04-16 08:56:49 +12:00
command_edit.h undo: pass divecomputer number to EditProfile command 2023-04-16 20:23:59 +02:00
command_edit_trip.cpp selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_edit_trip.h selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_event.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
command_event.h undo: set dive mode to CCR in undo command, not profile code 2021-01-11 09:31:36 -08:00
command_filter.cpp core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_filter.h core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_pictures.cpp cleanup: more Coverity silencing 2024-01-17 14:23:19 -08:00
command_pictures.h undo: make adding of pictures undoable 2020-05-06 13:58:09 -07:00