aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/GroupBox.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 /src/imports/controls/GroupBox.qml
parent1c0edf002a50a765a66349d733cf170f4a4024ef (diff)
Rename Style to Theme
Change-Id: I0186cd36f0b42ca015b70a09af27f8a3517d4a60 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/GroupBox.qml')
-rw-r--r--src/imports/controls/GroupBox.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/imports/controls/GroupBox.qml b/src/imports/controls/GroupBox.qml
index acd6f7ac..0a78011e 100644
--- a/src/imports/controls/GroupBox.qml
+++ b/src/imports/controls/GroupBox.qml
@@ -50,8 +50,8 @@ AbstractGroupBox {
contentWidth: content.children.length === 1 ? content.children[0].implicitWidth : 0
contentHeight: content.children.length === 1 ? content.children[0].implicitHeight : 0
- padding: Style.padding
- topPadding: Style.padding + (label && title ? label.implicitHeight + Style.spacing : 0)
+ padding: Theme.padding
+ topPadding: Theme.padding + (label && title ? label.implicitHeight + Theme.spacing : 0)
contentItem: Item {
id: content
@@ -66,20 +66,20 @@ AbstractGroupBox {
width: parent.width - control.leftPadding - control.rightPadding
text: control.title
- color: control.Style.textColor
+ color: control.Theme.textColor
elide: Text.ElideRight
- opacity: enabled ? 1.0 : control.Style.disabledOpacity
+ opacity: enabled ? 1.0 : control.Theme.disabledOpacity
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
frame: Rectangle {
- y: control.topPadding - control.Style.padding
+ y: control.topPadding - control.Theme.padding
width: parent.width
- height: parent.height - control.topPadding + control.Style.padding
+ height: parent.height - control.topPadding + control.Theme.padding
color: "transparent"
- radius: control.Style.roundness
- border.color: control.Style.frameColor
+ radius: control.Theme.roundness
+ border.color: control.Theme.frameColor
}
}