aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktableview/data/resetJsModelData.qml
blob: def5346147e28a1371e0fe2bdf92e1b6da2d4e35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import QtQuick

Item {
    width: 100
    height: 300

    property alias tableView: tableView

    TableView {
        id: tableView
        anchors.fill: parent
        property int modelUpdated: 0
        onModelChanged: { ++modelUpdated }
        delegate: Item {
            implicitHeight: 10
            implicitWidth: 10
        }
    }
}