• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>NetworkConfig</class>
3<widget class="QDialog">
4    <property name="name">
5        <cstring>NetworkConfig</cstring>
6    </property>
7    <property name="geometry">
8        <rect>
9            <x>0</x>
10            <y>0</y>
11            <width>380</width>
12            <height>430</height>
13        </rect>
14    </property>
15    <property name="caption">
16        <string>NetworkConfig</string>
17    </property>
18    <grid>
19        <property name="name">
20            <cstring>unnamed</cstring>
21        </property>
22        <widget class="QPushButton" row="1" column="3">
23            <property name="name">
24                <cstring>cancelButton</cstring>
25            </property>
26            <property name="text">
27                <string>Cancel</string>
28            </property>
29        </widget>
30        <widget class="QFrame" row="0" column="0" rowspan="1" colspan="4">
31            <property name="name">
32                <cstring>frame9</cstring>
33            </property>
34            <property name="frameShape">
35                <enum>StyledPanel</enum>
36            </property>
37            <property name="frameShadow">
38                <enum>Raised</enum>
39            </property>
40            <grid>
41                <property name="name">
42                    <cstring>unnamed</cstring>
43                </property>
44                <widget class="QLabel" row="0" column="0">
45                    <property name="name">
46                        <cstring>textLabel0</cstring>
47                    </property>
48                    <property name="text">
49                        <string>SSID</string>
50                    </property>
51                </widget>
52                <widget class="QLineEdit" row="0" column="1">
53                    <property name="name">
54                        <cstring>ssidEdit</cstring>
55                    </property>
56                    <property name="text">
57                        <string></string>
58                    </property>
59                    <property name="toolTip" stdset="0">
60                        <string>Network name (Service Set IDentifier)</string>
61                    </property>
62                </widget>
63                <widget class="QLabel" row="1" column="0">
64                    <property name="name">
65                        <cstring>textLabel1</cstring>
66                    </property>
67                    <property name="text">
68                        <string>Network ID</string>
69                    </property>
70                </widget>
71                <widget class="QLineEdit" row="1" column="1">
72                    <property name="name">
73                        <cstring>idstrEdit</cstring>
74                    </property>
75                    <property name="text">
76                        <string></string>
77                    </property>
78                    <property name="toolTip" stdset="0">
79                        <string>Network Identification String</string>
80                    </property>
81                </widget>
82                <widget class="QLabel" row="2" column="0">
83                    <property name="name">
84                        <cstring>textLabel2</cstring>
85                    </property>
86                    <property name="text">
87                        <string>Authentication</string>
88                    </property>
89                </widget>
90                <widget class="QComboBox" row="2" column="1">
91                    <item>
92                        <property name="text">
93                            <string>Plaintext or static WEP</string>
94                        </property>
95                    </item>
96                    <item>
97                        <property name="text">
98                            <string>IEEE 802.1X</string>
99                        </property>
100                    </item>
101                    <item>
102                        <property name="text">
103                            <string>WPA-Personal (PSK)</string>
104                        </property>
105                    </item>
106                    <item>
107                        <property name="text">
108                            <string>WPA-Enterprise (EAP)</string>
109                        </property>
110                    </item>
111                    <item>
112                        <property name="text">
113                            <string>WPA2-Personal (PSK)</string>
114                        </property>
115                    </item>
116                    <item>
117                        <property name="text">
118                            <string>WPA2-Enterprise (EAP)</string>
119                        </property>
120                    </item>
121                    <property name="name">
122                        <cstring>authSelect</cstring>
123                    </property>
124                </widget>
125                <widget class="QLabel" row="3" column="0">
126                    <property name="name">
127                        <cstring>textLabel3</cstring>
128                    </property>
129                    <property name="text">
130                        <string>Encryption</string>
131                    </property>
132                </widget>
133                <widget class="QComboBox" row="3" column="1">
134                    <item>
135                        <property name="text">
136                            <string>None</string>
137                        </property>
138                    </item>
139                    <item>
140                        <property name="text">
141                            <string>WEP</string>
142                        </property>
143                    </item>
144                    <item>
145                        <property name="text">
146                            <string>TKIP</string>
147                        </property>
148                    </item>
149                    <item>
150                        <property name="text">
151                            <string>CCMP</string>
152                        </property>
153                    </item>
154                    <property name="name">
155                        <cstring>encrSelect</cstring>
156                    </property>
157                </widget>
158                <widget class="QLabel" row="4" column="0">
159                    <property name="name">
160                        <cstring>textLabel4</cstring>
161                    </property>
162                    <property name="text">
163                        <string>PSK</string>
164                    </property>
165                </widget>
166                <widget class="QLineEdit" row="4" column="1">
167                    <property name="name">
168                        <cstring>pskEdit</cstring>
169                    </property>
170                    <property name="enabled">
171                        <bool>false</bool>
172                    </property>
173                    <property name="echoMode">
174                        <enum>Password</enum>
175                    </property>
176                    <property name="toolTip" stdset="0">
177                        <string>WPA/WPA2 pre-shared key or passphrase</string>
178                    </property>
179                    <property name="whatsThis" stdset="0">
180                        <string></string>
181                    </property>
182                </widget>
183                <widget class="QLabel" row="5" column="0">
184                    <property name="name">
185                        <cstring>textLabel5</cstring>
186                    </property>
187                    <property name="text">
188                        <string>EAP method</string>
189                    </property>
190                </widget>
191                <widget class="QComboBox" row="5" column="1">
192                    <property name="name">
193                        <cstring>eapSelect</cstring>
194                    </property>
195                    <property name="enabled">
196                        <bool>false</bool>
197                    </property>
198                </widget>
199                <widget class="QLabel" row="6" column="0">
200                    <property name="name">
201                        <cstring>textLabel6</cstring>
202                    </property>
203                    <property name="text">
204                        <string>Identity</string>
205                    </property>
206                </widget>
207                <widget class="QLineEdit" row="6" column="1">
208                    <property name="name">
209                        <cstring>identityEdit</cstring>
210                    </property>
211                    <property name="enabled">
212                        <bool>false</bool>
213                    </property>
214                    <property name="toolTip" stdset="0">
215                        <string>Username/Identity for EAP methods</string>
216                    </property>
217                </widget>
218                <widget class="QLabel" row="7" column="0">
219                    <property name="name">
220                        <cstring>textLabel7</cstring>
221                    </property>
222                    <property name="text">
223                        <string>Password</string>
224                    </property>
225                </widget>
226                <widget class="QLineEdit" row="7" column="1">
227                    <property name="name">
228                        <cstring>passwordEdit</cstring>
229                    </property>
230                    <property name="enabled">
231                        <bool>false</bool>
232                    </property>
233                    <property name="echoMode">
234                        <enum>Password</enum>
235                    </property>
236                    <property name="toolTip" stdset="0">
237                        <string>Password for EAP methods</string>
238                    </property>
239                </widget>
240                <widget class="QLabel" row="8" column="0">
241                    <property name="name">
242                        <cstring>textLabel1_2</cstring>
243                    </property>
244                    <property name="text">
245                        <string>CA certificate</string>
246                    </property>
247                </widget>
248                <widget class="QLineEdit" row="8" column="1">
249                    <property name="name">
250                        <cstring>cacertEdit</cstring>
251                    </property>
252                    <property name="enabled">
253                        <bool>false</bool>
254                    </property>
255                </widget>
256                <widget class="QButtonGroup" row="9" column="0" rowspan="1" colspan="2">
257                    <property name="name">
258                        <cstring>buttonGroup1</cstring>
259                    </property>
260                    <property name="enabled">
261                        <bool>true</bool>
262                    </property>
263                    <property name="title">
264                        <string>WEP keys</string>
265                    </property>
266                    <grid>
267                        <property name="name">
268                            <cstring>unnamed</cstring>
269                        </property>
270                        <widget class="QRadioButton" row="0" column="0">
271                            <property name="name">
272                                <cstring>wep0Radio</cstring>
273                            </property>
274                            <property name="enabled">
275                                <bool>false</bool>
276                            </property>
277                            <property name="text">
278                                <string>key 0</string>
279                            </property>
280                        </widget>
281                        <widget class="QRadioButton" row="1" column="0">
282                            <property name="name">
283                                <cstring>wep1Radio</cstring>
284                            </property>
285                            <property name="enabled">
286                                <bool>false</bool>
287                            </property>
288                            <property name="text">
289                                <string>key 1</string>
290                            </property>
291                        </widget>
292                        <widget class="QRadioButton" row="3" column="0">
293                            <property name="name">
294                                <cstring>wep3Radio</cstring>
295                            </property>
296                            <property name="enabled">
297                                <bool>false</bool>
298                            </property>
299                            <property name="text">
300                                <string>key 3</string>
301                            </property>
302                        </widget>
303                        <widget class="QRadioButton" row="2" column="0">
304                            <property name="name">
305                                <cstring>wep2Radio</cstring>
306                            </property>
307                            <property name="enabled">
308                                <bool>false</bool>
309                            </property>
310                            <property name="text">
311                                <string>key 2</string>
312                            </property>
313                        </widget>
314                        <widget class="QLineEdit" row="0" column="1">
315                            <property name="name">
316                                <cstring>wep0Edit</cstring>
317                            </property>
318                            <property name="enabled">
319                                <bool>false</bool>
320                            </property>
321                        </widget>
322                        <widget class="QLineEdit" row="1" column="1">
323                            <property name="name">
324                                <cstring>wep1Edit</cstring>
325                            </property>
326                            <property name="enabled">
327                                <bool>false</bool>
328                            </property>
329                        </widget>
330                        <widget class="QLineEdit" row="2" column="1">
331                            <property name="name">
332                                <cstring>wep2Edit</cstring>
333                            </property>
334                            <property name="enabled">
335                                <bool>false</bool>
336                            </property>
337                        </widget>
338                        <widget class="QLineEdit" row="3" column="1">
339                            <property name="name">
340                                <cstring>wep3Edit</cstring>
341                            </property>
342                            <property name="enabled">
343                                <bool>false</bool>
344                            </property>
345                        </widget>
346                    </grid>
347                </widget>
348            </grid>
349        </widget>
350        <spacer row="1" column="0">
351            <property name="name">
352                <cstring>spacer5</cstring>
353            </property>
354            <property name="orientation">
355                <enum>Horizontal</enum>
356            </property>
357            <property name="sizeType">
358                <enum>Expanding</enum>
359            </property>
360            <property name="sizeHint">
361                <size>
362                    <width>130</width>
363                    <height>20</height>
364                </size>
365            </property>
366        </spacer>
367        <widget class="QPushButton" row="1" column="1">
368            <property name="name">
369                <cstring>addButton</cstring>
370            </property>
371            <property name="text">
372                <string>Add</string>
373            </property>
374        </widget>
375        <widget class="QPushButton" row="1" column="2">
376            <property name="name">
377                <cstring>removeButton</cstring>
378            </property>
379            <property name="enabled">
380                <bool>false</bool>
381            </property>
382            <property name="text">
383                <string>Remove</string>
384            </property>
385        </widget>
386    </grid>
387</widget>
388<connections>
389    <connection>
390        <sender>authSelect</sender>
391        <signal>activated(int)</signal>
392        <receiver>NetworkConfig</receiver>
393        <slot>authChanged(int)</slot>
394    </connection>
395    <connection>
396        <sender>cancelButton</sender>
397        <signal>clicked()</signal>
398        <receiver>NetworkConfig</receiver>
399        <slot>close()</slot>
400    </connection>
401    <connection>
402        <sender>addButton</sender>
403        <signal>clicked()</signal>
404        <receiver>NetworkConfig</receiver>
405        <slot>addNetwork()</slot>
406    </connection>
407    <connection>
408        <sender>encrSelect</sender>
409        <signal>activated(const QString&amp;)</signal>
410        <receiver>NetworkConfig</receiver>
411        <slot>encrChanged(const QString&amp;)</slot>
412    </connection>
413    <connection>
414        <sender>removeButton</sender>
415        <signal>clicked()</signal>
416        <receiver>NetworkConfig</receiver>
417        <slot>removeNetwork()</slot>
418    </connection>
419</connections>
420<tabstops>
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>
441</tabstops>
442<includes>
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>
447</includes>
448<forwards>
449    <forward>class WpaGui;</forward>
450</forwards>
451<variables>
452    <variable access="private">WpaGui *wpagui;</variable>
453    <variable access="private">int edit_network_id;</variable>
454    <variable access="private">bool new_network;</variable>
455</variables>
456<slots>
457    <slot>authChanged( int sel )</slot>
458    <slot>addNetwork()</slot>
459    <slot>encrChanged( const QString &amp; sel )</slot>
460    <slot>writeWepKey( int network_id, QLineEdit * edit, int id )</slot>
461    <slot>removeNetwork()</slot>
462</slots>
463<functions>
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>
472</functions>
473<pixmapinproject/>
474<layoutdefaults spacing="6" margin="11"/>
475</UI>
476