Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/LockScreenUi.qml
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Line(s) | 210 | StackView { | |||
---|---|---|---|---|---|
217 | focus: true //StackView is an implicit focus scope, so we need to give this focus so the item inside will have it | 217 | focus: true //StackView is an implicit focus scope, so we need to give this focus so the item inside will have it | ||
218 | 218 | | |||
219 | initialItem: MainBlock { | 219 | initialItem: MainBlock { | ||
220 | id: mainBlock | 220 | id: mainBlock | ||
221 | lockScreenUiVisible: lockScreenRoot.uiVisible | 221 | lockScreenUiVisible: lockScreenRoot.uiVisible | ||
222 | 222 | | |||
223 | showUserList: userList.y + mainStack.y > 0 | 223 | showUserList: userList.y + mainStack.y > 0 | ||
224 | 224 | | |||
225 | focus: true // Drop this and hack below when porting this stackview to QQC2 | ||||
225 | Stack.onStatusChanged: { | 226 | Stack.onStatusChanged: { | ||
226 | // prepare for presenting again to the user | 227 | // prepare for presenting again to the user | ||
227 | if (Stack.status == Stack.Activating) { | 228 | if (Stack.status == Stack.Activating) { | ||
228 | mainPasswordBox.remove(0, mainPasswordBox.length) | 229 | mainPasswordBox.remove(0, mainPasswordBox.length) | ||
229 | mainPasswordBox.focus = true | 230 | mainPasswordBox.focus = true | ||
230 | } | 231 | } | ||
231 | } | 232 | } | ||
232 | userListModel: users | 233 | userListModel: users | ||
▲ Show 20 Lines • Show All 294 Lines • Show Last 20 Lines |