1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-01-24 07:36:39 +00:00
This commit is contained in:
Quentin Rouland 2025-01-14 13:05:09 +01:00
parent 200964246e
commit fd3ab95b27
6 changed files with 14 additions and 8 deletions

View File

@ -21,10 +21,10 @@ MainView {
//TODO use parameters to impove passphrase dialog
var passphraseDialog = PopupUtils.open(Qt.resolvedUrl("dialogs/PassphraseDialog.qml"));
passphraseDialog.activateFocus();
var validated = function (passphrase) {
var validated = function validated(passphrase) {
responsePassphraseDialog(false, passphrase);
};
var canceled = function () {
var canceled = function canceled() {
responsePassphraseDialog(true, "");
};
passphraseDialog.validated.connect(validated);

View File

@ -95,6 +95,7 @@ Page {
font.pixelSize: 72
color: theme.palette.normal.backgroundText
}
}
Flow {

View File

@ -48,7 +48,6 @@ Page {
color: theme.palette.normal.backgroundText
}
Rectangle {
width: parent.width
height: units.gu(1)
@ -60,7 +59,9 @@ Page {
Component.onCompleted: {
for (var i = 0; i < model.modelData.userIds.length; ++i) {
userIdsModel.append({"model": model.modelData.userIds[i]})
userIdsModel.append({
"model": model.modelData.userIds[i]
});
}
}
}
@ -75,6 +76,7 @@ Page {
Repeater {
model: userIdsModel
Text {
width: parent.width
horizontalAlignment: Text.AlignHCenter
@ -82,6 +84,7 @@ Page {
text: modelData.uid
color: theme.palette.normal.backgroundText
}
}
Rectangle {
@ -106,7 +109,9 @@ Page {
height: units.gu(1)
color: theme.palette.normal.background
}
}
}
Component {