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
|
@ -3,6 +3,7 @@
|
|||
set(SUBSURFACE_MOBILE_SRCS
|
||||
qmlinterface.cpp
|
||||
qmlmanager.cpp
|
||||
themeinterface.cpp
|
||||
qml/kirigami/src/columnview.cpp
|
||||
qml/kirigami/src/delegaterecycler.cpp
|
||||
qml/kirigami/src/enums.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue