mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
divesummary: add DiveSummary class to shared and backend
Create DiveSummary class in backend-shared and make the DiveSummary calculation results available to QML. This adds a loop over all dives (could have been done with a model, but the models available to mobile are very limited, so use the basic way). [Dirk Hohndel: renamed the results variable and combined a couple of commits] Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bb13065a75
commit
6cd46bee06
6 changed files with 222 additions and 1 deletions
|
@ -108,6 +108,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \
|
|||
../../core/subsurface-qt/CylinderObjectHelper.cpp \
|
||||
../../core/subsurface-qt/DiveObjectHelper.cpp \
|
||||
../../core/subsurface-qt/DiveListNotifier.cpp \
|
||||
../../backend-shared/divesummary.cpp \
|
||||
../../backend-shared/exportfuncs.cpp \
|
||||
../../backend-shared/plannershared.cpp \
|
||||
../../mobile-widgets/qmlinterface.cpp \
|
||||
|
@ -242,6 +243,7 @@ HEADERS += \
|
|||
../../core/subsurface-qt/CylinderObjectHelper.h \
|
||||
../../core/subsurface-qt/DiveObjectHelper.h \
|
||||
../../core/subsurface-qt/DiveListNotifier.h \
|
||||
../../backend-shared/divesummary.h \
|
||||
../../backend-shared/exportfuncs.h \
|
||||
../../backend-shared/plannershared.h \
|
||||
../../mobile-widgets/qmlinterface.h \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue