Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/LockScreenUi.qml
Show First 20 Lines • Show All 250 Lines • ▼ Show 20 Line(s) | 212 | initialItem: MainBlock { | |||
---|---|---|---|---|---|
251 | 251 | | |||
252 | Loader { | 252 | Loader { | ||
253 | Layout.fillWidth: true | 253 | Layout.fillWidth: true | ||
254 | Layout.preferredHeight: item ? item.implicitHeight : 0 | 254 | Layout.preferredHeight: item ? item.implicitHeight : 0 | ||
255 | active: config.showMediaControls | 255 | active: config.showMediaControls | ||
256 | source: "MediaControls.qml" | 256 | source: "MediaControls.qml" | ||
257 | } | 257 | } | ||
258 | } | 258 | } | ||
259 | | ||||
260 | Component.onCompleted: { | ||||
261 | if (defaultToSwitchUser) { //context property | ||||
262 | mainStack.push({ | ||||
263 | item: switchSessionPage, | ||||
264 | immediate: true}); | ||||
265 | } | ||||
266 | } | ||||
259 | } | 267 | } | ||
260 | 268 | | |||
261 | Loader { | 269 | Loader { | ||
262 | id: inputPanel | 270 | id: inputPanel | ||
263 | state: "hidden" | 271 | state: "hidden" | ||
264 | readonly property bool keyboardActive: item ? item.active : false | 272 | readonly property bool keyboardActive: item ? item.active : false | ||
265 | anchors { | 273 | anchors { | ||
266 | left: parent.left | 274 | left: parent.left | ||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |