diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-09-13 15:19:03 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-09-27 11:39:51 +0000 |
commit | fba7e3cf5c8ad287ceaaeb381989159d8baa96ec (patch) | |
tree | 9538bd874c1acc836f0fa73f85491cc973f95469 /examples/quickcontrols2/wearable/qml/Style/Switch.qml | |
parent | fb6763fddfce329924ccb3678fbdf7875978a7ca (diff) |
wearable: add demo modev5.12.0-beta1
This change adds a switch in the settings page that
enables demo mode. In this mode, each screen and UI control
will be visited and interacted with in a loop until the
screen is tapped, at which point it returns to the launcher page.
Change-Id: Icb306e23985d8c1f82725a95ed7f2e34b3d6c03f
Reviewed-by: Mikhail Svetkin <mikhail.svetkin@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/quickcontrols2/wearable/qml/Style/Switch.qml')
-rw-r--r-- | examples/quickcontrols2/wearable/qml/Style/Switch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Style/Switch.qml b/examples/quickcontrols2/wearable/qml/Style/Switch.qml index 6f663920..b1597737 100644 --- a/examples/quickcontrols2/wearable/qml/Style/Switch.qml +++ b/examples/quickcontrols2/wearable/qml/Style/Switch.qml @@ -78,7 +78,7 @@ T.Switch { background: Rectangle { radius: 13 - color: control.checked ? UIStyle.colorQtAuxGreen2 : "#E6173D" + color: control.checked ? UIStyle.colorQtAuxGreen2 : UIStyle.colorRed border.color: control.checked ? UIStyle.colorQtAuxGreen2 : UIStyle.themeColorQtGray6 } |