1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>NetworkConfig</class>
3 <widget class="QDialog">
5 <cstring>NetworkConfig</cstring>
7 <property name="geometry">
15 <property name="caption">
16 <string>NetworkConfig</string>
19 <property name="name">
20 <cstring>unnamed</cstring>
22 <widget class="QPushButton" row="1" column="3">
23 <property name="name">
24 <cstring>cancelButton</cstring>
26 <property name="text">
27 <string>Cancel</string>
30 <widget class="QFrame" row="0" column="0" rowspan="1" colspan="4">
31 <property name="name">
32 <cstring>frame9</cstring>
34 <property name="frameShape">
35 <enum>StyledPanel</enum>
37 <property name="frameShadow">
41 <property name="name">
42 <cstring>unnamed</cstring>
44 <widget class="QLabel" row="0" column="0">
45 <property name="name">
46 <cstring>textLabel0</cstring>
48 <property name="text">
52 <widget class="QLineEdit" row="0" column="1">
53 <property name="name">
54 <cstring>ssidEdit</cstring>
56 <property name="text">
59 <property name="toolTip" stdset="0">
60 <string>Network name (Service Set IDentifier)</string>
63 <widget class="QLabel" row="1" column="0">
64 <property name="name">
65 <cstring>textLabel1</cstring>
67 <property name="text">
68 <string>Network ID</string>
71 <widget class="QLineEdit" row="1" column="1">
72 <property name="name">
73 <cstring>idstrEdit</cstring>
75 <property name="text">
78 <property name="toolTip" stdset="0">
79 <string>Network Identification String</string>
82 <widget class="QLabel" row="2" column="0">
83 <property name="name">
84 <cstring>textLabel2</cstring>
86 <property name="text">
87 <string>Authentication</string>
90 <widget class="QComboBox" row="2" column="1">
92 <property name="text">
93 <string>Plaintext or static WEP</string>
97 <property name="text">
98 <string>IEEE 802.1X</string>
102 <property name="text">
103 <string>WPA-Personal (PSK)</string>
107 <property name="text">
108 <string>WPA-Enterprise (EAP)</string>
112 <property name="text">
113 <string>WPA2-Personal (PSK)</string>
117 <property name="text">
118 <string>WPA2-Enterprise (EAP)</string>
121 <property name="name">
122 <cstring>authSelect</cstring>
125 <widget class="QLabel" row="3" column="0">
126 <property name="name">
127 <cstring>textLabel3</cstring>
129 <property name="text">
130 <string>Encryption</string>
133 <widget class="QComboBox" row="3" column="1">
135 <property name="text">
136 <string>None</string>
140 <property name="text">
145 <property name="text">
146 <string>TKIP</string>
150 <property name="text">
151 <string>CCMP</string>
154 <property name="name">
155 <cstring>encrSelect</cstring>
158 <widget class="QLabel" row="4" column="0">
159 <property name="name">
160 <cstring>textLabel4</cstring>
162 <property name="text">
166 <widget class="QLineEdit" row="4" column="1">
167 <property name="name">
168 <cstring>pskEdit</cstring>
170 <property name="enabled">
173 <property name="echoMode">
174 <enum>Password</enum>
176 <property name="toolTip" stdset="0">
177 <string>WPA/WPA2 pre-shared key or passphrase</string>
179 <property name="whatsThis" stdset="0">
183 <widget class="QLabel" row="5" column="0">
184 <property name="name">
185 <cstring>textLabel5</cstring>
187 <property name="text">
188 <string>EAP method</string>
191 <widget class="QComboBox" row="5" column="1">
192 <property name="name">
193 <cstring>eapSelect</cstring>
195 <property name="enabled">
199 <widget class="QLabel" row="6" column="0">
200 <property name="name">
201 <cstring>textLabel6</cstring>
203 <property name="text">
204 <string>Identity</string>
207 <widget class="QLineEdit" row="6" column="1">
208 <property name="name">
209 <cstring>identityEdit</cstring>
211 <property name="enabled">
214 <property name="toolTip" stdset="0">
215 <string>Username/Identity for EAP methods</string>
218 <widget class="QLabel" row="7" column="0">
219 <property name="name">
220 <cstring>textLabel7</cstring>
222 <property name="text">
223 <string>Password</string>
226 <widget class="QLineEdit" row="7" column="1">
227 <property name="name">
228 <cstring>passwordEdit</cstring>
230 <property name="enabled">
233 <property name="echoMode">
234 <enum>Password</enum>
236 <property name="toolTip" stdset="0">
237 <string>Password for EAP methods</string>
240 <widget class="QLabel" row="8" column="0">
241 <property name="name">
242 <cstring>textLabel1_2</cstring>
244 <property name="text">
245 <string>CA certificate</string>
248 <widget class="QLineEdit" row="8" column="1">
249 <property name="name">
250 <cstring>cacertEdit</cstring>
252 <property name="enabled">
256 <widget class="QButtonGroup" row="9" column="0" rowspan="1" colspan="2">
257 <property name="name">
258 <cstring>buttonGroup1</cstring>
260 <property name="enabled">
263 <property name="title">
264 <string>WEP keys</string>
267 <property name="name">
268 <cstring>unnamed</cstring>
270 <widget class="QRadioButton" row="0" column="0">
271 <property name="name">
272 <cstring>wep0Radio</cstring>
274 <property name="enabled">
277 <property name="text">
278 <string>key 0</string>
281 <widget class="QRadioButton" row="1" column="0">
282 <property name="name">
283 <cstring>wep1Radio</cstring>
285 <property name="enabled">
288 <property name="text">
289 <string>key 1</string>
292 <widget class="QRadioButton" row="3" column="0">
293 <property name="name">
294 <cstring>wep3Radio</cstring>
296 <property name="enabled">
299 <property name="text">
300 <string>key 3</string>
303 <widget class="QRadioButton" row="2" column="0">
304 <property name="name">
305 <cstring>wep2Radio</cstring>
307 <property name="enabled">
310 <property name="text">
311 <string>key 2</string>
314 <widget class="QLineEdit" row="0" column="1">
315 <property name="name">
316 <cstring>wep0Edit</cstring>
318 <property name="enabled">
322 <widget class="QLineEdit" row="1" column="1">
323 <property name="name">
324 <cstring>wep1Edit</cstring>
326 <property name="enabled">
330 <widget class="QLineEdit" row="2" column="1">
331 <property name="name">
332 <cstring>wep2Edit</cstring>
334 <property name="enabled">
338 <widget class="QLineEdit" row="3" column="1">
339 <property name="name">
340 <cstring>wep3Edit</cstring>
342 <property name="enabled">
350 <spacer row="1" column="0">
351 <property name="name">
352 <cstring>spacer5</cstring>
354 <property name="orientation">
355 <enum>Horizontal</enum>
357 <property name="sizeType">
358 <enum>Expanding</enum>
360 <property name="sizeHint">
367 <widget class="QPushButton" row="1" column="1">
368 <property name="name">
369 <cstring>addButton</cstring>
371 <property name="text">
375 <widget class="QPushButton" row="1" column="2">
376 <property name="name">
377 <cstring>removeButton</cstring>
379 <property name="enabled">
382 <property name="text">
383 <string>Remove</string>
390 <sender>authSelect</sender>
391 <signal>activated(int)</signal>
392 <receiver>NetworkConfig</receiver>
393 <slot>authChanged(int)</slot>
396 <sender>cancelButton</sender>
397 <signal>clicked()</signal>
398 <receiver>NetworkConfig</receiver>
402 <sender>addButton</sender>
403 <signal>clicked()</signal>
404 <receiver>NetworkConfig</receiver>
405 <slot>addNetwork()</slot>
408 <sender>encrSelect</sender>
409 <signal>activated(const QString&)</signal>
410 <receiver>NetworkConfig</receiver>
411 <slot>encrChanged(const QString&)</slot>
414 <sender>removeButton</sender>
415 <signal>clicked()</signal>
416 <receiver>NetworkConfig</receiver>
417 <slot>removeNetwork()</slot>
421 <tabstop>ssidEdit</tabstop>
422 <tabstop>idstrEdit</tabstop>
423 <tabstop>authSelect</tabstop>
424 <tabstop>encrSelect</tabstop>
425 <tabstop>pskEdit</tabstop>
426 <tabstop>eapSelect</tabstop>
427 <tabstop>identityEdit</tabstop>
428 <tabstop>passwordEdit</tabstop>
429 <tabstop>cacertEdit</tabstop>
430 <tabstop>wep0Radio</tabstop>
431 <tabstop>wep1Radio</tabstop>
432 <tabstop>wep2Radio</tabstop>
433 <tabstop>wep3Radio</tabstop>
434 <tabstop>wep0Edit</tabstop>
435 <tabstop>wep1Edit</tabstop>
436 <tabstop>wep2Edit</tabstop>
437 <tabstop>wep3Edit</tabstop>
438 <tabstop>addButton</tabstop>
439 <tabstop>removeButton</tabstop>
440 <tabstop>cancelButton</tabstop>
443 <include location="global" impldecl="in declaration">qlistview.h</include>
444 <include location="global" impldecl="in implementation">qmessagebox.h</include>
445 <include location="local" impldecl="in implementation">wpagui.h</include>
446 <include location="local" impldecl="in implementation">networkconfig.ui.h</include>
449 <forward>class WpaGui;</forward>
452 <variable access="private">WpaGui *wpagui;</variable>
453 <variable access="private">int edit_network_id;</variable>
454 <variable access="private">bool new_network;</variable>
457 <slot>authChanged( int sel )</slot>
458 <slot>addNetwork()</slot>
459 <slot>encrChanged( const QString & sel )</slot>
460 <slot>writeWepKey( int network_id, QLineEdit * edit, int id )</slot>
461 <slot>removeNetwork()</slot>
464 <function access="private" specifier="non virtual">init()</function>
465 <function>paramsFromScanResults( QListViewItem * sel )</function>
466 <function>setWpaGui( WpaGui * _wpagui )</function>
467 <function returnType="int">setNetworkParam( int id, const char * field, const char * value, bool quote )</function>
468 <function access="private">wepEnabled( bool enabled )</function>
469 <function>paramsFromConfig( int network_id )</function>
470 <function>newNetwork()</function>
471 <function access="private">getEapCapa()</function>
474 <layoutdefaults spacing="6" margin="11"/>