blob: 868611760e7bb071e4b2709d59f5628554a99002 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import QtQuick 2.7
GridView {
width: 405
height: 200
cellWidth: width / 9
cellHeight: height / 2
// Ensure that the property is available in QML.
onKeyNavigationEnabledChanged: {}
model: 18
delegate: Rectangle { objectName: "delegate"; width: 10; height: 10; color: "green" }
}
|