summaryrefslogtreecommitdiffstats
path: root/basicsuite/qt5-cinematicdemo/content
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/qt5-cinematicdemo/content')
-rw-r--r--basicsuite/qt5-cinematicdemo/content/SettingsView.qml4
-rw-r--r--basicsuite/qt5-cinematicdemo/content/Switch.qml8
2 files changed, 6 insertions, 6 deletions
diff --git a/basicsuite/qt5-cinematicdemo/content/SettingsView.qml b/basicsuite/qt5-cinematicdemo/content/SettingsView.qml
index 7944803..4499a8c 100644
--- a/basicsuite/qt5-cinematicdemo/content/SettingsView.qml
+++ b/basicsuite/qt5-cinematicdemo/content/SettingsView.qml
@@ -127,8 +127,8 @@ Item {
Switch {
text: "Do you l-o-v-e colors?"
checked: settings.showColors
- onText: "Yes"
- offText: "No!"
+ textOn: "Yes"
+ textOff: "No!"
onCheckedChanged: {
settings.showColors = checked;
}
diff --git a/basicsuite/qt5-cinematicdemo/content/Switch.qml b/basicsuite/qt5-cinematicdemo/content/Switch.qml
index 967c03f..0124658 100644
--- a/basicsuite/qt5-cinematicdemo/content/Switch.qml
+++ b/basicsuite/qt5-cinematicdemo/content/Switch.qml
@@ -6,8 +6,8 @@ Item {
property alias text: textItem.text
property bool checked: false
- property string onText: "On"
- property string offText: "Off"
+ property string textOn: "On"
+ property string textOff: "Off"
QtObject {
id: priv
@@ -120,7 +120,7 @@ Item {
color: "#000000"
font.pixelSize: 18
font.bold: true
- text: onText
+ text: textOn
}
Text {
anchors.verticalCenter: parent.verticalCenter
@@ -129,7 +129,7 @@ Item {
color: "#ffffff"
font.pixelSize: 18
font.bold: true
- text: offText
+ text: textOff
}
Image {