@@ -53,7 +53,7 @@ Column {
53 onTextChanged: {
53 onTextChanged: {
54 pinentryFieldLabel.text = "";
54 pinentryFieldLabel.text = "";
55 for (var i = 0; i < text.length; ++i) {
55 for (var i = 0; i < text.length; ++i) {
56− pinentryFieldLabel.text += "•"
56+ pinentryFieldLabel.text += "•";
58 if (text.length === root.pinLength) {
58 if (text.length === root.pinLength) {
59 root.entered(text);
59 root.entered(text);
@@ -122,55 +122,54 @@ Column {
122 rotation: -90
122 rotation: -90
126− anchors {
126+ anchors {
127− left: parent.left
127+ left: parent.left
128− right: parent.right
128+ right: parent.right
129− margins: (parent.width - root.padWidth) / 2
129+ margins: (parent.width - root.padWidth) / 2
132− columns: 3
132+ columns: 3
134− Repeater {
134+ Repeater {
135− model: 9
135+ model: 9
137− PinPadButton {
137+ PinPadButton {
138− objectName: "pinPadButton" + (index + 1)
138+ objectName: "pinPadButton" + (index + 1)
139− width: root.padWidth / 3
139+ width: root.padWidth / 3
140− height: root.padHeight / 4
140+ height: root.padHeight / 4
141− text: index + 1
141+ text: index + 1
143− onClicked: {
143+ onClicked: {
144− pinentryField.text = pinentryField.text + text
144+ pinentryField.text = pinentryField.text + text;
149− PinPadButton {
149+ PinPadButton {
150− objectName: "pinPadButtonBack"
150+ objectName: "pinPadButtonBack"
151− width: root.padWidth / 3
151+ width: root.padWidth / 3
152− height: root.padHeight / 4
152+ height: root.padHeight / 4
153− iconName: "back"
153+ iconName: "back"
154− onClicked: root.cancel();
154+ onClicked: root.cancel();
157− PinPadButton {
157+ PinPadButton {
158− objectName: "pinPadButton0"
158+ objectName: "pinPadButton0"
159− width: root.padWidth / 3
159+ width: root.padWidth / 3
160− height: root.padHeight / 4
160+ height: root.padHeight / 4
161− text: "0"
161+ text: "0"
162− onClicked: pinentryField.text = pinentryField.text + text
162+ onClicked: pinentryField.text = pinentryField.text + text
166+ objectName: "pinPadButtonErase"
167+ width: root.padWidth / 3
168+ height: root.padHeight / 4
170+ onClicked: pinentryField.text = pinentryField.text.substring(0, pinentryField.text.length-1)
166− objectName: "pinPadButtonErase"
167− width: root.padWidth / 3
168− height: root.padHeight / 4
170− onClicked: pinentryField.text = pinentryField.text.substring(0, pinentryField.text.length-1)
176 WrongPasswordAnimation {
175 WrongPasswordAnimation {