mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-29 12:22:52 +03:00
34 lines
800 B
QML
34 lines
800 B
QML
import QtQuick 2.6
|
|
import QtQuick.Controls 1.4
|
|
import QtQuick.Layouts 1.1
|
|
import QtQuick.Controls.Styles 1.4
|
|
import QtQuick.Dialogs 1.2
|
|
|
|
Dialog {
|
|
id: passwordPrompt
|
|
title: qsTr("Enter password")
|
|
standardButtons: StandardButton.Ok | StandardButton.Cancel
|
|
|
|
property string password: password.text
|
|
property bool remember: rememberPassword.checked
|
|
|
|
ColumnLayout {
|
|
RowLayout {
|
|
Label {
|
|
text: qsTr("Password: ")
|
|
}
|
|
TextField {
|
|
id: password
|
|
echoMode: TextInput.Password
|
|
Layout.fillWidth: true
|
|
}
|
|
}
|
|
RowLayout {
|
|
CheckBox {
|
|
id: rememberPassword
|
|
text: qsTr("Remember password")
|
|
}
|
|
}
|
|
}
|
|
}
|