aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-07-07 13:58:29 +0200
committerMitch Curtis <mitch.curtis@qt.io>2017-07-10 11:15:25 +0000
commit73a38b2c740b9c0afeb828c16ba56114eaddc9a9 (patch)
tree969092a84585f63d4212dd7eb1a2ee21aa8e59ef /tests
parent7fffd12ab19278ce0f91f490c9070905ec4f2c28 (diff)
Add Drawer to testbench
Change-Id: I4268a8ea1cd26fe3fe3f88460152ef15b0e28502 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/testbench/testbench.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/manual/testbench/testbench.qml b/tests/manual/testbench/testbench.qml
index bdda4c99..78825f9b 100644
--- a/tests/manual/testbench/testbench.qml
+++ b/tests/manual/testbench/testbench.qml
@@ -89,6 +89,13 @@ ApplicationWindow {
enabled: enabledMenuItem.checked
ToolButton {
+ text: "\u2630"
+ onClicked: drawer.open()
+ }
+
+ ToolSeparator {}
+
+ ToolButton {
text: "ToolButton"
hoverEnabled: true
ToolTip.text: text
@@ -250,6 +257,12 @@ ApplicationWindow {
Pane {
anchors.fill: parent
+ Drawer {
+ id: drawer
+ width: parent.width * 0.33
+ height: parent.height
+ }
+
Flickable {
anchors.fill: parent
contentHeight: flow.height