diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2020-07-18 16:54:08 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2020-07-18 16:54:08 +0200 |
commit | f3318eadfdb9c0f100c269d6b57bd14459f869f0 (patch) | |
tree | e32424fe2a7bec3e4edbc480dab740bb92260ed3 | |
parent | 7d11099e5afd1f16c811ccbe954a158105be36ab (diff) | |
download | RWA.Support.DesktopApp-f3318eadfdb9c0f100c269d6b57bd14459f869f0.tar.gz RWA.Support.DesktopApp-f3318eadfdb9c0f100c269d6b57bd14459f869f0.tar.bz2 RWA.Support.DesktopApp-f3318eadfdb9c0f100c269d6b57bd14459f869f0.zip |
Change layout and set default language to english
-rw-r--r-- | main.qml | 55 |
1 files changed, 27 insertions, 28 deletions
@@ -24,7 +24,7 @@ Window { Text { id: dbus_api_status_text y: 89 - text: qsTr("Unbekannter Status des Dienstes") + text: qsTr("Unknown state of service") font.family: "Verdana" anchors.bottom: parent.bottom anchors.bottomMargin: 5 @@ -49,45 +49,54 @@ Window { DelayButton { id: start_support_button - width: 150 - height: 40 - text: qsTr("Dienst starten") + x: 5 + width: 350 + height: 30 + text: qsTr("Allow remote desktop support") + anchors.top: pin_text.bottom + anchors.topMargin: 5 + anchors.horizontalCenterOffset: 0 + anchors.horizontalCenter: pin_text.horizontalCenter + wheelEnabled: false + font.wordSpacing: 0 + spacing: 0 + font.weight: Font.Normal + antialiasing: false font.bold: true - anchors.top: your_pin_text.top - anchors.topMargin: 0 - anchors.left: parent.left - anchors.leftMargin: 5 font.family: "Verdana" - checkable: false + checkable: true autoRepeat: true autoExclusive: false - display: AbstractButton.TextOnly + display: AbstractButton.TextBesideIcon checked: false } Text { id: your_pin_text width: 210 - height: 21 - text: qsTr("Zugangspin zu deinem Computer") + height: 15 + text: qsTr("Access pin to this computer") + verticalAlignment: Text.AlignVCenter + horizontalAlignment: Text.AlignHCenter + anchors.horizontalCenterOffset: 0 + anchors.horizontalCenter: parent.horizontalCenter clip: false anchors.top: parent.top - anchors.topMargin: 20 - anchors.left: start_support_button.right - anchors.leftMargin: 25 + anchors.topMargin: 15 font.family: "Verdana" fontSizeMode: Text.Fit - font.pixelSize: 12 + font.pixelSize: 16 } Text { + objectName: "pin_text" id: pin_text x: 235 width: 210 height: 28 // ':' translation info //: Do not translate! - //: This is just the pin which is used to authenticate to remote web app (django) frontend + //: The supporter needs to authenticate in the remote web app (django) frontend with this pin text: qsTr("%1").arg(pin) property string pin: "-----" font.letterSpacing: 10 @@ -95,20 +104,10 @@ Window { font.pixelSize: 26 anchors.horizontalCenter: your_pin_text.horizontalCenter anchors.top: your_pin_text.bottom - anchors.topMargin: 0 + anchors.topMargin: 5 font.family: "Verdana" horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter fontSizeMode: Text.Fit } } - - - - - -/*##^## Designer { - D{i:1;anchors_x:0}D{i:2;anchors_x:112;anchors_y:406}D{i:3;anchors_x:5;anchors_y:43} -D{i:4;anchors_x:180;anchors_y:19}D{i:5;anchors_y:48} -} - ##^##*/ |