blob: 87e0a04eddf9206d5a881f6805ad17f31a005414 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
import Qt 4.7
import Bauhaus 1.0
QWidget {
layout: QVBoxLayout {
topMargin: 0
bottomMargin: 0
leftMargin: 0
rightMargin: 0
spacing: 0
GroupBox {
finished: finishedNotify;
caption: qsTr("Flickable")
layout: VerticalLayout {
QWidget { // 1
layout: HorizontalLayout {
Label {
text: qsTr("Content Size")
}
DoubleSpinBox {
text: "W"
alignRight: false
spacing: 4
singleStep: 1;
backendValue: backendValues.contentWidth
minimum: 0;
maximum: 8000;
baseStateFlag: isBaseState;
}
DoubleSpinBox {
singleStep: 1;
text: "H"
alignRight: false
spacing: 4
backendValue: backendValues.contentHeight
minimum: 0;
maximum: 8000;
baseStateFlag: isBaseState;
}
}
} //QWidget //1
QWidget {
layout: HorizontalLayout {
Label {
text: qsTr("Flickable Direction")
}
ComboBox {
baseStateFlag: isBaseState
items : { ["AutoFlickDirection", "HorizontalFlick", "VerticalFlick", "HorizontalAndVerticalFlick"] }
currentText: backendValues.flickableDirection.value;
onItemsChanged: {
currentText = backendValues.flickableDirection.value;
}
backendValue: backendValues.flickableDirection
}
}
} //QWidget
QWidget {
layout: HorizontalLayout {
Label {
text: qsTr("Bounds Behavior")
}
ComboBox {
baseStateFlag: isBaseState
items : { ["StopAtBounds", "DragOverBounds", "DragAndOvershootBounds"] }
currentText: backendValues.boundsBehavior.value;
onItemsChanged: {
currentText = backendValues.boundsBehavior.value;
}
backendValue: backendValues.boundsBehavior
}
}
} //QWidget
QWidget {
layout: HorizontalLayout {
Label {
text:qsTr("Interactive")
}
CheckBox {
text: ""
backendValue: backendValues.interactive;
baseStateFlag: isBaseState;
checkable: true;
}
}
}// QWidget
QWidget {
layout: HorizontalLayout {
Label {
text: qsTr("Max. Velocity")
toolTip: qsTr("Maximum Flick Velocity")
}
DoubleSpinBox {
text: ""
alignRight: false
spacing: 4
singleStep: 1;
backendValue: backendValues.maximumFlickVelocity
minimum: 0;
maximum: 8000;
baseStateFlag: isBaseState;
}
}
} //QWidget
QWidget {
layout: HorizontalLayout {
Label {
text: qsTr("Deceleration")
toolTip: qsTr("Flick Deceleration")
}
DoubleSpinBox {
text: ""
alignRight: false
spacing: 4
singleStep: 1;
backendValue: backendValues.flickDeceleration
minimum: 0;
maximum: 8000;
baseStateFlag: isBaseState;
}
}
} //QWidget
}
}
}
}
|