aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/controls/drawer/main.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-04-08 18:16:13 +0200
committerJari-Pekka Nurmi <jpnurmi@theqtcompany.com>2015-04-08 19:18:02 +0300
commit7b971c28e6098b629b8e9e3e38a9465a3f1bd459 (patch)
treec5c475894671c0cc7e38d59287d3c2d6ba46128b /examples/quick/controls/drawer/main.qml
parent1c0edf002a50a765a66349d733cf170f4a4024ef (diff)
Rename Style to Theme
Change-Id: I0186cd36f0b42ca015b70a09af27f8a3517d4a60 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'examples/quick/controls/drawer/main.qml')
-rw-r--r--examples/quick/controls/drawer/main.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/quick/controls/drawer/main.qml b/examples/quick/controls/drawer/main.qml
index 8ab67829..55385a6a 100644
--- a/examples/quick/controls/drawer/main.qml
+++ b/examples/quick/controls/drawer/main.qml
@@ -53,7 +53,7 @@ ApplicationWindow {
id: content
anchors.fill: parent
anchors.margins: -1
- border.color: Style.frameColor
+ border.color: Theme.frameColor
Image {
width: window.width / 2
@@ -98,13 +98,13 @@ ApplicationWindow {
model: VisualItemModel {
Label {
text: "Settings"
- x: Style.padding
- width: parent.width - Style.padding * 2
+ x: Theme.padding
+ width: parent.width - Theme.padding * 2
lineHeight: 2.0
- color: Style.accentColor
+ color: Theme.accentColor
verticalAlignment: Text.AlignVCenter
}
- Rectangle { width: parent.width; height: 1; color: Style.frameColor }
+ Rectangle { width: parent.width; height: 1; color: Theme.frameColor }
Switch {
id: dim
text: "Dim"
@@ -113,7 +113,7 @@ ApplicationWindow {
layoutDirection: Qt.RightToLeft
enabled: effect.current != uncover
}
- Rectangle { width: parent.width; height: 1; color: Style.frameColor }
+ Rectangle { width: parent.width; height: 1; color: Theme.frameColor }
RadioButton {
id: overlay
text: "Overlay"
@@ -136,14 +136,14 @@ ApplicationWindow {
Exclusive.group: effect
layoutDirection: Qt.RightToLeft
}
- Rectangle { width: parent.width; height: 1; color: Style.frameColor }
+ Rectangle { width: parent.width; height: 1; color: Theme.frameColor }
}
Rectangle {
z: -1
anchors.fill: parent
anchors.topMargin: -1
anchors.bottomMargin: -1
- border.color: Style.frameColor
+ border.color: Theme.frameColor
}
transform: Translate {