]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/wpa_supplicant/wpa_gui/networkconfig.ui
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / wpa_supplicant / wpa_gui / networkconfig.ui
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>413</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>textLabel1</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>textLabel2</cstring>
66                     </property>
67                     <property name="text">
68                         <string>Authentication</string>
69                     </property>
70                 </widget>
71                 <widget class="QComboBox" row="1" column="1">
72                     <item>
73                         <property name="text">
74                             <string>Plaintext or static WEP</string>
75                         </property>
76                     </item>
77                     <item>
78                         <property name="text">
79                             <string>IEEE 802.1X</string>
80                         </property>
81                     </item>
82                     <item>
83                         <property name="text">
84                             <string>WPA-Personal (PSK)</string>
85                         </property>
86                     </item>
87                     <item>
88                         <property name="text">
89                             <string>WPA-Enterprise (EAP)</string>
90                         </property>
91                     </item>
92                     <item>
93                         <property name="text">
94                             <string>WPA2-Personal (PSK)</string>
95                         </property>
96                     </item>
97                     <item>
98                         <property name="text">
99                             <string>WPA2-Enterprise (EAP)</string>
100                         </property>
101                     </item>
102                     <property name="name">
103                         <cstring>authSelect</cstring>
104                     </property>
105                 </widget>
106                 <widget class="QLabel" row="2" column="0">
107                     <property name="name">
108                         <cstring>textLabel3</cstring>
109                     </property>
110                     <property name="text">
111                         <string>Encryption</string>
112                     </property>
113                 </widget>
114                 <widget class="QComboBox" row="2" column="1">
115                     <item>
116                         <property name="text">
117                             <string>None</string>
118                         </property>
119                     </item>
120                     <item>
121                         <property name="text">
122                             <string>WEP</string>
123                         </property>
124                     </item>
125                     <item>
126                         <property name="text">
127                             <string>TKIP</string>
128                         </property>
129                     </item>
130                     <item>
131                         <property name="text">
132                             <string>CCMP</string>
133                         </property>
134                     </item>
135                     <property name="name">
136                         <cstring>encrSelect</cstring>
137                     </property>
138                 </widget>
139                 <widget class="QLabel" row="3" column="0">
140                     <property name="name">
141                         <cstring>textLabel4</cstring>
142                     </property>
143                     <property name="text">
144                         <string>PSK</string>
145                     </property>
146                 </widget>
147                 <widget class="QLineEdit" row="3" column="1">
148                     <property name="name">
149                         <cstring>pskEdit</cstring>
150                     </property>
151                     <property name="enabled">
152                         <bool>false</bool>
153                     </property>
154                     <property name="echoMode">
155                         <enum>Password</enum>
156                     </property>
157                     <property name="toolTip" stdset="0">
158                         <string>WPA/WPA2 pre-shared key or passphrase</string>
159                     </property>
160                     <property name="whatsThis" stdset="0">
161                         <string></string>
162                     </property>
163                 </widget>
164                 <widget class="QLabel" row="4" column="0">
165                     <property name="name">
166                         <cstring>textLabel5</cstring>
167                     </property>
168                     <property name="text">
169                         <string>EAP method</string>
170                     </property>
171                 </widget>
172                 <widget class="QComboBox" row="4" column="1">
173                     <property name="name">
174                         <cstring>eapSelect</cstring>
175                     </property>
176                     <property name="enabled">
177                         <bool>false</bool>
178                     </property>
179                 </widget>
180                 <widget class="QLabel" row="5" column="0">
181                     <property name="name">
182                         <cstring>textLabel6</cstring>
183                     </property>
184                     <property name="text">
185                         <string>Identity</string>
186                     </property>
187                 </widget>
188                 <widget class="QLineEdit" row="5" column="1">
189                     <property name="name">
190                         <cstring>identityEdit</cstring>
191                     </property>
192                     <property name="enabled">
193                         <bool>false</bool>
194                     </property>
195                     <property name="toolTip" stdset="0">
196                         <string>Username/Identity for EAP methods</string>
197                     </property>
198                 </widget>
199                 <widget class="QLabel" row="6" column="0">
200                     <property name="name">
201                         <cstring>textLabel7</cstring>
202                     </property>
203                     <property name="text">
204                         <string>Password</string>
205                     </property>
206                 </widget>
207                 <widget class="QLineEdit" row="6" column="1">
208                     <property name="name">
209                         <cstring>passwordEdit</cstring>
210                     </property>
211                     <property name="enabled">
212                         <bool>false</bool>
213                     </property>
214                     <property name="echoMode">
215                         <enum>Password</enum>
216                     </property>
217                     <property name="toolTip" stdset="0">
218                         <string>Password for EAP methods</string>
219                     </property>
220                 </widget>
221                 <widget class="QLabel" row="7" column="0">
222                     <property name="name">
223                         <cstring>textLabel1_2</cstring>
224                     </property>
225                     <property name="text">
226                         <string>CA certificate</string>
227                     </property>
228                 </widget>
229                 <widget class="QLineEdit" row="7" column="1">
230                     <property name="name">
231                         <cstring>cacertEdit</cstring>
232                     </property>
233                     <property name="enabled">
234                         <bool>false</bool>
235                     </property>
236                 </widget>
237                 <widget class="QButtonGroup" row="8" column="0" rowspan="1" colspan="2">
238                     <property name="name">
239                         <cstring>buttonGroup1</cstring>
240                     </property>
241                     <property name="enabled">
242                         <bool>true</bool>
243                     </property>
244                     <property name="title">
245                         <string>WEP keys</string>
246                     </property>
247                     <grid>
248                         <property name="name">
249                             <cstring>unnamed</cstring>
250                         </property>
251                         <widget class="QRadioButton" row="0" column="0">
252                             <property name="name">
253                                 <cstring>wep0Radio</cstring>
254                             </property>
255                             <property name="enabled">
256                                 <bool>false</bool>
257                             </property>
258                             <property name="text">
259                                 <string>key 0</string>
260                             </property>
261                         </widget>
262                         <widget class="QRadioButton" row="1" column="0">
263                             <property name="name">
264                                 <cstring>wep1Radio</cstring>
265                             </property>
266                             <property name="enabled">
267                                 <bool>false</bool>
268                             </property>
269                             <property name="text">
270                                 <string>key 1</string>
271                             </property>
272                         </widget>
273                         <widget class="QRadioButton" row="3" column="0">
274                             <property name="name">
275                                 <cstring>wep3Radio</cstring>
276                             </property>
277                             <property name="enabled">
278                                 <bool>false</bool>
279                             </property>
280                             <property name="text">
281                                 <string>key 3</string>
282                             </property>
283                         </widget>
284                         <widget class="QRadioButton" row="2" column="0">
285                             <property name="name">
286                                 <cstring>wep2Radio</cstring>
287                             </property>
288                             <property name="enabled">
289                                 <bool>false</bool>
290                             </property>
291                             <property name="text">
292                                 <string>key 2</string>
293                             </property>
294                         </widget>
295                         <widget class="QLineEdit" row="0" column="1">
296                             <property name="name">
297                                 <cstring>wep0Edit</cstring>
298                             </property>
299                             <property name="enabled">
300                                 <bool>false</bool>
301                             </property>
302                         </widget>
303                         <widget class="QLineEdit" row="1" column="1">
304                             <property name="name">
305                                 <cstring>wep1Edit</cstring>
306                             </property>
307                             <property name="enabled">
308                                 <bool>false</bool>
309                             </property>
310                         </widget>
311                         <widget class="QLineEdit" row="2" column="1">
312                             <property name="name">
313                                 <cstring>wep2Edit</cstring>
314                             </property>
315                             <property name="enabled">
316                                 <bool>false</bool>
317                             </property>
318                         </widget>
319                         <widget class="QLineEdit" row="3" column="1">
320                             <property name="name">
321                                 <cstring>wep3Edit</cstring>
322                             </property>
323                             <property name="enabled">
324                                 <bool>false</bool>
325                             </property>
326                         </widget>
327                     </grid>
328                 </widget>
329             </grid>
330         </widget>
331         <spacer row="1" column="0">
332             <property name="name">
333                 <cstring>spacer5</cstring>
334             </property>
335             <property name="orientation">
336                 <enum>Horizontal</enum>
337             </property>
338             <property name="sizeType">
339                 <enum>Expanding</enum>
340             </property>
341             <property name="sizeHint">
342                 <size>
343                     <width>130</width>
344                     <height>20</height>
345                 </size>
346             </property>
347         </spacer>
348         <widget class="QPushButton" row="1" column="1">
349             <property name="name">
350                 <cstring>addButton</cstring>
351             </property>
352             <property name="text">
353                 <string>Add</string>
354             </property>
355         </widget>
356         <widget class="QPushButton" row="1" column="2">
357             <property name="name">
358                 <cstring>removeButton</cstring>
359             </property>
360             <property name="enabled">
361                 <bool>false</bool>
362             </property>
363             <property name="text">
364                 <string>Remove</string>
365             </property>
366         </widget>
367     </grid>
368 </widget>
369 <connections>
370     <connection>
371         <sender>authSelect</sender>
372         <signal>activated(int)</signal>
373         <receiver>NetworkConfig</receiver>
374         <slot>authChanged(int)</slot>
375     </connection>
376     <connection>
377         <sender>cancelButton</sender>
378         <signal>clicked()</signal>
379         <receiver>NetworkConfig</receiver>
380         <slot>close()</slot>
381     </connection>
382     <connection>
383         <sender>addButton</sender>
384         <signal>clicked()</signal>
385         <receiver>NetworkConfig</receiver>
386         <slot>addNetwork()</slot>
387     </connection>
388     <connection>
389         <sender>encrSelect</sender>
390         <signal>activated(const QString&amp;)</signal>
391         <receiver>NetworkConfig</receiver>
392         <slot>encrChanged(const QString&amp;)</slot>
393     </connection>
394     <connection>
395         <sender>removeButton</sender>
396         <signal>clicked()</signal>
397         <receiver>NetworkConfig</receiver>
398         <slot>removeNetwork()</slot>
399     </connection>
400 </connections>
401 <tabstops>
402     <tabstop>ssidEdit</tabstop>
403     <tabstop>authSelect</tabstop>
404     <tabstop>encrSelect</tabstop>
405     <tabstop>pskEdit</tabstop>
406     <tabstop>eapSelect</tabstop>
407     <tabstop>identityEdit</tabstop>
408     <tabstop>passwordEdit</tabstop>
409     <tabstop>cacertEdit</tabstop>
410     <tabstop>wep0Radio</tabstop>
411     <tabstop>wep1Radio</tabstop>
412     <tabstop>wep2Radio</tabstop>
413     <tabstop>wep3Radio</tabstop>
414     <tabstop>wep0Edit</tabstop>
415     <tabstop>wep1Edit</tabstop>
416     <tabstop>wep2Edit</tabstop>
417     <tabstop>wep3Edit</tabstop>
418     <tabstop>addButton</tabstop>
419     <tabstop>removeButton</tabstop>
420     <tabstop>cancelButton</tabstop>
421 </tabstops>
422 <includes>
423     <include location="global" impldecl="in declaration">qlistview.h</include>
424     <include location="global" impldecl="in implementation">qmessagebox.h</include>
425     <include location="local" impldecl="in implementation">wpagui.h</include>
426     <include location="local" impldecl="in implementation">networkconfig.ui.h</include>
427 </includes>
428 <forwards>
429     <forward>class WpaGui;</forward>
430 </forwards>
431 <variables>
432     <variable access="private">WpaGui *wpagui;</variable>
433     <variable access="private">int edit_network_id;</variable>
434     <variable access="private">bool new_network;</variable>
435 </variables>
436 <slots>
437     <slot>authChanged( int sel )</slot>
438     <slot>addNetwork()</slot>
439     <slot>encrChanged( const QString &amp; sel )</slot>
440     <slot>writeWepKey( int network_id, QLineEdit * edit, int id )</slot>
441     <slot>removeNetwork()</slot>
442 </slots>
443 <functions>
444     <function access="private" specifier="non virtual">init()</function>
445     <function>paramsFromScanResults( QListViewItem * sel )</function>
446     <function>setWpaGui( WpaGui * _wpagui )</function>
447     <function returnType="int">setNetworkParam( int id, const char * field, const char * value, bool quote )</function>
448     <function access="private">wepEnabled( bool enabled )</function>
449     <function>paramsFromConfig( int network_id )</function>
450     <function>newNetwork()</function>
451     <function access="private">getEapCapa()</function>
452 </functions>
453 <pixmapinproject/>
454 <layoutdefaults spacing="6" margin="11"/>
455 </UI>