mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
78b556575a
"donation" pages into one
35 lines
762 B
QML
35 lines
762 B
QML
// WizardPasswordInput.qml
|
|
|
|
import QtQuick 2.0
|
|
|
|
Item {
|
|
property alias password: password.text
|
|
signal changed(string password)
|
|
|
|
|
|
TextInput {
|
|
id : password
|
|
anchors.fill: parent
|
|
horizontalAlignment: TextInput.AlignHCenter
|
|
verticalAlignment: TextInput.AlignVCenter
|
|
font.family: "Arial"
|
|
font.pixelSize: 32
|
|
renderType: Text.NativeRendering
|
|
color: "#35B05A"
|
|
passwordCharacter: "•"
|
|
echoMode: TextInput.Password
|
|
focus: true
|
|
Keys.onReleased: {
|
|
changed(text)
|
|
}
|
|
}
|
|
|
|
Rectangle {
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
anchors.bottom: parent.bottom
|
|
height: 1
|
|
color: "#DBDBDB"
|
|
}
|
|
}
|