diff options
Diffstat (limited to 'benchmarks/auto/creation/quick.controls2/delegates_menu_custom.qml')
-rw-r--r-- | benchmarks/auto/creation/quick.controls2/delegates_menu_custom.qml | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/benchmarks/auto/creation/quick.controls2/delegates_menu_custom.qml b/benchmarks/auto/creation/quick.controls2/delegates_menu_custom.qml deleted file mode 100644 index 71a5b98..0000000 --- a/benchmarks/auto/creation/quick.controls2/delegates_menu_custom.qml +++ /dev/null @@ -1,47 +0,0 @@ -import QmlBench 1.0 -import QtQuick 2.10 -import QtQuick.Controls 2.3 - -CreationBenchmark { - id: root - count: 2 - staticCount: 25 - - Component { - id: menuItemComponent - - MenuItem { - contentItem: Text { - text: parent.text - color: "navajowhite" - } - background: Rectangle { - color: "steelblue" - } - } - } - - delegate: Item { - Menu { - id: menu - title: "Root Menu" - delegate: menuItemComponent - visible: true - - Menu { - title: "Sub-menu 1" - delegate: menuItemComponent - - Menu { - title: "Sub-sub-menu" - delegate: menuItemComponent - } - } - - Menu { title: "Sub-menu 2" } - Action { text: "Action 3" } - Action { text: "Action 4" } - Action { text: "Action 5" } - } - } -} |