add support for suspend button. resolves T112

This commit is contained in:
Walter Lapchynski 2019-08-17 14:41:47 -07:00
parent 8d252238a4
commit 590321e0c6
2 changed files with 16 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
lubuntu-artwork (19.04.3) eoan; urgency=medium
* Add support for suspend button.
-- Walter Lapchynski <wxl@ubuntu.com> Sat, 17 Aug 2019 14:38:36 -0700
lubuntu-artwork (19.04.2) disco; urgency=medium
* Provide lxqt-branding so the Debian LXQt branding is not pulled in.

View File

@ -221,13 +221,22 @@ Rectangle {
dateFont.pixelSize: 12
}
ImageButton {
id: btnSuspend
height: parent.height
source: "suspend.png"
visible: sddm.canSuspend
onClicked: sddm.suspend()
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: btnReboot
}
ImageButton {
id: btnReboot
height: parent.height
source: "reboot.png"
visible: sddm.canReboot
onClicked: sddm.reboot()
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: btnShutdown
KeyNavigation.backtab: btnSuspend; KeyNavigation.tab: btnShutdown
}
ImageButton {