-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathmain.qml
More file actions
33 lines (27 loc) · 721 Bytes
/
Copy pathmain.qml
File metadata and controls
33 lines (27 loc) · 721 Bytes
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
26
27
28
29
30
31
32
33
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
ApplicationWindow {
visible: true
width: 640
height: 600
title: qsTr("Hello World")
Column {
spacing: 15
Label {
text: "Simple Grid"
}
Switch {
id: visibleAgeColumnSwitchId
text: "Age column visible"
}
ExampleGrid1 {
ageColumn.visible: visibleAgeColumnSwitchId.checked
}
Label {
text: "Sortable Grid, click column headers to sort"
}
AdvancedExample {
}
}
}