Commit fabe62fa authored by Martin Straka's avatar Martin Straka
Browse files

Added app logo and version string to PIN screen

parent 449883f2
......@@ -154,6 +154,26 @@ ApplicationWindow {
Column {
spacing: formItemVerticalSpacing
anchors.centerIn: parent
Image{
id: datovkaLogo
anchors.horizontalCenter: parent.horizontalCenter
width: imgHeight * 1.4
height: imgHeight * 1.4
source: "qrc:/datovka.png"
}
Text {
id: versionLabel
anchors.horizontalCenter: parent.horizontalCenter
color: datovkaPalette.text
text: qsTr("Version") + ": 0.0.1"
}
Rectangle {
id: blankField
width: formItemVerticalSpacing
height: headerHeight
color: "transparent"
anchors.horizontalCenter: parent.horizontalCenter
}
TextField {
id: pinCodeInput
echoMode: TextInput.Password
......@@ -190,6 +210,12 @@ ApplicationWindow {
}
}
}
Connections {
target: settings
onSendVersionData: {
versionLabel.text = qsTr("Version") + ": " + version
}
}
Connections {
target: settings
onShowPinScreen: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment