From 9de296f3dd6fc93ad4cfa68528cfa733e585e352 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 11 Feb 2019 16:13:01 +0100 Subject: mobile-widgets: add themeInterface Currently subsurfaceTheme resides in main.qml, where it does not naturally belong. Add C++ class that will replace subsurfaceTheme in main.qml in a 1-1 manner. This opens future posibilities - on top of the 3 themes, allow users to select colors/fonts - add stylesheets to Template* components - make day/night shift automatically. Signed-off-by: jan Iversen Signed-off-by: Dirk Hohndel --- 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 afe2e10c5..aafb52549 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -112,6 +112,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \ ../../backend-shared/plannershared.cpp \ ../../mobile-widgets/qmlinterface.cpp \ ../../mobile-widgets/qmlmanager.cpp \ + ../../mobile-widgets/themeinterface.cpp \ ../../qt-models/divelistmodel.cpp \ ../../qt-models/diveplotdatamodel.cpp \ ../../qt-models/gpslistmodel.cpp \ @@ -245,6 +246,7 @@ HEADERS += \ ../../backend-shared/plannershared.h \ ../../mobile-widgets/qmlinterface.h \ ../../mobile-widgets/qmlmanager.h \ + ../../mobile-widgets/themeinterface.h \ ../../map-widget/qmlmapwidgethelper.h \ ../../qt-models/divelistmodel.h \ ../../qt-models/diveplotdatamodel.h \ -- cgit v1.2.3-70-g09d2