|
|
@ -15,7 +15,7 @@ |
|
|
|
MySwitch: |
|
|
|
MySwitch: |
|
|
|
id: multibandcolor |
|
|
|
id: multibandcolor |
|
|
|
active: root.colorMode == "MultibandColor" |
|
|
|
active: root.colorMode == "MultibandColor" |
|
|
|
on_active: root.colorMode = "MultibandColor" |
|
|
|
on_active: root.colorMode = "MultibandColor" if self.active else root.colorMode |
|
|
|
MDBoxLayout: |
|
|
|
MDBoxLayout: |
|
|
|
orientation: "vertical" |
|
|
|
orientation: "vertical" |
|
|
|
Heading1: |
|
|
|
Heading1: |
|
|
@ -66,7 +66,7 @@ |
|
|
|
MySwitch: |
|
|
|
MySwitch: |
|
|
|
id: singlebandcolor |
|
|
|
id: singlebandcolor |
|
|
|
active: root.colorMode == "SinglebandColor" |
|
|
|
active: root.colorMode == "SinglebandColor" |
|
|
|
on_active: root.colorMode = "SinglebandColor" |
|
|
|
on_active: root.colorMode = "SinglebandColor" if self.active else root.colorMode |
|
|
|
Widget: |
|
|
|
Widget: |
|
|
|
MDBoxLayout: |
|
|
|
MDBoxLayout: |
|
|
|
orientation: "vertical" |
|
|
|
orientation: "vertical" |
|
|
@ -100,7 +100,7 @@ |
|
|
|
MySwitch: |
|
|
|
MySwitch: |
|
|
|
id: singelbandgrey |
|
|
|
id: singelbandgrey |
|
|
|
active: root.colorMode == "SinglebandGrey" |
|
|
|
active: root.colorMode == "SinglebandGrey" |
|
|
|
on_active: root.colorMode = "SinglebandGrey" |
|
|
|
on_active: root.colorMode = "SinglebandGrey" if self.active else root.colorMode |
|
|
|
Widget: |
|
|
|
Widget: |
|
|
|
MDBoxLayout: |
|
|
|
MDBoxLayout: |
|
|
|
orientation: "vertical" |
|
|
|
orientation: "vertical" |
|
|
|