aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2020-07-18 16:45:50 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2020-07-18 16:45:50 +0200
commit7d11099e5afd1f16c811ccbe954a158105be36ab (patch)
tree61f5eb08c7ccd19a6b4947ee1900d49e25fac32e /main.qml
parentbc375c354abee8132ca1bb585c8c5ca99f7f9eba (diff)
downloadRWA.Support.DesktopApp-7d11099e5afd1f16c811ccbe954a158105be36ab.tar.gz
RWA.Support.DesktopApp-7d11099e5afd1f16c811ccbe954a158105be36ab.tar.bz2
RWA.Support.DesktopApp-7d11099e5afd1f16c811ccbe954a158105be36ab.zip
Add pinChange() function
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml10
1 files changed, 8 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index 20a1da6..1e6b242 100644
--- a/main.qml
+++ b/main.qml
@@ -84,8 +84,14 @@ Window {
id: pin_text
x: 235
width: 210
- height: 50
- text: qsTr("0 1 A 2 3 B")
+ height: 28
+ // ':' translation info
+ //: Do not translate!
+ //: This is just the pin which is used to authenticate to remote web app (django) frontend
+ text: qsTr("%1").arg(pin)
+ property string pin: "-----"
+ font.letterSpacing: 10
+ anchors.horizontalCenterOffset: 0
font.pixelSize: 26
anchors.horizontalCenter: your_pin_text.horizontalCenter
anchors.top: your_pin_text.bottom