mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
49616c1842
commit
9de296f3dd
4 changed files with 229 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue