forked from Konstantin2/CallMyPhone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OptionsForm.ui.qml
93 lines (85 loc) · 2.35 KB
/
OptionsForm.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
import QtQuick 2.4
import QtQuick.Controls 2.2
Item {
id: item1
width: 630
height: 400
property alias button: button
property alias phone_url: phone_url
property alias phone_user: phone_user
property alias phone_passwd: phone_passwd
property alias outgoing_uri: outgoing_uri
Grid {
id: grid
anchors.leftMargin: 4
anchors.topMargin: 60
columns: 2
spacing: 6
anchors.fill: parent
Label {
id: label
text: qsTr("Адрес телефона")
font.pointSize: 16
}
TextField {
id: phone_url
width: 400
text: settings.phone_url
// anchors.right: parent.right
// anchors.rightMargin: 200
// anchors.right: parent.right
// anchors.rightMargin: 20
font.pixelSize: 16
}
Label {
id: label1
text: qsTr("Пользователь")
font.pointSize: 16
}
TextField {
id: phone_user
width: 400
text: settings.phone_user
// anchors.right: parent.right
// anchors.rightMargin: 20
font.pixelSize: 16
}
Label {
id: label2
text: qsTr("Пароль")
font.pointSize: 16
}
TextInput {
id: phone_passwd
width: 400
text: settings.phone_passwd
// anchors.right: parent.right
// anchors.rightMargin: 11
echoMode: TextInput.Password
font.pixelSize: 16
}
Label {
id: label3
text: qsTr("Ваш номер")
font.pointSize: 16
}
TextField {
id: outgoing_uri
width: 400
text: settings.outgoing_uri
// anchors.right: parent.right
// anchors.rightMargin: 20
font.pixelSize: 16
}
}
Button {
id: button
y: 246
text: qsTr("Сохранить")
anchors.left: parent.left
anchors.leftMargin: 130
anchors.right: parent.right
anchors.rightMargin: 152
font.pointSize: 16
}
}