Changeset View
Changeset View
Standalone View
Standalone View
sddm-theme/Login.qml
1 | import "components" | 1 | import "components" | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | import QtQuick 2.0 | 3 | import QtQuick 2.0 | ||
4 | import QtQuick.Layouts 1.2 | 4 | import QtQuick.Layouts 1.2 | ||
5 | 5 | | |||
6 | import org.kde.plasma.core 2.0 as PlasmaCore | 6 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
7 | import org.kde.plasma.components 2.0 as PlasmaComponents | 7 | import org.kde.plasma.components 2.0 as PlasmaComponents | ||
8 | 8 | | |||
9 | SessionManagementScreen { | 9 | SessionManagementScreen { | ||
10 | 10 | | |||
11 | property bool showUsernamePrompt: false | 11 | property bool showUsernamePrompt: !showUserList | ||
davidedmundson: can you move the SDDM specific code here please. | |||||
I can move it here if you think it's better to implement option 1 (see next comment) or if there's a way to change the visibility of userListView from here. antlarr: I can move it here if you think it's better to implement option 1 (see next comment) or if… | |||||
12 | 12 | | |||
13 | signal loginRequest(string username, string password) | 13 | signal loginRequest(string username, string password) | ||
14 | 14 | | |||
15 | /* | 15 | /* | ||
16 | * Login has been requested with the following username and password | 16 | * Login has been requested with the following username and password | ||
17 | * If username field is visible, it will be taken from that, otherwise from the "name" property of the currentIndex | 17 | * If username field is visible, it will be taken from that, otherwise from the "name" property of the currentIndex | ||
18 | */ | 18 | */ | ||
19 | function startLogin() { | 19 | function startLogin() { | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |
can you move the SDDM specific code here please.