Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/MainBlock.qml
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 30 | SessionManagementScreen { | |||
---|---|---|---|---|---|
48 | 48 | | |||
49 | PlasmaComponents.TextField { | 49 | PlasmaComponents.TextField { | ||
50 | id: passwordBox | 50 | id: passwordBox | ||
51 | Layout.fillWidth: true | 51 | Layout.fillWidth: true | ||
52 | 52 | | |||
53 | placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Password") | 53 | placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Password") | ||
54 | focus: true | 54 | focus: true | ||
55 | echoMode: TextInput.Password | 55 | echoMode: TextInput.Password | ||
56 | inputMethodHints: Qt.ImhHiddenText | Qt.ImhSensitiveData | Qt.ImhNoAutoUppercase | Qt.ImhNoPredictiveText | ||||
56 | enabled: !authenticator.graceLocked | 57 | enabled: !authenticator.graceLocked | ||
57 | revealPasswordButtonShown: true | 58 | revealPasswordButtonShown: true | ||
58 | 59 | | |||
59 | onAccepted: startLogin() | 60 | onAccepted: startLogin() | ||
60 | 61 | | |||
61 | //if empty and left or right is pressed change selection in user switch | 62 | //if empty and left or right is pressed change selection in user switch | ||
62 | //this cannot be in keys.onLeftPressed as then it doesn't reach the password box | 63 | //this cannot be in keys.onLeftPressed as then it doesn't reach the password box | ||
63 | Keys.onPressed: { | 64 | Keys.onPressed: { | ||
Show All 27 Lines |