aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/qml/Settings
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-03-13 08:42:48 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-03-13 09:31:41 +0000
commitb2f0c3ff02e2eab13f5204f027edf6a7f1e58bdb (patch)
tree3e320b62baa537b450db89748561cb8ea4e3cb14 /examples/quickcontrols2/wearable/qml/Settings
parentbb66378c0d37098444ffa80ec5e9a87dfa5ab1cf (diff)
Wearable: utilize the styling system
Change-Id: I6b7068c0416cdd16a98752241f6c3105652c9c08 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/wearable/qml/Settings')
-rw-r--r--examples/quickcontrols2/wearable/qml/Settings/SettingsMain.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Settings/SettingsMain.qml b/examples/quickcontrols2/wearable/qml/Settings/SettingsMain.qml
index 67a84ad1..45a050c9 100644
--- a/examples/quickcontrols2/wearable/qml/Settings/SettingsMain.qml
+++ b/examples/quickcontrols2/wearable/qml/Settings/SettingsMain.qml
@@ -50,7 +50,7 @@
import QtQuick 2.7
import QtQuick.Controls 2.0 as QQC2
-import "../Common"
+import "../Style"
Item {
Item {
@@ -86,7 +86,7 @@ Item {
width: 64
source: "../../images/settings/bluetooth.png"
}
- WSwitch {
+ QQC2.Switch {
id: bluetoothSwitch
anchors.verticalCenter: parent.verticalCenter
checked: settingsData.bluetooth.state
@@ -100,7 +100,7 @@ Item {
width: 64
source: "../../images/settings/wifi.png"
}
- WSwitch {
+ QQC2.Switch {
id: wirelessSwitch
anchors.verticalCenter: parent.verticalCenter
checked: settingsData.wireless.state
@@ -123,7 +123,7 @@ Item {
width: 64
source: "../../images/settings/brightness.png"
}
- WSlider {
+ QQC2.Slider {
id: brightnessSlider
anchors.horizontalCenter: parent.horizontalCenter
value: settingsData.brightness.value
@@ -140,7 +140,7 @@ Item {
width: 64
source: "../../images/settings/contrast.png"
}
- WSlider {
+ QQC2.Slider {
id: contrastSlider
anchors.horizontalCenter: parent.horizontalCenter
value: settingsData.contrast.value