From 536fc05dd6acd67a459fe6decbd67071ad388df0 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 27 May 2020 08:17:06 +0200 Subject: filter: add (very primitive) filterpresetmodel Implement a trivial model to provide the filter preset names to the UI. Sadly, for now this features the QWidget/QML column / name dichotomy. However, in this simple case that shouldn't be too much of an issue. Signed-off-by: Berthold Stoeger --- packaging/ios/Subsurface-mobile.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging') diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro index a34e4ad4b..d924f5c23 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -146,6 +146,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \ ../../qt-models/models.cpp \ ../../qt-models/weightsysteminfomodel.cpp \ ../../qt-models/filterconstraintmodel.cpp \ + ../../qt-models/filterpresetmodel.cpp \ ../../profile-widget/qmlprofile.cpp \ ../../profile-widget/divecartesianaxis.cpp \ ../../profile-widget/diveeventitem.cpp \ @@ -297,6 +298,7 @@ HEADERS += \ ../../qt-models/models.h \ ../../qt-models/weightsysteminfomodel.h \ ../../qt-models/filterconstraintmodel.h \ + ../../qt-models/filterpresetmodel.h \ ../../profile-widget/qmlprofile.h \ ../../profile-widget/diveprofileitem.h \ ../../profile-widget/profilewidget2.h \ -- cgit v1.2.3-70-g09d2