diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-07-02 12:27:53 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-07-06 10:41:09 +0000 |
commit | 36c40a1cebe522e2655ab05d4e461eddbed364c7 (patch) | |
tree | b8d714cd20904933384e04a1209790c2a8625d18 /examples/quick/controls/theme | |
parent | 44cb549108913757277bd266c64aac9b2f6e6e8e (diff) |
Remove non-color properties from Theme
Better start with a minimal set. It will be also easier to transition
from Theme to Palette if it gets done.
Change-Id: Ic9951ac5b913f99a84e2b8efb9ae7f8d61177aee
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'examples/quick/controls/theme')
-rw-r--r-- | examples/quick/controls/theme/main.qml | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/quick/controls/theme/main.qml b/examples/quick/controls/theme/main.qml index f7651a4b..5c44b0a8 100644 --- a/examples/quick/controls/theme/main.qml +++ b/examples/quick/controls/theme/main.qml @@ -73,7 +73,6 @@ ApplicationWindow { id: pageComponent Control { id: page - Theme.roundness: roundedToggle.checked ? 3 : 0 Theme.accentColor: Qt.hsla(colorSlider.position, 0.5, 0.5, 1.0) Theme.backgroundColor: darkButton.checked ? "#444" : "#fff" Theme.frameColor: darkButton.checked ? "#666" : "#ccc" @@ -163,20 +162,6 @@ ApplicationWindow { color: Theme.frameColor } - ToggleButton { - id: roundedToggle - width: parent.width - text: "Rounded corners" - layoutDirection: Qt.RightToLeft - checked: true - } - - Rectangle { - width: parent.width - height: 1 - color: Theme.frameColor - } - Button { text: "Push" anchors.right: parent.right |