Changeset View
Changeset View
Standalone View
Standalone View
src/qml/Main.qml
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Line(s) | 145 | globalDrawer: Kirigami.OverlayDrawer { | |||
---|---|---|---|---|---|
157 | contentItem: Config { | 157 | contentItem: Config { | ||
158 | id: configView | 158 | id: configView | ||
159 | 159 | | |||
160 | QQC2.ScrollBar.vertical: QQC2.ScrollBar {} | 160 | QQC2.ScrollBar.vertical: QQC2.ScrollBar {} | ||
161 | 161 | | |||
162 | header: QQC2.Control { | 162 | header: QQC2.Control { | ||
163 | height: effectsGalleryHeading.height + Kirigami.Units.largeSpacing | 163 | height: effectsGalleryHeading.height + Kirigami.Units.largeSpacing | ||
164 | Kirigami.Heading { | 164 | Kirigami.Heading { | ||
165 | id: effectsGalleryHeading | 165 | id: effectsGalleryHeading | ||
ngraham: Seems unrelated. | |||||
166 | level: 1 | 166 | level: 1 | ||
167 | color: Kirigami.Theme.textColor | 167 | color: Kirigami.Theme.textColor | ||
168 | elide: Text.ElideRight | 168 | elide: Text.ElideRight | ||
169 | text: i18n("Effects Gallery") | 169 | text: i18n("Effects Gallery") | ||
170 | } | 170 | } | ||
171 | } | 171 | } | ||
172 | } | 172 | } | ||
173 | } | 173 | } | ||
Show All 20 Lines | 193 | Rectangle { | |||
194 | anchors.fill: parent | 194 | anchors.fill: parent | ||
195 | color: "black" | 195 | color: "black" | ||
196 | z: -1 | 196 | z: -1 | ||
197 | } | 197 | } | ||
198 | 198 | | |||
199 | VideoItem { | 199 | VideoItem { | ||
200 | surface: videoSurface1 | 200 | surface: videoSurface1 | ||
201 | anchors.fill: parent | 201 | anchors.fill: parent | ||
202 | | ||||
203 | ColumnLayout { | | |||
204 | spacing: Kirigami.Units.smallSpacing | | |||
205 | anchors.margins: Kirigami.Units.smallSpacing | | |||
206 | anchors.top: parent.top | | |||
207 | anchors.left: parent.left | | |||
208 | visible: devicesModel.count>1 | | |||
209 | | ||||
210 | Repeater { | | |||
211 | model: devicesModel | | |||
212 | delegate: Button { | | |||
213 | width: 30 | | |||
214 | iconName: "camera-web" | | |||
215 | tooltip: display | | |||
216 | onClicked: devicesModel.playingDeviceUdi = udi | | |||
217 | } | | |||
218 | } | | |||
219 | } | | |||
220 | } | 202 | } | ||
221 | 203 | | |||
222 | Text { | 204 | Text { | ||
223 | anchors { | 205 | anchors { | ||
224 | horizontalCenter: parent.horizontalCenter | 206 | horizontalCenter: parent.horizontalCenter | ||
225 | top: parent.top | 207 | top: parent.top | ||
226 | margins: 20 | 208 | margins: 20 | ||
227 | } | 209 | } | ||
Show All 10 Lines |
Seems unrelated.