|
import QtQuick
|
|
import QmlBench
|
|
import QtQuick.Controls
|
|
|
|
CreationBenchmark {
|
|
id: root
|
|
count: 20
|
|
staticCount: 250
|
|
delegate: SpinBox {
|
|
x: QmlBench.getRandom() * root.width - width
|
|
y: QmlBench.getRandom() * root.height - height
|
|
value: index / root.staticCount * to
|
|
}
|
|
}
|