|
|
|
@ -14,7 +14,6 @@ ElDialog { |
|
|
|
iconSource: '../../../icons/lock.png' |
|
|
|
iconSource: '../../../icons/lock.png' |
|
|
|
|
|
|
|
|
|
|
|
width: parent.width * 2/3 |
|
|
|
width: parent.width * 2/3 |
|
|
|
height: parent.height * 1/3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
anchors.centerIn: parent |
|
|
|
anchors.centerIn: parent |
|
|
|
|
|
|
|
|
|
|
|
@ -78,7 +77,6 @@ ElDialog { |
|
|
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
ColumnLayout { |
|
|
|
width: parent.width |
|
|
|
width: parent.width |
|
|
|
height: parent.height |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Label { |
|
|
|
Label { |
|
|
|
text: [qsTr('Enter PIN'), qsTr('Enter New PIN'), qsTr('Re-enter New PIN')][_phase] |
|
|
|
text: [qsTr('Enter PIN'), qsTr('Enter New PIN'), qsTr('Re-enter New PIN')][_phase] |
|
|
|
@ -109,8 +107,6 @@ ElDialog { |
|
|
|
color: constants.colorError |
|
|
|
color: constants.colorError |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Item { Layout.fillHeight: true; Layout.preferredWidth: 1 } |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
FontMetrics { |
|
|
|
FontMetrics { |
|
|
|
|