subsurface/qt-models
Stefan Fuchs 4158a4c7de init_deco correctly identify previous dives and report overlapping dives
When changing the date/time of a dive in the planner the dive may end
up in a totaly new position in respect to date/time of other dives in
dive list table. It can be moved to the past or the future before or after
other existing dives. It also could overlap with an existing dive.

This change enables identification of a new "virtual" dive list position
and based on this starts looking for previous dives.
Then it (as before the change) does init the deco calculation with any
applicable previous dive and surface interval.
If some of these applicable dives overlap it returns a neg. surface time
which is then used in the planner notes to prohibit display of results.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-10-18 23:19:13 +02:00
..
cleanertablemodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
cleanertablemodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
CMakeLists.txt qt-models/cmake: build maplocationmodel.cpp 2017-07-28 07:31:11 -07:00
completionmodels.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
completionmodels.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
cylindermodel.cpp Planner: Autom. move first datapoint gas to first gaslist position 2017-10-16 17:14:17 +02:00
cylindermodel.h Planner: Autom. move first datapoint gas to first gaslist position 2017-10-16 17:14:17 +02:00
divecomputerextradatamodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divecomputerextradatamodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divecomputermodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divecomputermodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
diveimportedmodel.cpp DiveImportedModel: be consistent with last = -1 2017-07-09 16:04:31 -07:00
diveimportedmodel.h QML UI: clear the previous list when downloading 2017-06-16 01:22:44 -07:00
divelistmodel.cpp QML UI: add downloaded dives to dive list 2017-05-28 11:54:33 -07:00
divelistmodel.h QML UI: add downloaded dives to dive list 2017-05-28 11:54:33 -07:00
divelocationmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divelocationmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divepicturemodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divepicturemodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
diveplannermodel.cpp init_deco correctly identify previous dives and report overlapping dives 2017-10-18 23:19:13 +02:00
diveplannermodel.h Correctly name member function gasChange of DivePlannerPointsModel 2017-10-16 17:14:17 +02:00
diveplotdatamodel.cpp Find current gasmix for heatmap 2017-10-18 06:34:15 -04:00
diveplotdatamodel.h Find current gasmix for heatmap 2017-10-18 06:34:15 -04:00
divesitepicturesmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divesitepicturesmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divetripmodel.cpp Display units in dive list table based on prefs option 2017-10-09 11:49:29 +03:00
divetripmodel.h Display units in dive list table based on prefs option 2017-10-09 11:49:29 +03:00
filtermodels.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
filtermodels.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
gpslistmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
gpslistmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
maplocationmodel.cpp Switch new files to unix line endings 2017-07-28 22:01:36 -07:00
maplocationmodel.h Map: mark function as override 2017-07-28 22:03:22 -07:00
messagehandlermodel.cpp Android: write appLog to file 2017-07-09 17:40:29 -07:00
messagehandlermodel.h Make message handler write to console as well 2017-06-11 13:55:41 -07:00
models.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
models.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
ssrfsortfilterproxymodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
ssrfsortfilterproxymodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
tankinfomodel.cpp tankinfomodel.cpp: clamp row index to [0 - MAX_TANK_INFO] 2017-06-15 14:48:49 -07:00
tankinfomodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
treemodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
treemodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weightmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weightmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weigthsysteminfomodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weigthsysteminfomodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
yearlystatisticsmodel.cpp Creation of dive duration string and surface interval string 2017-05-26 15:50:52 -07:00
yearlystatisticsmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00