From b2f0c3ff02e2eab13f5204f027edf6a7f1e58bdb Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 13 Mar 2017 08:42:48 +0100 Subject: Wearable: utilize the styling system Change-Id: I6b7068c0416cdd16a98752241f6c3105652c9c08 Reviewed-by: Mitch Curtis --- examples/quickcontrols2/wearable/qml/Settings/SettingsMain.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/quickcontrols2/wearable/qml/Settings') 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 -- cgit v1.2.3