subsurface/qt-models
Berthold Stoeger 1af4032dad planner: properly keep track of cylinder count in model
In a40b40a the cylinder-hiding functionality was changed,
which made it necessary to keep track of the number of
cylinders. Ironically, that code was removed previously,
as it was redundant. The count was not readded to the
functions called by the planner, making editing of cylinders
in the planner impossible.

I wonder more and more if the models for planner and the
equipment tab should be changed. They are too different.

Fixes #3375

Reported-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2022-01-17 13:08:46 -08:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt profile: remove DivePlotDataModel 2021-12-17 11:54:23 -08:00
completionmodels.cpp
completionmodels.h
cylindermodel.cpp planner: properly keep track of cylinder count in model 2022-01-17 13:08:46 -08:00
cylindermodel.h cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
divecomputerextradatamodel.cpp
divecomputerextradatamodel.h
diveimportedmodel.cpp
diveimportedmodel.h
divelocationmodel.cpp
divelocationmodel.h
divepicturemodel.cpp profile: display arbitrary dive 2021-04-02 13:53:23 -07:00
divepicturemodel.h
diveplannermodel.cpp cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
diveplannermodel.h planner: split DivePlannerPointsModel::remove() in two 2021-04-02 13:53:23 -07:00
divesiteimportmodel.cpp
divesiteimportmodel.h
divesummarymodel.cpp Ignore invalid dives in subsurface-mobile dive summary 2021-10-11 20:20:20 +03:00
divesummarymodel.h
divetripmodel.cpp formatting: move get_trip_title to string-format.h and split it 2021-12-17 10:36:13 -08:00
divetripmodel.h
filterconstraintmodel.cpp
filterconstraintmodel.h
filtermodels.cpp
filtermodels.h
filterpresetmodel.cpp
filterpresetmodel.h
maplocationmodel.cpp
maplocationmodel.h
messagehandlermodel.cpp cleanup: replace QRegExp with QRegularExpression 2021-10-27 12:36:49 -07:00
messagehandlermodel.h
mobilelistmodel.cpp
mobilelistmodel.h
models.cpp profile: pass dive to DiveHandler 2021-01-10 15:57:39 -08:00
models.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h