Commit c2c5de27 authored by Don Gagne's avatar Don Gagne

Add theme selection

parent 69cc3141
......@@ -11,6 +11,24 @@ Rectangle {
property var palette: QGCPalette { colorGroupEnabled: true }
color: palette.window
Column {
Row {
ExclusiveGroup { id: themeGroup }
QGCRadioButton {
text: "Light"
exclusiveGroup: themeGroup
onClicked: { palette.globalTheme = QGCPalette.Light }
}
QGCRadioButton {
text: "Dark"
exclusiveGroup: themeGroup
onClicked: { palette.globalTheme = QGCPalette.Dark }
}
}
Row {
spacing: 30
......@@ -467,4 +485,5 @@ Rectangle {
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment