diff options
Diffstat (limited to 'tests/benchmarks/qmlbench/creation/delegates_groupbox.qml')
-rw-r--r-- | tests/benchmarks/qmlbench/creation/delegates_groupbox.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/benchmarks/qmlbench/creation/delegates_groupbox.qml b/tests/benchmarks/qmlbench/creation/delegates_groupbox.qml new file mode 100644 index 00000000..146cd400 --- /dev/null +++ b/tests/benchmarks/qmlbench/creation/delegates_groupbox.qml @@ -0,0 +1,18 @@ +import QtQuick 2.0 +import QmlBench 1.0 +import QtQuick.Controls 2.0 + +CreationBenchmark { + id: root + count: 20 + staticCount: 1000 + delegate: GroupBox { + x: QmlBench.getRandom() * root.width - width + y: QmlBench.getRandom() * root.height - height + title: "GroupBox" + Item { + implicitWidth: 100 + implicitHeight: 100 + } + } +} |