aboutsummaryrefslogtreecommitdiff
path: root/main.qml
blob: 31ebb0d2e736b60bae914dbd12ac0578c616e0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import QtQuick 2.9
import QtQuick.Window 2.2
import QtQuick.Extras 1.4
import QtQuick.Controls 2.3

Window {
    id: window
    visible: true
    width: 400
    height: 125
    opacity: 1
    title: qsTr("Remote Support for your Desktop")

    Text {
        id: dbus_api_status_text
        y: 89
        text: qsTr("Unbekannter Status des Dienstes")
        font.family: "Verdana"
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 5
        anchors.left: parent.left
        anchors.leftMargin: 5
        font.pixelSize: 12
    }

    StatusIndicator {
        id: dbus_api_status_indicator
        y: 110
        width: 15
        height: 15
        color: "#73d216"
        anchors.bottom: dbus_api_status_text.bottom
        anchors.bottomMargin: 0
        anchors.left: dbus_api_status_text.right
        anchors.leftMargin: 5
        visible: true
        active: false
    }

    DelayButton {
        id: start_support_button
        width: 150
        height: 40
        text: qsTr("Dienst starten")
        font.bold: true
        anchors.top: your_pin_text.top
        anchors.topMargin: 0
        anchors.left: parent.left
        anchors.leftMargin: 5
        font.family: "Verdana"
        checkable: false
        autoRepeat: true
        autoExclusive: false
        display: AbstractButton.TextOnly
        checked: false
    }

    Text {
        id: your_pin_text
        width: 210
        height: 21
        text: qsTr("Zugangspin zu deinem Computer")
        clip: false
        anchors.top: parent.top
        anchors.topMargin: 20
        anchors.left: start_support_button.right
        anchors.leftMargin: 25
        font.family: "Verdana"
        fontSizeMode: Text.Fit
        font.pixelSize: 12
    }

    Text {
        id: pin_text
        x: 235
        width: 210
        height: 50
        text: qsTr("0 1 A 2 3 B")
        font.pixelSize: 26
        anchors.horizontalCenter: your_pin_text.horizontalCenter
        anchors.top: your_pin_text.bottom
        anchors.topMargin: 0
        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}
}
 ##^##*/