mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: move theme setting into preferences
And reorganize settings and preferences a bit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dac9ce578b
commit
694e833f90
2 changed files with 52 additions and 38 deletions
|
|
@ -40,6 +40,39 @@ Kirigami.Page {
|
|||
Layout.columnSpan: 2
|
||||
}
|
||||
|
||||
Kirigami.Heading {
|
||||
text: qsTr("Theme")
|
||||
level: 3
|
||||
Layout.topMargin: Kirigami.Units.largeSpacing
|
||||
Layout.bottomMargin: Kirigami.Units.largeSpacing / 2
|
||||
Layout.columnSpan: 2
|
||||
}
|
||||
|
||||
RadioButton {
|
||||
text: qsTr("Blue")
|
||||
checked: subsurfaceTheme.currentTheme === "Blue"
|
||||
Layout.columnSpan: 2
|
||||
onClicked: {
|
||||
blueTheme()
|
||||
}
|
||||
}
|
||||
RadioButton {
|
||||
text: qsTr("Pink")
|
||||
checked: subsurfaceTheme.currentTheme === "Pink"
|
||||
Layout.columnSpan: 2
|
||||
onClicked: {
|
||||
pinkTheme()
|
||||
}
|
||||
}
|
||||
RadioButton {
|
||||
text: qsTr("Dark")
|
||||
checked: subsurfaceTheme.currentTheme === "Dark"
|
||||
Layout.columnSpan: 2
|
||||
onClicked: {
|
||||
darkTheme()
|
||||
}
|
||||
}
|
||||
|
||||
Kirigami.Heading {
|
||||
text: qsTr("Subsurface GPS data webservice")
|
||||
level: 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue