diff options
author | jan Iversen <jan@casacondor.com> | 2019-02-11 16:13:01 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-26 16:42:35 -0800 |
commit | 9de296f3dd6fc93ad4cfa68528cfa733e585e352 (patch) | |
tree | e26517b46429c8737b2c906f5884d89bdccf4df2 /packaging/ios | |
parent | 49616c1842f3cf2848606b25e204b25610ce928e (diff) | |
download | subsurface-9de296f3dd6fc93ad4cfa68528cfa733e585e352.tar.gz |
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 <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios')
-rw-r--r-- | packaging/ios/Subsurface-mobile.pro | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ |