aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/wearable.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/wearable/wearable.qml')
-rw-r--r--examples/quickcontrols2/wearable/wearable.qml12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/quickcontrols2/wearable/wearable.qml b/examples/quickcontrols2/wearable/wearable.qml
index b1ba2c2a..8d596665 100644
--- a/examples/quickcontrols2/wearable/wearable.qml
+++ b/examples/quickcontrols2/wearable/wearable.qml
@@ -49,22 +49,24 @@
****************************************************************************/
import QtQuick 2.7
-import QtQuick.Window 2.0
+import QtQuick.Controls 2.0
import "qml"
import "qml/Style"
-Window {
- id: rootWindow
+ApplicationWindow {
+ id: window
visible: true
width: UIStyle.displayWidth
height: UIStyle.displayHeight
- color: UIStyle.colorQtGray1
-
title: qsTr("Wearable")
+ background: Image {
+ source: "images/background/HomeBackground.png"
+ }
+
MainContainer {
anchors.fill: parent
}