blob: 2abeeb6ae91f9d6c00b55e3700c666a5276a48dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import QtQuick
Item {
width: 400
height: 300
visible: true
property alias tableView: tableView
TableView {
id: tableView
anchors.fill: parent
delegate: Rectangle {
implicitWidth: 40
implicitHeight: 20
border.width: 1
}
function positionUsingDeprecatedEnum()
{
// Using Qt.Alignment for the second argument is deprecated, but supported
positionViewAtCell(columns - 1, rows - 1, Qt.AlignBottom | Qt.AlignRight)
}
}
}
|