diff options
Diffstat (limited to 'basicsuite/qt5-cinematicdemo/content/Switch.qml')
-rw-r--r-- | basicsuite/qt5-cinematicdemo/content/Switch.qml | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |