Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/LockScreenUi.qml
Show First 20 Lines • Show All 411 Lines • ▼ Show 20 Line(s) | 389 | SessionManagementScreen { | |||
---|---|---|---|---|---|
412 | Keys.onLeftPressed: userList.decrementCurrentIndex() | 412 | Keys.onLeftPressed: userList.decrementCurrentIndex() | ||
413 | Keys.onRightPressed: userList.incrementCurrentIndex() | 413 | Keys.onRightPressed: userList.incrementCurrentIndex() | ||
414 | Keys.onEnterPressed: initSwitchSession() | 414 | Keys.onEnterPressed: initSwitchSession() | ||
415 | Keys.onReturnPressed: initSwitchSession() | 415 | Keys.onReturnPressed: initSwitchSession() | ||
416 | Keys.onEscapePressed: mainStack.pop() | 416 | Keys.onEscapePressed: mainStack.pop() | ||
417 | 417 | | |||
418 | PlasmaComponents.Button { | 418 | PlasmaComponents.Button { | ||
419 | Layout.fillWidth: true | 419 | Layout.fillWidth: true | ||
420 | font.pointSize: theme.defaultFont.pointSize + 1 | ||||
420 | // the magic "-1" vtNumber indicates the "New Session" entry | 421 | // the magic "-1" vtNumber indicates the "New Session" entry | ||
421 | text: userListCurrentModelData.vtNumber === -1 ? i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Start New Session") : i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Switch Session") | 422 | text: userListCurrentModelData.vtNumber === -1 ? i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Start New Session") : i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Switch Session") | ||
422 | onClicked: initSwitchSession() | 423 | onClicked: initSwitchSession() | ||
423 | } | 424 | } | ||
424 | 425 | | |||
425 | actionItems: [ | 426 | actionItems: [ | ||
426 | ActionButton { | 427 | ActionButton { | ||
427 | iconSource: "go-previous" | 428 | iconSource: "go-previous" | ||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |