diff options
Diffstat (limited to 'src/benchmarks/auto/creation/quick.validators/delegates_intvalidator.qml')
-rw-r--r-- | src/benchmarks/auto/creation/quick.validators/delegates_intvalidator.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/benchmarks/auto/creation/quick.validators/delegates_intvalidator.qml b/src/benchmarks/auto/creation/quick.validators/delegates_intvalidator.qml new file mode 100644 index 0000000..f99040b --- /dev/null +++ b/src/benchmarks/auto/creation/quick.validators/delegates_intvalidator.qml @@ -0,0 +1,16 @@ +import QtQuick 2.0 +import QmlBench 1.0 + +// Tests the creation of IntValidator +CreationBenchmark { + id: root; + count: 50; + staticCount: 2500; + delegate: Item { + property IntValidator validator: IntValidator { + top: 100 + bottom: 0 + } + } +} + |