implement theme file storage
This commit is contained in:
parent
c53f0c2c41
commit
a44b6f5e44
2 changed files with 41 additions and 8 deletions
|
|
@ -61,6 +61,23 @@ StyledWindow {
|
|||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
StyledText {
|
||||
text: "Theme Selector"
|
||||
font.pixelSize: 18
|
||||
}
|
||||
RowLayout {
|
||||
Repeater {
|
||||
model: Theme.themes
|
||||
delegate: StyledButton {
|
||||
required property var modelData
|
||||
text: modelData
|
||||
onClicked: Theme.currentTheme = modelData
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
StyledText {
|
||||
text: "Switch"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue