1
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
3
<widget class="QMainWindow">
5
<cstring>WpaGui</cstring>
7
<property name="geometry">
15
<property name="caption">
16
<string>wpa_gui</string>
19
<property name="name">
20
<cstring>unnamed</cstring>
22
<widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
23
<property name="name">
24
<cstring>textLabel16</cstring>
26
<property name="text">
27
<string>Adapter:</string>
30
<widget class="QComboBox" row="0" column="2" rowspan="1" colspan="2">
31
<property name="name">
32
<cstring>adapterSelect</cstring>
35
<widget class="QLabel" row="1" column="0" rowspan="1" colspan="2">
36
<property name="name">
37
<cstring>textLabel8</cstring>
39
<property name="text">
40
<string>Network:</string>
43
<widget class="QComboBox" row="1" column="2" rowspan="1" colspan="2">
44
<property name="name">
45
<cstring>networkSelect</cstring>
48
<widget class="QFrame" row="2" column="0" rowspan="1" colspan="4">
49
<property name="name">
50
<cstring>frame3</cstring>
52
<property name="frameShape">
53
<enum>StyledPanel</enum>
55
<property name="frameShadow">
59
<property name="name">
60
<cstring>unnamed</cstring>
62
<widget class="QLabel" row="0" column="0">
63
<property name="name">
64
<cstring>textLabel1</cstring>
66
<property name="text">
67
<string>Status:</string>
70
<widget class="QLabel" row="1" column="0">
71
<property name="name">
72
<cstring>textLabel2</cstring>
74
<property name="text">
75
<string>Last message:</string>
78
<widget class="QLabel" row="2" column="0">
79
<property name="name">
80
<cstring>textLabel3</cstring>
82
<property name="text">
83
<string>Authentication:</string>
86
<widget class="QLabel" row="3" column="0">
87
<property name="name">
88
<cstring>textLabel4</cstring>
90
<property name="text">
91
<string>Encryption:</string>
94
<widget class="QLabel" row="4" column="0">
95
<property name="name">
96
<cstring>textLabel5</cstring>
98
<property name="text">
99
<string>SSID:</string>
102
<widget class="QLabel" row="5" column="0">
103
<property name="name">
104
<cstring>textLabel6</cstring>
106
<property name="text">
107
<string>BSSID:</string>
110
<widget class="QLabel" row="6" column="0">
111
<property name="name">
112
<cstring>textLabel7</cstring>
114
<property name="text">
115
<string>IP address:</string>
118
<widget class="QLabel" row="0" column="1">
119
<property name="name">
120
<cstring>textStatus</cstring>
122
<property name="text">
126
<widget class="QLabel" row="1" column="1" rowspan="1" colspan="3">
127
<property name="name">
128
<cstring>textLastMessage</cstring>
130
<property name="text">
134
<widget class="QLabel" row="2" column="1">
135
<property name="name">
136
<cstring>textAuthentication</cstring>
138
<property name="text">
142
<widget class="QLabel" row="3" column="1">
143
<property name="name">
144
<cstring>textEncryption</cstring>
146
<property name="text">
150
<widget class="QLabel" row="4" column="1">
151
<property name="name">
152
<cstring>textSsid</cstring>
154
<property name="text">
158
<widget class="QLabel" row="5" column="1">
159
<property name="name">
160
<cstring>textBssid</cstring>
162
<property name="text">
166
<widget class="QLabel" row="6" column="1">
167
<property name="name">
168
<cstring>textIpAddress</cstring>
170
<property name="text">
176
<spacer row="3" column="0">
177
<property name="name">
178
<cstring>spacer7</cstring>
180
<property name="orientation">
181
<enum>Horizontal</enum>
183
<property name="sizeType">
184
<enum>Expanding</enum>
186
<property name="sizeHint">
193
<widget class="QPushButton" row="3" column="1">
194
<property name="name">
195
<cstring>connectButton</cstring>
197
<property name="text">
198
<string>Connect</string>
201
<widget class="QPushButton" row="3" column="2">
202
<property name="name">
203
<cstring>disconnectButton</cstring>
205
<property name="text">
206
<string>Disconnect</string>
209
<widget class="QPushButton" row="3" column="3">
210
<property name="name">
211
<cstring>scanButton</cstring>
213
<property name="text">
214
<string>Scan</string>
220
<property name="name">
221
<cstring>MenuBar</cstring>
223
<item text="&File" name="fileMenu">
225
<action name="fileEventHistoryAction"/>
226
<action name="fileAdd_NetworkAction"/>
227
<action name="fileEdit_networkAction"/>
229
<action name="fileExitAction"/>
231
<item text="&Help" name="helpMenu">
232
<action name="helpContentsAction"/>
233
<action name="helpIndexAction"/>
235
<action name="helpAboutAction"/>
242
<property name="name">
243
<cstring>fileExitAction</cstring>
245
<property name="text">
246
<string>Exit</string>
248
<property name="menuText">
249
<string>E&xit</string>
251
<property name="accel">
252
<string>Ctrl+Q</string>
256
<property name="name">
257
<cstring>helpContentsAction</cstring>
259
<property name="enabled">
262
<property name="text">
263
<string>Contents</string>
265
<property name="menuText">
266
<string>&Contents...</string>
268
<property name="accel">
273
<property name="name">
274
<cstring>helpIndexAction</cstring>
276
<property name="enabled">
279
<property name="text">
280
<string>Index</string>
282
<property name="menuText">
283
<string>&Index...</string>
285
<property name="accel">
290
<property name="name">
291
<cstring>helpAboutAction</cstring>
293
<property name="text">
294
<string>About</string>
296
<property name="menuText">
297
<string>&About</string>
299
<property name="accel">
304
<property name="name">
305
<cstring>fileEventHistoryAction</cstring>
307
<property name="text">
308
<string>Event History</string>
310
<property name="menuText">
311
<string>Event &History</string>
315
<property name="name">
316
<cstring>fileAdd_NetworkAction</cstring>
318
<property name="text">
319
<string>Add Network</string>
321
<property name="menuText">
322
<string>&Add Network</string>
326
<property name="name">
327
<cstring>fileEdit_networkAction</cstring>
329
<property name="text">
330
<string>Edit Network</string>
332
<property name="menuText">
333
<string>&Edit Network</string>
339
<sender>helpIndexAction</sender>
340
<signal>activated()</signal>
341
<receiver>WpaGui</receiver>
342
<slot>helpIndex()</slot>
345
<sender>helpContentsAction</sender>
346
<signal>activated()</signal>
347
<receiver>WpaGui</receiver>
348
<slot>helpContents()</slot>
351
<sender>helpAboutAction</sender>
352
<signal>activated()</signal>
353
<receiver>WpaGui</receiver>
354
<slot>helpAbout()</slot>
357
<sender>fileExitAction</sender>
358
<signal>activated()</signal>
359
<receiver>WpaGui</receiver>
363
<sender>disconnectButton</sender>
364
<signal>clicked()</signal>
365
<receiver>WpaGui</receiver>
366
<slot>disconnect()</slot>
369
<sender>scanButton</sender>
370
<signal>clicked()</signal>
371
<receiver>WpaGui</receiver>
375
<sender>connectButton</sender>
376
<signal>clicked()</signal>
377
<receiver>WpaGui</receiver>
378
<slot>connectB()</slot>
381
<sender>fileEventHistoryAction</sender>
382
<signal>activated()</signal>
383
<receiver>WpaGui</receiver>
384
<slot>eventHistory()</slot>
387
<sender>networkSelect</sender>
388
<signal>activated(const QString&)</signal>
389
<receiver>WpaGui</receiver>
390
<slot>selectNetwork(const QString&)</slot>
393
<sender>fileEdit_networkAction</sender>
394
<signal>activated()</signal>
395
<receiver>WpaGui</receiver>
396
<slot>editNetwork()</slot>
399
<sender>fileAdd_NetworkAction</sender>
400
<signal>activated()</signal>
401
<receiver>WpaGui</receiver>
402
<slot>addNetwork()</slot>
406
<include location="global" impldecl="in declaration">qtimer.h</include>
407
<include location="global" impldecl="in declaration">qsocketnotifier.h</include>
408
<include location="local" impldecl="in declaration">wpamsg.h</include>
409
<include location="local" impldecl="in declaration">eventhistory.h</include>
410
<include location="local" impldecl="in declaration">scanresults.h</include>
411
<include location="local" impldecl="in implementation">wpa_ctrl.h</include>
412
<include location="global" impldecl="in implementation">dirent.h</include>
413
<include location="global" impldecl="in implementation">qmessagebox.h</include>
414
<include location="global" impldecl="in implementation">qapplication.h</include>
415
<include location="local" impldecl="in implementation">userdatarequest.h</include>
416
<include location="local" impldecl="in implementation">networkconfig.h</include>
417
<include location="local" impldecl="in implementation">wpagui.ui.h</include>
420
<forward>class UserDataRequest;</forward>
423
<variable access="private">ScanResults *scanres;</variable>
424
<variable access="private">bool networkMayHaveChanged;</variable>
425
<variable access="private">char *ctrl_iface;</variable>
426
<variable access="private">EventHistory *eh;</variable>
427
<variable access="private">struct wpa_ctrl *ctrl_conn;</variable>
428
<variable access="private">QSocketNotifier *msgNotifier;</variable>
429
<variable access="private">QTimer *timer;</variable>
430
<variable access="private">int pingsToStatusUpdate;</variable>
431
<variable access="private">WpaMsgList msgs;</variable>
432
<variable access="private">char *ctrl_iface_dir;</variable>
433
<variable access="private">struct wpa_ctrl *monitor_conn;</variable>
434
<variable access="private">UserDataRequest *udr;</variable>
437
<slot>parse_argv()</slot>
438
<slot>updateStatus()</slot>
439
<slot>updateNetworks()</slot>
440
<slot>helpIndex()</slot>
441
<slot>helpContents()</slot>
442
<slot>helpAbout()</slot>
443
<slot>disconnect()</slot>
445
<slot>eventHistory()</slot>
447
<slot>processMsg( char * msg )</slot>
448
<slot>processCtrlReq( const char * req )</slot>
449
<slot>receiveMsgs()</slot>
450
<slot>connectB()</slot>
451
<slot>selectNetwork( const QString & sel )</slot>
452
<slot>editNetwork()</slot>
453
<slot>addNetwork()</slot>
456
<function access="private" specifier="non virtual">init()</function>
457
<function access="private" specifier="non virtual">destroy()</function>
458
<function access="private" specifier="non virtual" returnType="int">openCtrlConnection( const char * ifname )</function>
459
<function returnType="int">ctrlRequest( const char * cmd, char * buf, size_t * buflen )</function>
460
<function>triggerUpdate()</function>
463
<layoutdefaults spacing="6" margin="11"/>
1
<ui version="4.0" stdsetdef="1" >
4
<exportmacro></exportmacro>
6
<widget class="QMainWindow" name="WpaGui" >
7
<property name="geometry" >
15
<property name="windowTitle" >
16
<string>wpa_gui</string>
18
<widget class="QWidget" >
19
<layout class="QGridLayout" >
20
<item rowspan="1" row="0" column="0" colspan="2" >
21
<widget class="QLabel" name="textLabel16" >
22
<property name="text" >
23
<string>Adapter:</string>
27
<item rowspan="1" row="0" column="2" colspan="2" >
28
<widget class="QComboBox" name="adapterSelect" />
30
<item rowspan="1" row="1" column="0" colspan="2" >
31
<widget class="QLabel" name="textLabel8" >
32
<property name="text" >
33
<string>Network:</string>
37
<item rowspan="1" row="1" column="2" colspan="2" >
38
<widget class="QComboBox" name="networkSelect" />
40
<item rowspan="1" row="2" column="0" colspan="4" >
41
<widget class="QFrame" name="frame3" >
42
<property name="frameShape" >
43
<enum>StyledPanel</enum>
45
<property name="frameShadow" >
48
<layout class="QGridLayout" >
49
<item row="0" column="0" >
50
<widget class="QLabel" name="textLabel1" >
51
<property name="text" >
52
<string>Status:</string>
56
<item row="1" column="0" >
57
<widget class="QLabel" name="textLabel2" >
58
<property name="text" >
59
<string>Last message:</string>
63
<item row="2" column="0" >
64
<widget class="QLabel" name="textLabel3" >
65
<property name="text" >
66
<string>Authentication:</string>
70
<item row="3" column="0" >
71
<widget class="QLabel" name="textLabel4" >
72
<property name="text" >
73
<string>Encryption:</string>
77
<item row="4" column="0" >
78
<widget class="QLabel" name="textLabel5" >
79
<property name="text" >
80
<string>SSID:</string>
84
<item row="5" column="0" >
85
<widget class="QLabel" name="textLabel6" >
86
<property name="text" >
87
<string>BSSID:</string>
91
<item row="6" column="0" >
92
<widget class="QLabel" name="textLabel7" >
93
<property name="text" >
94
<string>IP address:</string>
98
<item row="0" column="1" >
99
<widget class="QLabel" name="textStatus" >
100
<property name="text" >
105
<item rowspan="1" row="1" column="1" colspan="3" >
106
<widget class="QLabel" name="textLastMessage" >
107
<property name="text" >
112
<item row="2" column="1" >
113
<widget class="QLabel" name="textAuthentication" >
114
<property name="text" >
119
<item row="3" column="1" >
120
<widget class="QLabel" name="textEncryption" >
121
<property name="text" >
126
<item row="4" column="1" >
127
<widget class="QLabel" name="textSsid" >
128
<property name="text" >
133
<item row="5" column="1" >
134
<widget class="QLabel" name="textBssid" >
135
<property name="text" >
140
<item row="6" column="1" >
141
<widget class="QLabel" name="textIpAddress" >
142
<property name="text" >
150
<item row="3" column="0" >
151
<spacer name="spacer7" >
152
<property name="sizeHint" >
158
<property name="sizeType" >
159
<enum>Expanding</enum>
161
<property name="orientation" >
162
<enum>Horizontal</enum>
166
<item row="3" column="1" >
167
<widget class="QPushButton" name="connectButton" >
168
<property name="text" >
169
<string>Connect</string>
173
<item row="3" column="2" >
174
<widget class="QPushButton" name="disconnectButton" >
175
<property name="text" >
176
<string>Disconnect</string>
180
<item row="3" column="3" >
181
<widget class="QPushButton" name="scanButton" >
182
<property name="text" >
183
<string>Scan</string>
189
<widget class="QMenuBar" name="MenuBar" >
190
<widget class="QMenu" name="fileMenu" >
191
<property name="title" >
192
<string>&File</string>
194
<addaction name="separator" />
195
<addaction name="fileEventHistoryAction" />
196
<addaction name="fileAdd_NetworkAction" />
197
<addaction name="fileEdit_networkAction" />
198
<addaction name="separator" />
199
<addaction name="fileExitAction" />
201
<widget class="QMenu" name="helpMenu" >
202
<property name="title" >
203
<string>&Help</string>
205
<addaction name="helpContentsAction" />
206
<addaction name="helpIndexAction" />
207
<addaction name="separator" />
208
<addaction name="helpAboutAction" />
210
<addaction name="fileMenu" />
211
<addaction name="helpMenu" />
213
<action name="fileExitAction" >
214
<property name="name" >
215
<cstring>fileExitAction</cstring>
217
<property name="iconText" >
218
<string>Exit</string>
220
<property name="text" >
221
<string>E&xit</string>
223
<property name="shortcut" >
224
<string>Ctrl+Q</string>
227
<action name="helpContentsAction" >
228
<property name="name" >
229
<cstring>helpContentsAction</cstring>
231
<property name="enabled" >
234
<property name="iconText" >
235
<string>Contents</string>
237
<property name="text" >
238
<string>&Contents...</string>
240
<property name="shortcut" >
244
<action name="helpIndexAction" >
245
<property name="name" >
246
<cstring>helpIndexAction</cstring>
248
<property name="enabled" >
251
<property name="iconText" >
252
<string>Index</string>
254
<property name="text" >
255
<string>&Index...</string>
257
<property name="shortcut" >
261
<action name="helpAboutAction" >
262
<property name="name" >
263
<cstring>helpAboutAction</cstring>
265
<property name="iconText" >
266
<string>About</string>
268
<property name="text" >
269
<string>&About</string>
271
<property name="shortcut" >
275
<action name="fileEventHistoryAction" >
276
<property name="name" >
277
<cstring>fileEventHistoryAction</cstring>
279
<property name="iconText" >
280
<string>Event History</string>
282
<property name="text" >
283
<string>Event &History</string>
286
<action name="fileAdd_NetworkAction" >
287
<property name="name" >
288
<cstring>fileAdd_NetworkAction</cstring>
290
<property name="iconText" >
291
<string>Add Network</string>
293
<property name="text" >
294
<string>&Add Network</string>
297
<action name="fileEdit_networkAction" >
298
<property name="name" >
299
<cstring>fileEdit_networkAction</cstring>
301
<property name="iconText" >
302
<string>Edit Network</string>
304
<property name="text" >
305
<string>&Edit Network</string>
309
<layoutdefault spacing="6" margin="11" />
310
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
312
<include location="global" >qtimer.h</include>
313
<include location="global" >qsocketnotifier.h</include>
314
<include location="local" >wpamsg.h</include>
315
<include location="local" >eventhistory.h</include>
316
<include location="local" >scanresults.h</include>