-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConfigFormular.ui.qml
136 lines (120 loc) · 2.58 KB
/
ConfigFormular.ui.qml
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import QtQuick 2.4
import QtQuick.Controls 2.5
import QtQuick.Controls.Styles 1.4
Rectangle {
id: config
width: 400
height: 400
color: "#e7e6e6"
property alias configTitle: configTitle
property alias passwordField: passwordField
property alias loginField: loginField
property alias urlField: urlField
property alias config: config
property alias configCancelButton: configCancelButton
property alias configOkButton: configOkButton
Label {
id: configLabel
y: 8
width: 132
height: 27
color: "#000000"
text: qsTr("Config Dialog")
anchors.left: parent.left
anchors.leftMargin: 8
font.bold: true
font.pointSize: 13
font.family: "Arial"
}
Label {
id: configTitle
x: 184
y: 62
width: 88
height: 18
text: qsTr("NextCloud")
font.pointSize: 11
font.weight: Font.ExtraLight
anchors.horizontalCenter: parent.horizontalCenter
}
Grid {
id: grid
y: 106
height: 294
anchors.right: parent.right
anchors.rightMargin: 0
anchors.left: parent.left
anchors.leftMargin: 0
anchors.bottom: parent.bottom
anchors.bottomMargin: 0
}
Label {
id: urlLabel
x: 60
y: 120
width: 28
height: 26
text: qsTr("Url:")
font.pointSize: 11
}
TextField {
id: urlField
x: 156
y: 120
text: qsTr("")
placeholderText: "Url to Nextcloud Server"
}
Label {
id: loginLabel
x: 60
y: 191
width: 45
height: 25
text: qsTr("Login:")
font.pointSize: 11
}
TextField {
id: loginField
x: 156
y: 184
text: qsTr("")
placeholderText: "Login Name"
}
Label {
id: label1
x: 58
y: 253
width: 72
height: 22
text: qsTr("Password:")
font.pointSize: 11
}
TextField {
id: passwordField
x: 156
y: 244
text: qsTr("")
placeholderText: "Password"
echoMode: TextInput.Password
}
ToolButton {
id: configOkButton
x: 60
y: 325
width: 80
height: 40
text: qsTr("OK")
}
ToolButton {
id: configCancelButton
x: 274
y: 325
width: 82
height: 40
text: qsTr("Cancel")
}
}
/*##^## Designer {
D{i:1;anchors_x:8}D{i:3;anchors_width:400;anchors_x:0}
}
##^##*/