aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-11-23 11:03:43 +0100
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-11-23 12:03:30 +0000
commitbd7bdf9752bc07b44bb10231dd9c23d0e9c643d5 (patch)
tree9a5477d0fe873bb8c6ad0f321a85ec2039dd9fb7 /tests
parent501c1a54f7e080541edbfaf54ba03c4b72ff9342 (diff)
Visualize Material Button's highlighted state
Change-Id: I1c638c0b70a0ba8d0f5cfe1d7e41fd514c38c1c9 Task-number: QTBUG-49551 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/testbench/main.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 84e9ef66..d7b013c9 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -126,17 +126,22 @@ ApplicationWindow {
pressed: true
}
Button {
+ text: "Disabled"
+ enabled: false
+ }
+ Button {
text: "Highlighted"
highlighted: true
}
Button {
- text: "Pressed + Highlighted"
+ text: "Pressed + HL"
pressed: true
highlighted: true
}
Button {
- text: "Disabled"
+ text: "HL + Disabled"
enabled: false
+ highlighted: true
}
}