Changeset View
Changeset View
Standalone View
Standalone View
sddm-theme/Main.qml
Show First 20 Lines • Show All 341 Lines • ▼ Show 20 Line(s) | 333 | Login { | |||
---|---|---|---|---|---|
342 | 342 | | |||
343 | onLoginRequest: { | 343 | onLoginRequest: { | ||
344 | root.notificationMessage = "" | 344 | root.notificationMessage = "" | ||
345 | sddm.login(username, password, sessionButton.currentIndex) | 345 | sddm.login(username, password, sessionButton.currentIndex) | ||
346 | } | 346 | } | ||
347 | 347 | | |||
348 | actionItems: [ | 348 | actionItems: [ | ||
349 | ActionButton { | 349 | ActionButton { | ||
350 | iconSource: "go-previous" | 350 | iconSource: "system-suspend" | ||
351 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Back") | 351 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Suspend") | ||
352 | onClicked: sddm.suspend() | ||||
353 | enabled: sddm.canSuspend | ||||
354 | visible: !inputPanel.keyboardActive | ||||
355 | }, | ||||
356 | ActionButton { | ||||
357 | iconSource: "system-reboot" | ||||
358 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Restart") | ||||
359 | onClicked: sddm.reboot() | ||||
360 | enabled: sddm.canReboot | ||||
361 | visible: !inputPanel.keyboardActive | ||||
362 | }, | ||||
363 | ActionButton { | ||||
364 | iconSource: "system-shutdown" | ||||
365 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") | ||||
366 | onClicked: sddm.powerOff() | ||||
367 | enabled: sddm.canPowerOff | ||||
368 | visible: !inputPanel.keyboardActive | ||||
369 | }, | ||||
370 | ActionButton { | ||||
371 | iconSource: "system-switch-user" | ||||
372 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","List Users") | ||||
352 | onClicked: mainStack.pop() | 373 | onClicked: mainStack.pop() | ||
374 | visible: !inputPanel.keyboardActive | ||||
davidedmundson: should this also have
visible: !inputPanel.keyboardActive
? | |||||
353 | } | 375 | } | ||
354 | ] | 376 | ] | ||
355 | } | 377 | } | ||
356 | } | 378 | } | ||
357 | 379 | | |||
358 | //Footer | 380 | //Footer | ||
359 | RowLayout { | 381 | RowLayout { | ||
360 | id: footer | 382 | id: footer | ||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |
should this also have
visible: !inputPanel.keyboardActive
?