Changeset View
Changeset View
Standalone View
Standalone View
sddm-theme/Main.qml
Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Line(s) | 190 | ActionButton { | |||
---|---|---|---|---|---|
191 | iconSource: "system-shutdown" | 191 | iconSource: "system-shutdown" | ||
192 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") | 192 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") | ||
193 | onClicked: sddm.powerOff() | 193 | onClicked: sddm.powerOff() | ||
194 | enabled: sddm.canPowerOff | 194 | enabled: sddm.canPowerOff | ||
195 | visible: !inputPanel.keyboardActive | 195 | visible: !inputPanel.keyboardActive | ||
196 | }, | 196 | }, | ||
197 | ActionButton { | 197 | ActionButton { | ||
198 | iconSource: "system-switch-user" | 198 | iconSource: "system-switch-user" | ||
199 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Type User") | 199 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Other...") | ||
200 | onClicked: mainStack.push(userPromptComponent) | 200 | onClicked: mainStack.push(userPromptComponent) | ||
201 | enabled: true | 201 | enabled: true | ||
202 | visible: !userListComponent.showUsernamePrompt && !inputPanel.keyboardActive | 202 | visible: !userListComponent.showUsernamePrompt && !inputPanel.keyboardActive | ||
203 | }] | 203 | }] | ||
204 | 204 | | |||
205 | onLoginRequest: { | 205 | onLoginRequest: { | ||
206 | root.notificationMessage = "" | 206 | root.notificationMessage = "" | ||
207 | sddm.login(username, password, sessionButton.currentIndex) | 207 | sddm.login(username, password, sessionButton.currentIndex) | ||
▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines |