subsurface/qt-models
Berthold Stoeger 8581e213ed selection: trickle down trip selection
The trip selection code was an awkward layering violation.
Whereas dive selections due to dive undo-commands trickled
down via DiveTripModel-->MultiFilterSortModel-->DiveListView,
for trip editing, the DiveListView directly intercepted the
TripEdited signal.

Instead, mimic the dive-selection code. This is a bit longer
but more consistent and logical. The undo/redo of trip changes
is now also a "programmatical" change of the selection.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2023-04-16 20:23:59 +02:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt
completionmodels.cpp
completionmodels.h
cylindermodel.cpp planner: remove dc_number access from models 2023-04-16 20:23:59 +02:00
cylindermodel.h planner: remove dc_number access from models 2023-04-16 20:23:59 +02:00
divecomputerextradatamodel.cpp
divecomputerextradatamodel.h
diveimportedmodel.cpp core: use divelog struct in downloader code 2023-04-14 21:20:23 +02:00
diveimportedmodel.h core: use divelog in importDives() and process_imported_dives() 2023-04-14 21:20:23 +02:00
divelocationmodel.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
divelocationmodel.h
divepicturemodel.cpp cleanup: implement index_of() and index_of_if() generics 2022-10-31 19:35:15 +01:00
divepicturemodel.h
diveplannermodel.cpp planner: remove dc_number access from models 2023-04-16 20:23:59 +02:00
diveplannermodel.h planner: remove dc_number access from models 2023-04-16 20:23:59 +02:00
divesiteimportmodel.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
divesiteimportmodel.h
divesummarymodel.cpp
divesummarymodel.h
divetripmodel.cpp selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
divetripmodel.h selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
filterconstraintmodel.cpp
filterconstraintmodel.h
filtermodels.cpp selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
filtermodels.h selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
filterpresetmodel.cpp
filterpresetmodel.h
maplocationmodel.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
maplocationmodel.h
messagehandlermodel.cpp
messagehandlermodel.h
mobilelistmodel.cpp
mobilelistmodel.h
models.cpp
models.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h