blob: 51395cf3c0c7c6bc373b61212f83133e65593b5e (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
|
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
Item {
id: root
// QtQuick
Accessible.name: "Foo"
LayoutMirroring.enabled: true
EnterKey.type: Qt.EnterKeyGo
//QtQuick.Layouts
Layout.minimumHeight: 3
property bool stackLayout: StackLayout.isCurrentItem // Read-only
// QtQuick.Templates
SplitView.fillWidth: true
StackView.visible: true
property int swipeView: SwipeView.index // Read only, enforceable but complicated
Flickable {
TextArea.flickable: TextArea {}
ScrollIndicator.vertical: ScrollIndicator {}
ScrollBar.vertical: ScrollBar {}
}
ToolTip.delay: 50
TableView {
delegate: Item {
property bool tumbler: Tumbler.displacement // Read only, enforceable but complicated
}
}
property bool swipeDelegate: SwipeDelegate.pressed // Read only
PropertyChanges {
// inside custom parser, can't be sensibly handled
target: root
Layout.leftMargin: 10 // qmllint disable Quick.property-changes-parsed
}
}
|