aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-07-20 11:05:11 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-07-21 11:27:45 +0000
commit426854af0a4c17cc5c6ce98a4b34ba97573e7521 (patch)
tree3bba8e110634e72b233aeda21a512bae86e8b6da /tests/manual
parent98cfcabe8accf733d8ef280889d7be8205a837ad (diff)
Add ToolSeparator
ToolSeparator is used to visually distinguish between groups of items in a toolbar by separating them with a line. It can be used in horizontal or vertical toolbars. Task-number: QTBUG-54862 Change-Id: Ie68e680510428ad19e7f80268063af07b61100eb Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/testbench/main.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 7b36c1df..11bcb84d 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -125,6 +125,18 @@ ApplicationWindow {
text: "Disabled"
enabled: false
}
+
+ ToolSeparator {}
+
+ ToolButton {
+ text: "1"
+ }
+ ToolButton {
+ text: "2"
+ }
+
+ ToolSeparator {}
+
Item {
Layout.fillWidth: true
}