Changeset View
Changeset View
Standalone View
Standalone View
vpn/l2tp/l2tp.ui
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <class>L2tpWidget</class> | 3 | <class>L2tpWidget</class> | ||
4 | <widget class="QWidget" name="L2tpWidget"> | 4 | <widget class="QWidget" name="L2tpWidget"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>450</width> | 9 | <width>495</width> | ||
10 | <height>388</height> | 10 | <height>422</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
14 | <item> | ||||
13 | <layout class="QFormLayout" name="formLayout"> | 15 | <layout class="QFormLayout" name="formLayout"> | ||
14 | <property name="verticalSpacing"> | | |||
15 | <number>6</number> | | |||
16 | </property> | | |||
17 | <item row="0" column="0"> | 16 | <item row="0" column="0"> | ||
18 | <widget class="QLabel" name="label_2"> | 17 | <widget class="QLabel" name="labelGateway"> | ||
19 | <property name="text"> | 18 | <property name="text"> | ||
20 | <string>Gateway:</string> | 19 | <string>Gateway:</string> | ||
21 | </property> | 20 | </property> | ||
21 | <property name="alignment"> | ||||
22 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||||
23 | </property> | ||||
24 | <property name="wordWrap"> | ||||
25 | <bool>false</bool> | ||||
26 | </property> | ||||
27 | <property name="buddy"> | ||||
28 | <cstring>gateway</cstring> | ||||
29 | </property> | ||||
22 | </widget> | 30 | </widget> | ||
23 | </item> | 31 | </item> | ||
24 | <item row="0" column="1"> | 32 | <item row="0" column="1"> | ||
25 | <widget class="QLineEdit" name="gateway"> | 33 | <widget class="QLineEdit" name="gateway"> | ||
26 | <property name="toolTip"> | 34 | <property name="toolTip"> | ||
27 | <string>L2TP server IP or name.</string> | 35 | <string>L2TP server IP or name.</string> | ||
28 | </property> | 36 | </property> | ||
29 | <property name="clearButtonEnabled"> | 37 | <property name="clearButtonEnabled"> | ||
30 | <bool>true</bool> | 38 | <bool>true</bool> | ||
31 | </property> | 39 | </property> | ||
32 | </widget> | 40 | </widget> | ||
33 | </item> | 41 | </item> | ||
34 | <item row="1" column="0"> | 42 | <item row="1" column="0"> | ||
35 | <widget class="QLabel" name="label_4"> | 43 | <widget class="QLabel" name="labelAuthType"> | ||
36 | <property name="text"> | 44 | <property name="text"> | ||
37 | <string>User name:</string> | 45 | <string>Authentication type:</string> | ||
46 | </property> | ||||
47 | <property name="alignment"> | ||||
48 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||||
49 | </property> | ||||
50 | <property name="wordWrap"> | ||||
51 | <bool>false</bool> | ||||
52 | </property> | ||||
53 | <property name="buddy"> | ||||
54 | <cstring>cmbAuthType</cstring> | ||||
38 | </property> | 55 | </property> | ||
39 | </widget> | 56 | </widget> | ||
40 | </item> | 57 | </item> | ||
41 | <item row="1" column="1"> | 58 | <item row="1" column="1"> | ||
59 | <widget class="QComboBox" name="cmbAuthType"> | ||||
60 | <property name="sizePolicy"> | ||||
61 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | ||||
62 | <horstretch>0</horstretch> | ||||
63 | <verstretch>0</verstretch> | ||||
64 | </sizepolicy> | ||||
65 | </property> | ||||
66 | <property name="toolTip"> | ||||
67 | <string>Select an authentication mode.</string> | ||||
68 | </property> | ||||
69 | <item> | ||||
70 | <property name="text"> | ||||
71 | <string>Password</string> | ||||
72 | </property> | ||||
73 | </item> | ||||
74 | <item> | ||||
75 | <property name="text"> | ||||
76 | <string>Certificates (TLS)</string> | ||||
77 | </property> | ||||
78 | </item> | ||||
79 | </widget> | ||||
80 | </item> | ||||
81 | </layout> | ||||
82 | </item> | ||||
83 | <item> | ||||
84 | <widget class="QStackedWidget" name="stackedWidget"> | ||||
85 | <widget class="QWidget" name="page"> | ||||
86 | <layout class="QFormLayout" name="formLayout_5"> | ||||
87 | <item row="0" column="0"> | ||||
88 | <widget class="QLabel" name="Label_1"> | ||||
89 | <property name="text"> | ||||
90 | <string comment="like in Username for athentication">Username:</string> | ||||
91 | </property> | ||||
92 | <property name="wordWrap"> | ||||
93 | <bool>false</bool> | ||||
94 | </property> | ||||
95 | <property name="buddy"> | ||||
96 | <cstring>username</cstring> | ||||
97 | </property> | ||||
98 | </widget> | ||||
99 | </item> | ||||
100 | <item row="0" column="1"> | ||||
42 | <widget class="QLineEdit" name="username"> | 101 | <widget class="QLineEdit" name="username"> | ||
43 | <property name="toolTip"> | 102 | <property name="toolTip"> | ||
44 | <string>Set the name used for authenticating the local system to the peer to <name>.</string> | 103 | <string><html><head/><body><p>Set the name used for authenticating the local system to the peer to &lt;name&gt;.</p></body></html></string> | ||
45 | </property> | 104 | </property> | ||
46 | <property name="clearButtonEnabled"> | 105 | <property name="clearButtonEnabled"> | ||
47 | <bool>true</bool> | 106 | <bool>true</bool> | ||
48 | </property> | 107 | </property> | ||
49 | </widget> | 108 | </widget> | ||
50 | </item> | 109 | </item> | ||
51 | <item row="2" column="0"> | 110 | <item row="1" column="0"> | ||
52 | <widget class="QLabel" name="label_5"> | 111 | <widget class="QLabel" name="Label_2"> | ||
53 | <property name="text"> | 112 | <property name="text"> | ||
54 | <string>Password:</string> | 113 | <string>Password:</string> | ||
55 | </property> | 114 | </property> | ||
115 | <property name="buddy"> | ||||
116 | <cstring>password</cstring> | ||||
117 | </property> | ||||
56 | </widget> | 118 | </widget> | ||
57 | </item> | 119 | </item> | ||
58 | <item row="2" column="1"> | 120 | <item row="1" column="1"> | ||
59 | <layout class="QHBoxLayout" name="horizontalLayout" stretch="3"> | 121 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | ||
60 | <item> | 122 | <item> | ||
61 | <widget class="PasswordField" name="password"> | 123 | <widget class="PasswordField" name="password"> | ||
124 | <property name="enabled"> | ||||
125 | <bool>true</bool> | ||||
126 | </property> | ||||
62 | <property name="toolTip"> | 127 | <property name="toolTip"> | ||
63 | <string>Password passed to PPPD when prompted for it.</string> | 128 | <string><html><head/><body><p>Password passed to PPPD when prompted for it.</p></body></html></string> | ||
64 | </property> | 129 | </property> | ||
65 | <property name="passwordModeEnabled" stdset="0"> | 130 | <property name="passwordModeEnabled" stdset="0"> | ||
66 | <bool>true</bool> | 131 | <bool>true</bool> | ||
67 | </property> | 132 | </property> | ||
68 | </widget> | 133 | </widget> | ||
69 | </item> | 134 | </item> | ||
70 | </layout> | 135 | </layout> | ||
71 | </item> | 136 | </item> | ||
72 | <item row="3" column="0"> | 137 | <item row="2" column="0"> | ||
73 | <widget class="QLabel" name="label_6"> | 138 | <widget class="QLabel" name="Label_3"> | ||
74 | <property name="text"> | 139 | <property name="text"> | ||
75 | <string>NT Domain:</string> | 140 | <string>NT Domain:</string> | ||
76 | </property> | 141 | </property> | ||
142 | <property name="buddy"> | ||||
143 | <cstring>domain</cstring> | ||||
144 | </property> | ||||
77 | </widget> | 145 | </widget> | ||
78 | </item> | 146 | </item> | ||
79 | <item row="3" column="1"> | 147 | <item row="2" column="1"> | ||
80 | <widget class="QLineEdit" name="domain"> | 148 | <widget class="QLineEdit" name="domain"> | ||
81 | <property name="toolTip"> | 149 | <property name="toolTip"> | ||
82 | <string>Append the domain name <domain> to the local host name for | 150 | <string><html><head/><body><p>Append the domain name &lt;domain&gt; to the local host name for</p><p>authentication purposes.</p></body></html></string> | ||
83 | authentication purposes.</string> | | |||
84 | </property> | | |||
85 | <property name="clearButtonEnabled"> | | |||
86 | <bool>true</bool> | | |||
87 | </property> | 151 | </property> | ||
88 | </widget> | 152 | </widget> | ||
89 | </item> | 153 | </item> | ||
90 | <item row="4" column="1"> | 154 | <item row="4" column="0" colspan="2"> | ||
91 | <widget class="Line" name="line"> | 155 | <spacer name="verticalSpace"> | ||
92 | <property name="orientation"> | 156 | <property name="orientation"> | ||
93 | <enum>Qt::Horizontal</enum> | 157 | <enum>Qt::Vertical</enum> | ||
94 | </property> | 158 | </property> | ||
95 | </widget> | 159 | <property name="sizeHint" stdset="0"> | ||
160 | <size> | ||||
161 | <width>347</width> | ||||
162 | <height>200</height> | ||||
163 | </size> | ||||
164 | </property> | ||||
165 | </spacer> | ||||
96 | </item> | 166 | </item> | ||
97 | <item row="8" column="0"> | 167 | </layout> | ||
98 | <widget class="QLabel" name="label"> | 168 | </widget> | ||
169 | <widget class="QWidget" name="page_1"> | ||||
170 | <layout class="QFormLayout" name="formLayout_2"> | ||||
171 | <item row="0" column="0"> | ||||
172 | <widget class="QLabel" name="textLabel2"> | ||||
99 | <property name="text"> | 173 | <property name="text"> | ||
100 | <string/> | 174 | <string>CA Certificate:</string> | ||
175 | </property> | ||||
176 | <property name="wordWrap"> | ||||
177 | <bool>false</bool> | ||||
178 | </property> | ||||
179 | <property name="buddy"> | ||||
180 | <cstring>userCA</cstring> | ||||
101 | </property> | 181 | </property> | ||
102 | </widget> | 182 | </widget> | ||
103 | </item> | 183 | </item> | ||
104 | <item row="9" column="0"> | 184 | <item row="0" column="1"> | ||
105 | <widget class="QLabel" name="label_3"> | 185 | <widget class="KUrlRequester" name="userCA"> | ||
106 | <property name="text"> | 186 | <property name="toolTip"> | ||
107 | <string>CA Certificate:</string> | 187 | <string><html><head/><body><p>Certificate authority (CA) file in .pem, .der, .crt, .crt or .p12 formats.</p></body></html></string> | ||
188 | </property> | ||||
189 | <property name="filter"> | ||||
190 | <string>*.pem *.der *.crt *.cer *.p12</string> | ||||
108 | </property> | 191 | </property> | ||
109 | </widget> | 192 | </widget> | ||
110 | </item> | 193 | </item> | ||
111 | <item row="10" column="0"> | 194 | <item row="1" column="0"> | ||
112 | <widget class="QLabel" name="label_7"> | 195 | <widget class="QLabel" name="textLabel3_2"> | ||
113 | <property name="text"> | 196 | <property name="text"> | ||
114 | <string>Certificate:</string> | 197 | <string>User Certificate:</string> | ||
198 | </property> | ||||
199 | <property name="wordWrap"> | ||||
200 | <bool>false</bool> | ||||
201 | </property> | ||||
202 | <property name="buddy"> | ||||
203 | <cstring>userCert</cstring> | ||||
115 | </property> | 204 | </property> | ||
116 | </widget> | 205 | </widget> | ||
117 | </item> | 206 | </item> | ||
118 | <item row="11" column="0"> | 207 | <item row="1" column="1"> | ||
119 | <widget class="QLabel" name="label_8"> | 208 | <widget class="KUrlRequester" name="userCert"> | ||
209 | <property name="toolTip"> | ||||
210 | <string><html><head/><body><p>Certificate in .pem, .der, .crt, .cer or .p12 formats.</p></body></html></string> | ||||
211 | </property> | ||||
212 | <property name="filter"> | ||||
213 | <string>*.pem *.der *.crt *.cer *.p12</string> | ||||
214 | </property> | ||||
215 | </widget> | ||||
216 | </item> | ||||
217 | <item row="2" column="0"> | ||||
218 | <widget class="QLabel" name="textLabel4"> | ||||
120 | <property name="text"> | 219 | <property name="text"> | ||
121 | <string>Private Key:</string> | 220 | <string>Private Key:</string> | ||
122 | </property> | 221 | </property> | ||
222 | <property name="wordWrap"> | ||||
223 | <bool>false</bool> | ||||
224 | </property> | ||||
225 | <property name="buddy"> | ||||
226 | <cstring>userKey</cstring> | ||||
227 | </property> | ||||
123 | </widget> | 228 | </widget> | ||
124 | </item> | 229 | </item> | ||
125 | <item row="12" column="0"> | 230 | <item row="2" column="1"> | ||
126 | <spacer name="verticalSpacer"> | 231 | <widget class="KUrlRequester" name="userKey"> | ||
127 | <property name="orientation"> | 232 | <property name="toolTip"> | ||
128 | <enum>Qt::Vertical</enum> | 233 | <string><html><head/><body><p>Private key in .pem, .der, .key, .pk8 or .p12 formats.</p></body></html></string> | ||
129 | </property> | 234 | </property> | ||
130 | <property name="sizeHint" stdset="0"> | 235 | <property name="filter"> | ||
131 | <size> | 236 | <string>*.pem *der *.key *.pk8 *.p12</string> | ||
132 | <width>20</width> | | |||
133 | <height>216</height> | | |||
134 | </size> | | |||
135 | </property> | 237 | </property> | ||
136 | </spacer> | 238 | </widget> | ||
137 | </item> | 239 | </item> | ||
138 | <item row="13" column="0" colspan="2"> | 240 | <item row="3" column="0"> | ||
241 | <widget class="QLabel" name="label_7"> | ||||
242 | <property name="text"> | ||||
243 | <string>Private Key Password:</string> | ||||
244 | </property> | ||||
245 | <property name="buddy"> | ||||
246 | <cstring>userKeyPassword</cstring> | ||||
247 | </property> | ||||
248 | </widget> | ||||
249 | </item> | ||||
250 | <item row="3" column="1"> | ||||
139 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | 251 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
140 | <item> | 252 | <item> | ||
253 | <widget class="PasswordField" name="userKeyPassword"> | ||||
254 | <property name="toolTip"> | ||||
255 | <string><html><head/><body><p>Password for private key or PKCS#12 certificate.</p></body></html></string> | ||||
256 | </property> | ||||
257 | <property name="passwordModeEnabled" stdset="0"> | ||||
258 | <bool>true</bool> | ||||
259 | </property> | ||||
260 | </widget> | ||||
261 | </item> | ||||
262 | </layout> | ||||
263 | </item> | ||||
264 | </layout> | ||||
265 | </widget> | ||||
266 | </widget> | ||||
267 | </item> | ||||
268 | <item> | ||||
269 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
270 | <item> | ||||
141 | <spacer name="horizontalSpacer"> | 271 | <spacer name="horizontalSpacer"> | ||
142 | <property name="orientation"> | 272 | <property name="orientation"> | ||
143 | <enum>Qt::Horizontal</enum> | 273 | <enum>Qt::Horizontal</enum> | ||
144 | </property> | 274 | </property> | ||
145 | <property name="sizeHint" stdset="0"> | 275 | <property name="sizeHint" stdset="0"> | ||
146 | <size> | 276 | <size> | ||
147 | <width>188</width> | 277 | <width>40</width> | ||
148 | <height>22</height> | 278 | <height>20</height> | ||
149 | </size> | 279 | </size> | ||
150 | </property> | 280 | </property> | ||
151 | </spacer> | 281 | </spacer> | ||
152 | </item> | 282 | </item> | ||
153 | <item> | 283 | <item> | ||
154 | <widget class="QPushButton" name="btnIPSecSettings"> | 284 | <widget class="QPushButton" name="btnIPSecSettings"> | ||
155 | <property name="text"> | 285 | <property name="text"> | ||
156 | <string>IPsec Settings...</string> | 286 | <string>IPsec Settings...</string> | ||
157 | </property> | 287 | </property> | ||
158 | </widget> | 288 | </widget> | ||
159 | </item> | 289 | </item> | ||
160 | <item> | 290 | <item> | ||
161 | <widget class="QPushButton" name="btnPPPSettings"> | 291 | <widget class="QPushButton" name="btnPPPSettings"> | ||
162 | <property name="text"> | 292 | <property name="text"> | ||
163 | <string>PPP Settings...</string> | 293 | <string>PPP Settings...</string> | ||
164 | </property> | 294 | </property> | ||
165 | </widget> | 295 | </widget> | ||
166 | </item> | 296 | </item> | ||
167 | </layout> | 297 | </layout> | ||
168 | </item> | 298 | </item> | ||
169 | <item row="9" column="1"> | | |||
170 | <widget class="KUrlRequester" name="urCACertificate"> | | |||
171 | <property name="enabled"> | | |||
172 | <bool>false</bool> | | |||
173 | </property> | | |||
174 | </widget> | | |||
175 | </item> | | |||
176 | <item row="10" column="1"> | | |||
177 | <widget class="KUrlRequester" name="urCertificate"> | | |||
178 | <property name="enabled"> | | |||
179 | <bool>false</bool> | | |||
180 | </property> | | |||
181 | </widget> | | |||
182 | </item> | | |||
183 | <item row="11" column="1"> | | |||
184 | <widget class="KUrlRequester" name="urPrivateKey"> | | |||
185 | <property name="enabled"> | | |||
186 | <bool>false</bool> | | |||
187 | </property> | | |||
188 | </widget> | | |||
189 | </item> | | |||
190 | <item row="7" column="0"> | | |||
191 | <widget class="QCheckBox" name="cbUseCertificate"> | | |||
192 | <property name="text"> | | |||
193 | <string>Use Certificate</string> | | |||
194 | </property> | | |||
195 | </widget> | | |||
196 | </item> | | |||
197 | </layout> | 299 | </layout> | ||
198 | </widget> | 300 | </widget> | ||
301 | <layoutdefault spacing="6" margin="11"/> | ||||
199 | <customwidgets> | 302 | <customwidgets> | ||
200 | <customwidget> | 303 | <customwidget> | ||
201 | <class>KUrlRequester</class> | 304 | <class>KUrlRequester</class> | ||
202 | <extends>QWidget</extends> | 305 | <extends>QWidget</extends> | ||
203 | <header>kurlrequester.h</header> | 306 | <header>kurlrequester.h</header> | ||
204 | </customwidget> | 307 | </customwidget> | ||
205 | <customwidget> | 308 | <customwidget> | ||
206 | <class>PasswordField</class> | 309 | <class>PasswordField</class> | ||
207 | <extends>QLineEdit</extends> | 310 | <extends>QLineEdit</extends> | ||
208 | <header>passwordfield.h</header> | 311 | <header>passwordfield.h</header> | ||
209 | </customwidget> | 312 | </customwidget> | ||
210 | </customwidgets> | 313 | </customwidgets> | ||
211 | <tabstops> | 314 | <tabstops> | ||
212 | <tabstop>gateway</tabstop> | 315 | <tabstop>gateway</tabstop> | ||
316 | <tabstop>cmbAuthType</tabstop> | ||||
213 | <tabstop>username</tabstop> | 317 | <tabstop>username</tabstop> | ||
214 | <tabstop>password</tabstop> | 318 | <tabstop>password</tabstop> | ||
215 | <tabstop>domain</tabstop> | 319 | <tabstop>domain</tabstop> | ||
320 | <tabstop>userCA</tabstop> | ||||
321 | <tabstop>userCert</tabstop> | ||||
322 | <tabstop>userKey</tabstop> | ||||
323 | <tabstop>userKeyPassword</tabstop> | ||||
216 | <tabstop>btnIPSecSettings</tabstop> | 324 | <tabstop>btnIPSecSettings</tabstop> | ||
217 | <tabstop>btnPPPSettings</tabstop> | 325 | <tabstop>btnPPPSettings</tabstop> | ||
218 | </tabstops> | 326 | </tabstops> | ||
219 | <resources/> | 327 | <resources/> | ||
220 | <connections/> | 328 | <connections> | ||
329 | <connection> | ||||
330 | <sender>cmbAuthType</sender> | ||||
331 | <signal>currentIndexChanged(int)</signal> | ||||
332 | <receiver>stackedWidget</receiver> | ||||
333 | <slot>setCurrentIndex(int)</slot> | ||||
334 | <hints> | ||||
335 | <hint type="sourcelabel"> | ||||
336 | <x>345</x> | ||||
337 | <y>76</y> | ||||
338 | </hint> | ||||
339 | <hint type="destinationlabel"> | ||||
340 | <x>488</x> | ||||
341 | <y>234</y> | ||||
342 | </hint> | ||||
343 | </hints> | ||||
344 | </connection> | ||||
345 | </connections> | ||||
221 | </ui> | 346 | </ui> |