diff options
author | Daniel Smith <Daniel.Smith@qt.io> | 2020-07-23 10:15:50 +0000 |
---|---|---|
committer | Daniel Smith <Daniel.Smith@qt.io> | 2020-08-20 11:32:22 +0000 |
commit | 7e952c345c86c4f4012358361f65eda544280512 (patch) | |
tree | 4f6df6b2b1d1ac7daaff1ee48e8e59f66c72c41b | |
parent | b0964c4e044cbaee507ccc87d80e74ac11e61f03 (diff) |
5.15: Revert "Add test for large layout where items change dynamically"5.15
This reverts commit b3af0d17f3d1a2e732f7538ccee80e398c59ba8e.
Reason for revert: This test is for Qt6+ only and should not be included in qt5.
Change-Id: Ia4577756f821b6a612d38110e274e8740f398324
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
-rw-r--r-- | benchmarks/auto/layouts/gridlayout_large.qml | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/benchmarks/auto/layouts/gridlayout_large.qml b/benchmarks/auto/layouts/gridlayout_large.qml deleted file mode 100644 index 340a468..0000000 --- a/benchmarks/auto/layouts/gridlayout_large.qml +++ /dev/null @@ -1,36 +0,0 @@ -import QtQuick 2.2 -import QmlBench 1.0 -import QtQuick.Layouts 1.3 - -Benchmark { - id: root; - count: 50; - staticCount: 1000; - - // For each frame, change each child item of the layout: - // * Layout.rowSpan - // * Layout.columnSpan - - property int frameCounter : 0 - onTChanged: { - frameCounter++ - } - GridLayout { - columns: 100 - Repeater { - id: repeater - model: root.count - Rectangle { - color: Qt.hsla((index / 50) % 1, 1.0, 0.8) - Layout.columnSpan: (index * 3) % 17 + 1 + frameCounter % 10 - Layout.rowSpan: (index * 5) % 17 + 1 + frameCounter % 10 - implicitWidth: 0 - implicitHeight: 0 - Layout.fillWidth: true - Layout.fillHeight: true - } - } - } -} - - |