Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/LockScreenUi.qml
Show First 20 Lines • Show All 256 Lines • ▼ Show 20 Line(s) | 256 | sessionsModel.canSwitchUser) { | |||
---|---|---|---|---|---|
257 | mainStack.pop({immediate:true}) | 257 | mainStack.pop({immediate:true}) | ||
258 | sessionsModel.startNewSession(true /* lock the screen too */) | 258 | sessionsModel.startNewSession(true /* lock the screen too */) | ||
259 | lockScreenRoot.state = '' | 259 | lockScreenRoot.state = '' | ||
260 | } else { | 260 | } else { | ||
261 | mainStack.push(switchSessionPage) | 261 | mainStack.push(switchSessionPage) | ||
262 | } | 262 | } | ||
263 | } | 263 | } | ||
264 | visible: sessionsModel.canStartNewSession && sessionsModel.canSwitchUser | 264 | visible: sessionsModel.canStartNewSession && sessionsModel.canSwitchUser | ||
265 | //Button gets cut off on smaller displays without this. | ||||
266 | anchors{ | ||||
267 | verticalCenter: parent.top | ||||
268 | } | ||||
265 | } | 269 | } | ||
266 | ] | 270 | ] | ||
267 | 271 | | |||
268 | Loader { | 272 | Loader { | ||
269 | Layout.fillWidth: true | 273 | Layout.fillWidth: true | ||
270 | Layout.preferredHeight: item ? item.implicitHeight : 0 | 274 | Layout.preferredHeight: item ? item.implicitHeight : 0 | ||
271 | active: config.showMediaControls | 275 | active: config.showMediaControls | ||
272 | source: "MediaControls.qml" | 276 | source: "MediaControls.qml" | ||
▲ Show 20 Lines • Show All 185 Lines • ▼ Show 20 Line(s) | 411 | SessionManagementScreen { | |||
458 | } | 462 | } | ||
459 | 463 | | |||
460 | 464 | | |||
461 | actionItems: [ | 465 | actionItems: [ | ||
462 | ActionButton { | 466 | ActionButton { | ||
463 | iconSource: "go-previous" | 467 | iconSource: "go-previous" | ||
464 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Back") | 468 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Back") | ||
465 | onClicked: mainStack.pop() | 469 | onClicked: mainStack.pop() | ||
470 | //Button gets cut off on smaller displays without this. | ||||
471 | anchors{ | ||||
472 | verticalCenter: parent.top | ||||
473 | } | ||||
466 | } | 474 | } | ||
467 | ] | 475 | ] | ||
468 | } | 476 | } | ||
469 | } | 477 | } | ||
470 | 478 | | |||
471 | Loader { | 479 | Loader { | ||
472 | active: root.viewVisible | 480 | active: root.viewVisible | ||
473 | source: "LockOsd.qml" | 481 | source: "LockOsd.qml" | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |