subsurface/qt-models
Berthold Stoeger 7a443423bc cleanup: generalize ExtraDataModel to display data of any dc
The goal here is to remove a dependency on displayed_dive.
While doing so, make the model more general and display any dc.
Pass in the dc of the current dive instead of displayed dive,
since all other tabs are already converted to show data of
the current dive. The QStrings are cached since we generate
them anyway, so we may just keep them. Thus, there is no
danger of the dc becoming invalid.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-05-07 08:46:15 -07:00
..
cleanertablemodel.cpp
cleanertablemodel.h CylindersModel: fold CHANGED() macro into setData() 2020-04-07 00:13:35 +02:00
CMakeLists.txt mobile: remove no longer used DiveListModel 2020-03-10 09:25:57 -07:00
completionmodels.cpp code cleanup: replace use of toStdVector() 2020-01-10 02:37:03 +09:00
completionmodels.h
cylindermodel.cpp core: always keep an empty cylinder at the end of the cylinder array 2020-05-01 12:36:28 +02:00
cylindermodel.h undo: show multiple dive warning when editing equipment 2020-04-07 00:13:35 +02:00
divecomputerextradatamodel.cpp cleanup: generalize ExtraDataModel to display data of any dc 2020-05-07 08:46:15 -07:00
divecomputerextradatamodel.h cleanup: generalize ExtraDataModel to display data of any dc 2020-05-07 08:46:15 -07:00
divecomputermodel.cpp
divecomputermodel.h
diveimportedmodel.cpp Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
diveimportedmodel.h Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
divelocationmodel.cpp cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
divelocationmodel.h cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
divepicturemodel.cpp undo: make picture (media) deletion undoable 2020-05-06 13:58:09 -07:00
divepicturemodel.h undo: make picture (media) deletion undoable 2020-05-06 13:58:09 -07:00
diveplannermodel.cpp planner: remove conditional command-calls for mobile 2020-05-04 10:42:07 +02:00
diveplannermodel.h planner: send plan in calculatedPlanNotes 2020-05-04 10:42:07 +02:00
diveplotdatamodel.cpp cleanup: remove DivePlotDataModel::diveId 2020-04-30 14:14:13 -07:00
diveplotdatamodel.h cleanup: remove DivePlotDataModel::diveId 2020-04-30 14:14:13 -07:00
divesiteimportmodel.cpp
divesiteimportmodel.h
divesummarymodel.cpp mobile/dive-summary: use 64bit integers for statistics 2020-03-31 08:42:20 -07:00
divesummarymodel.h mobile/summary: add section headers 2020-02-08 10:29:36 -08:00
divetripmodel.cpp cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
divetripmodel.h cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
filtermodels.cpp cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
filtermodels.h cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
gpslistmodel.cpp cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
gpslistmodel.h Cleanup: Make constructor of singletons private 2019-10-04 09:19:10 -07:00
maplocationmodel.cpp Filter: split out filter from model 2019-11-19 21:13:40 -08:00
maplocationmodel.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
messagehandlermodel.cpp debug output: ensure our debug output is captured on Android 2020-04-18 09:00:21 -07:00
messagehandlermodel.h
mobilelistmodel.cpp cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
mobilelistmodel.h cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
models.cpp Cylinders: access cylinders with get_cylinder() 2019-11-09 19:19:04 +01:00
models.h
tankinfomodel.cpp cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp undo: show multiple dive warning when editing equipment 2020-04-07 00:13:35 +02:00
weightmodel.h undo: show multiple dive warning when editing equipment 2020-04-07 00:13:35 +02:00
weightsysteminfomodel.cpp cleanup: invert control-flow when resetting the core structures 2020-05-07 08:43:27 -07:00
weightsysteminfomodel.h
yearlystatisticsmodel.cpp Core: dynamically allocate the result of get_gas_used() 2019-11-09 19:19:04 +01:00
yearlystatisticsmodel.h