wpagui.ui revision 8d520ff1dc2da35cdca849e982051b86468016d8
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>WpaGui</class>
3<widget class="QMainWindow">
4    <property name="name">
5        <cstring>WpaGui</cstring>
6    </property>
7    <property name="geometry">
8        <rect>
9            <x>0</x>
10            <y>0</y>
11            <width>279</width>
12            <height>308</height>
13        </rect>
14    </property>
15    <property name="caption">
16        <string>wpa_gui</string>
17    </property>
18    <grid>
19        <property name="name">
20            <cstring>unnamed</cstring>
21        </property>
22        <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
23            <property name="name">
24                <cstring>textLabel16</cstring>
25            </property>
26            <property name="text">
27                <string>Adapter:</string>
28            </property>
29        </widget>
30        <widget class="QComboBox" row="0" column="2" rowspan="1" colspan="2">
31            <property name="name">
32                <cstring>adapterSelect</cstring>
33            </property>
34        </widget>
35        <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2">
36            <property name="name">
37                <cstring>textLabel8</cstring>
38            </property>
39            <property name="text">
40                <string>Network:</string>
41            </property>
42        </widget>
43        <widget class="QComboBox" row="1" column="2" rowspan="1" colspan="2">
44            <property name="name">
45                <cstring>networkSelect</cstring>
46            </property>
47        </widget>
48        <widget class="QFrame" row="2" column="0" rowspan="1" colspan="4">
49            <property name="name">
50                <cstring>frame3</cstring>
51            </property>
52            <property name="frameShape">
53                <enum>StyledPanel</enum>
54            </property>
55            <property name="frameShadow">
56                <enum>Raised</enum>
57            </property>
58            <grid>
59                <property name="name">
60                    <cstring>unnamed</cstring>
61                </property>
62                <widget class="QLabel" row="0" column="0">
63                    <property name="name">
64                        <cstring>textLabel1</cstring>
65                    </property>
66                    <property name="text">
67                        <string>Status:</string>
68                    </property>
69                </widget>
70                <widget class="QLabel" row="1" column="0">
71                    <property name="name">
72                        <cstring>textLabel2</cstring>
73                    </property>
74                    <property name="text">
75                        <string>Last message:</string>
76                    </property>
77                </widget>
78                <widget class="QLabel" row="2" column="0">
79                    <property name="name">
80                        <cstring>textLabel3</cstring>
81                    </property>
82                    <property name="text">
83                        <string>Authentication:</string>
84                    </property>
85                </widget>
86                <widget class="QLabel" row="3" column="0">
87                    <property name="name">
88                        <cstring>textLabel4</cstring>
89                    </property>
90                    <property name="text">
91                        <string>Encryption:</string>
92                    </property>
93                </widget>
94                <widget class="QLabel" row="4" column="0">
95                    <property name="name">
96                        <cstring>textLabel5</cstring>
97                    </property>
98                    <property name="text">
99                        <string>SSID:</string>
100                    </property>
101                </widget>
102                <widget class="QLabel" row="5" column="0">
103                    <property name="name">
104                        <cstring>textLabel6</cstring>
105                    </property>
106                    <property name="text">
107                        <string>BSSID:</string>
108                    </property>
109                </widget>
110                <widget class="QLabel" row="6" column="0">
111                    <property name="name">
112                        <cstring>textLabel7</cstring>
113                    </property>
114                    <property name="text">
115                        <string>IP address:</string>
116                    </property>
117                </widget>
118                <widget class="QLabel" row="0" column="1">
119                    <property name="name">
120                        <cstring>textStatus</cstring>
121                    </property>
122                    <property name="text">
123                        <string></string>
124                    </property>
125                </widget>
126                <widget class="QLabel" row="1" column="1" rowspan="1" colspan="3">
127                    <property name="name">
128                        <cstring>textLastMessage</cstring>
129                    </property>
130                    <property name="text">
131                        <string></string>
132                    </property>
133                </widget>
134                <widget class="QLabel" row="2" column="1">
135                    <property name="name">
136                        <cstring>textAuthentication</cstring>
137                    </property>
138                    <property name="text">
139                        <string></string>
140                    </property>
141                </widget>
142                <widget class="QLabel" row="3" column="1">
143                    <property name="name">
144                        <cstring>textEncryption</cstring>
145                    </property>
146                    <property name="text">
147                        <string></string>
148                    </property>
149                </widget>
150                <widget class="QLabel" row="4" column="1">
151                    <property name="name">
152                        <cstring>textSsid</cstring>
153                    </property>
154                    <property name="text">
155                        <string></string>
156                    </property>
157                </widget>
158                <widget class="QLabel" row="5" column="1">
159                    <property name="name">
160                        <cstring>textBssid</cstring>
161                    </property>
162                    <property name="text">
163                        <string></string>
164                    </property>
165                </widget>
166                <widget class="QLabel" row="6" column="1">
167                    <property name="name">
168                        <cstring>textIpAddress</cstring>
169                    </property>
170                    <property name="text">
171                        <string></string>
172                    </property>
173                </widget>
174            </grid>
175        </widget>
176        <spacer row="3" column="0">
177            <property name="name">
178                <cstring>spacer7</cstring>
179            </property>
180            <property name="orientation">
181                <enum>Horizontal</enum>
182            </property>
183            <property name="sizeType">
184                <enum>Expanding</enum>
185            </property>
186            <property name="sizeHint">
187                <size>
188                    <width>16</width>
189                    <height>16</height>
190                </size>
191            </property>
192        </spacer>
193        <widget class="QPushButton" row="3" column="1">
194            <property name="name">
195                <cstring>connectButton</cstring>
196            </property>
197            <property name="text">
198                <string>Connect</string>
199            </property>
200        </widget>
201        <widget class="QPushButton" row="3" column="2">
202            <property name="name">
203                <cstring>disconnectButton</cstring>
204            </property>
205            <property name="text">
206                <string>Disconnect</string>
207            </property>
208        </widget>
209        <widget class="QPushButton" row="3" column="3">
210            <property name="name">
211                <cstring>scanButton</cstring>
212            </property>
213            <property name="text">
214                <string>Scan</string>
215            </property>
216        </widget>
217    </grid>
218</widget>
219<menubar>
220    <property name="name">
221        <cstring>MenuBar</cstring>
222    </property>
223    <item text="&amp;File" name="fileMenu">
224        <separator/>
225        <action name="fileEventHistoryAction"/>
226        <action name="fileAdd_NetworkAction"/>
227        <action name="fileEdit_networkAction"/>
228        <separator/>
229        <action name="fileExitAction"/>
230    </item>
231    <item text="&amp;Help" name="helpMenu">
232        <action name="helpContentsAction"/>
233        <action name="helpIndexAction"/>
234        <separator/>
235        <action name="helpAboutAction"/>
236    </item>
237</menubar>
238<toolbars>
239</toolbars>
240<actions>
241    <action>
242        <property name="name">
243            <cstring>fileExitAction</cstring>
244        </property>
245        <property name="text">
246            <string>Exit</string>
247        </property>
248        <property name="menuText">
249            <string>E&amp;xit</string>
250        </property>
251        <property name="accel">
252            <string>Ctrl+Q</string>
253        </property>
254    </action>
255    <action>
256        <property name="name">
257            <cstring>helpContentsAction</cstring>
258        </property>
259        <property name="enabled">
260            <bool>false</bool>
261        </property>
262        <property name="text">
263            <string>Contents</string>
264        </property>
265        <property name="menuText">
266            <string>&amp;Contents...</string>
267        </property>
268        <property name="accel">
269            <string></string>
270        </property>
271    </action>
272    <action>
273        <property name="name">
274            <cstring>helpIndexAction</cstring>
275        </property>
276        <property name="enabled">
277            <bool>false</bool>
278        </property>
279        <property name="text">
280            <string>Index</string>
281        </property>
282        <property name="menuText">
283            <string>&amp;Index...</string>
284        </property>
285        <property name="accel">
286            <string></string>
287        </property>
288    </action>
289    <action>
290        <property name="name">
291            <cstring>helpAboutAction</cstring>
292        </property>
293        <property name="text">
294            <string>About</string>
295        </property>
296        <property name="menuText">
297            <string>&amp;About</string>
298        </property>
299        <property name="accel">
300            <string></string>
301        </property>
302    </action>
303    <action>
304        <property name="name">
305            <cstring>fileEventHistoryAction</cstring>
306        </property>
307        <property name="text">
308            <string>Event History</string>
309        </property>
310        <property name="menuText">
311            <string>Event &amp;History</string>
312        </property>
313    </action>
314    <action>
315        <property name="name">
316            <cstring>fileAdd_NetworkAction</cstring>
317        </property>
318        <property name="text">
319            <string>Add Network</string>
320        </property>
321        <property name="menuText">
322            <string>&amp;Add Network</string>
323        </property>
324    </action>
325    <action>
326        <property name="name">
327            <cstring>fileEdit_networkAction</cstring>
328        </property>
329        <property name="text">
330            <string>Edit Network</string>
331        </property>
332        <property name="menuText">
333            <string>&amp;Edit Network</string>
334        </property>
335    </action>
336</actions>
337<connections>
338    <connection>
339        <sender>helpIndexAction</sender>
340        <signal>activated()</signal>
341        <receiver>WpaGui</receiver>
342        <slot>helpIndex()</slot>
343    </connection>
344    <connection>
345        <sender>helpContentsAction</sender>
346        <signal>activated()</signal>
347        <receiver>WpaGui</receiver>
348        <slot>helpContents()</slot>
349    </connection>
350    <connection>
351        <sender>helpAboutAction</sender>
352        <signal>activated()</signal>
353        <receiver>WpaGui</receiver>
354        <slot>helpAbout()</slot>
355    </connection>
356    <connection>
357        <sender>fileExitAction</sender>
358        <signal>activated()</signal>
359        <receiver>WpaGui</receiver>
360        <slot>close()</slot>
361    </connection>
362    <connection>
363        <sender>disconnectButton</sender>
364        <signal>clicked()</signal>
365        <receiver>WpaGui</receiver>
366        <slot>disconnect()</slot>
367    </connection>
368    <connection>
369        <sender>scanButton</sender>
370        <signal>clicked()</signal>
371        <receiver>WpaGui</receiver>
372        <slot>scan()</slot>
373    </connection>
374    <connection>
375        <sender>connectButton</sender>
376        <signal>clicked()</signal>
377        <receiver>WpaGui</receiver>
378        <slot>connectB()</slot>
379    </connection>
380    <connection>
381        <sender>fileEventHistoryAction</sender>
382        <signal>activated()</signal>
383        <receiver>WpaGui</receiver>
384        <slot>eventHistory()</slot>
385    </connection>
386    <connection>
387        <sender>networkSelect</sender>
388        <signal>activated(const QString&amp;)</signal>
389        <receiver>WpaGui</receiver>
390        <slot>selectNetwork(const QString&amp;)</slot>
391    </connection>
392    <connection>
393        <sender>fileEdit_networkAction</sender>
394        <signal>activated()</signal>
395        <receiver>WpaGui</receiver>
396        <slot>editNetwork()</slot>
397    </connection>
398    <connection>
399        <sender>fileAdd_NetworkAction</sender>
400        <signal>activated()</signal>
401        <receiver>WpaGui</receiver>
402        <slot>addNetwork()</slot>
403    </connection>
404    <connection>
405        <sender>adapterSelect</sender>
406        <signal>activated(const QString&amp;)</signal>
407        <receiver>WpaGui</receiver>
408        <slot>selectAdapter(const QString&amp;)</slot>
409    </connection>
410</connections>
411<includes>
412    <include location="global" impldecl="in declaration">qtimer.h</include>
413    <include location="global" impldecl="in declaration">qsocketnotifier.h</include>
414    <include location="local" impldecl="in declaration">wpamsg.h</include>
415    <include location="local" impldecl="in declaration">eventhistory.h</include>
416    <include location="local" impldecl="in declaration">scanresults.h</include>
417    <include location="local" impldecl="in implementation">common/wpa_ctrl.h</include>
418    <include location="global" impldecl="in implementation">dirent.h</include>
419    <include location="global" impldecl="in implementation">qmessagebox.h</include>
420    <include location="global" impldecl="in implementation">qapplication.h</include>
421    <include location="local" impldecl="in implementation">userdatarequest.h</include>
422    <include location="local" impldecl="in implementation">networkconfig.h</include>
423    <include location="local" impldecl="in implementation">wpagui.ui.h</include>
424</includes>
425<forwards>
426    <forward>class UserDataRequest;</forward>
427</forwards>
428<variables>
429    <variable access="private">ScanResults *scanres;</variable>
430    <variable access="private">bool networkMayHaveChanged;</variable>
431    <variable access="private">char *ctrl_iface;</variable>
432    <variable access="private">EventHistory *eh;</variable>
433    <variable access="private">struct wpa_ctrl *ctrl_conn;</variable>
434    <variable access="private">QSocketNotifier *msgNotifier;</variable>
435    <variable access="private">QTimer *timer;</variable>
436    <variable access="private">int pingsToStatusUpdate;</variable>
437    <variable access="private">WpaMsgList msgs;</variable>
438    <variable access="private">char *ctrl_iface_dir;</variable>
439    <variable access="private">struct wpa_ctrl *monitor_conn;</variable>
440    <variable access="private">UserDataRequest *udr;</variable>
441</variables>
442<slots>
443    <slot>parse_argv()</slot>
444    <slot>updateStatus()</slot>
445    <slot>updateNetworks()</slot>
446    <slot>helpIndex()</slot>
447    <slot>helpContents()</slot>
448    <slot>helpAbout()</slot>
449    <slot>disconnect()</slot>
450    <slot>scan()</slot>
451    <slot>eventHistory()</slot>
452    <slot>ping()</slot>
453    <slot>processMsg( char * msg )</slot>
454    <slot>processCtrlReq( const char * req )</slot>
455    <slot>receiveMsgs()</slot>
456    <slot>connectB()</slot>
457    <slot>selectNetwork( const QString &amp; sel )</slot>
458    <slot>editNetwork()</slot>
459    <slot>addNetwork()</slot>
460    <slot>selectAdapter( const QString &amp; sel )</slot>
461</slots>
462<functions>
463    <function access="private" specifier="non virtual">init()</function>
464    <function access="private" specifier="non virtual">destroy()</function>
465    <function access="private" specifier="non virtual" returnType="int">openCtrlConnection( const char * ifname )</function>
466    <function returnType="int">ctrlRequest( const char * cmd, char * buf, size_t * buflen )</function>
467    <function>triggerUpdate()</function>
468</functions>
469<pixmapinproject/>
470<layoutdefaults spacing="6" margin="11"/>
471</UI>
472