summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/configbase.ui187
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiterbase.cpp16
2 files changed, 158 insertions, 45 deletions
diff --git a/noncore/net/wellenreiter/gui/configbase.ui b/noncore/net/wellenreiter/gui/configbase.ui
index 113e783..3a1c258 100644
--- a/noncore/net/wellenreiter/gui/configbase.ui
+++ b/noncore/net/wellenreiter/gui/configbase.ui
@@ -1,270 +1,270 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>WellenreiterConfigBase</class> 2<class>WellenreiterConfigBase</class>
3<widget> 3<widget>
4 <class>QDialog</class> 4 <class>QDialog</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>WellenreiterConfigBase</cstring> 7 <cstring>WellenreiterConfigBase</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>246</width> 14 <width>250</width>
15 <height>371</height> 15 <height>371</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>caption</name> 19 <name>caption</name>
20 <string>Wellenreiter II COnfiguration Dialog</string> 20 <string>Wellenreiter II COnfiguration Dialog</string>
21 </property> 21 </property>
22 <property> 22 <property>
23 <name>layoutMargin</name> 23 <name>layoutMargin</name>
24 </property> 24 </property>
25 <property> 25 <property>
26 <name>layoutSpacing</name> 26 <name>layoutSpacing</name>
27 </property> 27 </property>
28 <grid> 28 <grid>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>margin</name> 30 <name>margin</name>
31 <number>2</number> 31 <number>2</number>
32 </property> 32 </property>
33 <property stdset="1"> 33 <property stdset="1">
34 <name>spacing</name> 34 <name>spacing</name>
35 <number>3</number> 35 <number>3</number>
36 </property> 36 </property>
37 <widget row="0" column="0" > 37 <widget row="0" column="0" >
38 <class>QTabWidget</class> 38 <class>QTabWidget</class>
39 <property stdset="1"> 39 <property stdset="1">
40 <name>name</name> 40 <name>name</name>
41 <cstring>tab</cstring> 41 <cstring>tab</cstring>
42 </property> 42 </property>
43 <property> 43 <property>
44 <name>layoutMargin</name> 44 <name>layoutMargin</name>
45 </property> 45 </property>
46 <property> 46 <property>
47 <name>layoutSpacing</name> 47 <name>layoutSpacing</name>
48 </property> 48 </property>
49 <property> 49 <property>
50 <name>whatsThis</name> 50 <name>whatsThis</name>
51 <string></string> 51 <string></string>
52 </property> 52 </property>
53 <widget> 53 <widget>
54 <class>QWidget</class> 54 <class>QWidget</class>
55 <property stdset="1"> 55 <property stdset="1">
56 <name>name</name> 56 <name>name</name>
57 <cstring>tab</cstring> 57 <cstring>tab</cstring>
58 </property> 58 </property>
59 <attribute> 59 <attribute>
60 <name>title</name> 60 <name>title</name>
61 <string>Interface</string> 61 <string>Interface</string>
62 </attribute> 62 </attribute>
63 <vbox> 63 <vbox>
64 <property stdset="1"> 64 <property stdset="1">
65 <name>margin</name> 65 <name>margin</name>
66 <number>6</number> 66 <number>6</number>
67 </property> 67 </property>
68 <property stdset="1"> 68 <property stdset="1">
69 <name>spacing</name> 69 <name>spacing</name>
70 <number>6</number> 70 <number>6</number>
71 </property> 71 </property>
72 <widget> 72 <widget>
73 <class>QLayoutWidget</class> 73 <class>QLayoutWidget</class>
74 <property stdset="1"> 74 <property stdset="1">
75 <name>name</name> 75 <name>name</name>
76 <cstring>Layout7</cstring> 76 <cstring>Layout7</cstring>
77 </property> 77 </property>
78 <grid> 78 <grid>
79 <property stdset="1"> 79 <property stdset="1">
80 <name>margin</name> 80 <name>margin</name>
81 <number>0</number> 81 <number>0</number>
82 </property> 82 </property>
83 <property stdset="1"> 83 <property stdset="1">
84 <name>spacing</name> 84 <name>spacing</name>
85 <number>6</number> 85 <number>6</number>
86 </property> 86 </property>
87 <widget row="1" column="1" > 87 <widget row="1" column="1" >
88 <class>QComboBox</class> 88 <class>QComboBox</class>
89 <item> 89 <item>
90 <property> 90 <property>
91 <name>text</name> 91 <name>text</name>
92 <string>&lt;select&gt;</string> 92 <string>&lt;select&gt;</string>
93 </property> 93 </property>
94 </item> 94 </item>
95 <item> 95 <item>
96 <property> 96 <property>
97 <name>text</name> 97 <name>text</name>
98 <string>cisco</string> 98 <string>cisco</string>
99 </property> 99 </property>
100 </item> 100 </item>
101 <item> 101 <item>
102 <property> 102 <property>
103 <name>text</name> 103 <name>text</name>
104 <string>wlan-ng</string> 104 <string>wlan-ng</string>
105 </property> 105 </property>
106 </item> 106 </item>
107 <item> 107 <item>
108 <property> 108 <property>
109 <name>text</name> 109 <name>text</name>
110 <string>hostap</string> 110 <string>hostap</string>
111 </property> 111 </property>
112 </item> 112 </item>
113 <item> 113 <item>
114 <property> 114 <property>
115 <name>text</name> 115 <name>text</name>
116 <string>orinoco</string> 116 <string>orinoco</string>
117 </property> 117 </property>
118 </item> 118 </item>
119 <item> 119 <item>
120 <property> 120 <property>
121 <name>text</name> 121 <name>text</name>
122 <string>&lt;manual&gt;</string> 122 <string>&lt;manual&gt;</string>
123 </property> 123 </property>
124 </item> 124 </item>
125 <item> 125 <item>
126 <property> 126 <property>
127 <name>text</name> 127 <name>text</name>
128 <string>&lt;file&gt;</string> 128 <string>&lt;file&gt;</string>
129 </property> 129 </property>
130 </item> 130 </item>
131 <property stdset="1"> 131 <property stdset="1">
132 <name>name</name> 132 <name>name</name>
133 <cstring>deviceType</cstring> 133 <cstring>deviceType</cstring>
134 </property> 134 </property>
135 <property stdset="1"> 135 <property stdset="1">
136 <name>enabled</name> 136 <name>enabled</name>
137 <bool>true</bool> 137 <bool>true</bool>
138 </property> 138 </property>
139 <property stdset="1"> 139 <property stdset="1">
140 <name>sizePolicy</name> 140 <name>sizePolicy</name>
141 <sizepolicy> 141 <sizepolicy>
142 <hsizetype>7</hsizetype> 142 <hsizetype>7</hsizetype>
143 <vsizetype>0</vsizetype> 143 <vsizetype>0</vsizetype>
144 </sizepolicy> 144 </sizepolicy>
145 </property> 145 </property>
146 <property> 146 <property>
147 <name>whatsThis</name> 147 <name>whatsThis</name>
148 <string>Choose the type of driver used for sniffing.</string> 148 <string>Choose the type of driver used for sniffing.</string>
149 </property> 149 </property>
150 </widget> 150 </widget>
151 <widget row="1" column="0" > 151 <widget row="1" column="0" >
152 <class>QLabel</class> 152 <class>QLabel</class>
153 <property stdset="1"> 153 <property stdset="1">
154 <name>name</name> 154 <name>name</name>
155 <cstring>TextLabel2_3</cstring> 155 <cstring>TextLabel2_3</cstring>
156 </property> 156 </property>
157 <property stdset="1"> 157 <property stdset="1">
158 <name>enabled</name> 158 <name>enabled</name>
159 <bool>true</bool> 159 <bool>true</bool>
160 </property> 160 </property>
161 <property stdset="1"> 161 <property stdset="1">
162 <name>text</name> 162 <name>text</name>
163 <string>Driver:</string> 163 <string>Driver:</string>
164 </property> 164 </property>
165 </widget> 165 </widget>
166 <widget row="0" column="1" > 166 <widget row="0" column="1" >
167 <class>QComboBox</class> 167 <class>QComboBox</class>
168 <property stdset="1"> 168 <property stdset="1">
169 <name>name</name> 169 <name>name</name>
170 <cstring>interfaceName</cstring> 170 <cstring>interfaceName</cstring>
171 </property> 171 </property>
172 <property stdset="1"> 172 <property stdset="1">
173 <name>enabled</name> 173 <name>enabled</name>
174 <bool>true</bool> 174 <bool>true</bool>
175 </property> 175 </property>
176 <property stdset="1"> 176 <property stdset="1">
177 <name>sizePolicy</name> 177 <name>sizePolicy</name>
178 <sizepolicy> 178 <sizepolicy>
179 <hsizetype>7</hsizetype> 179 <hsizetype>7</hsizetype>
180 <vsizetype>0</vsizetype> 180 <vsizetype>0</vsizetype>
181 </sizepolicy> 181 </sizepolicy>
182 </property> 182 </property>
183 <property stdset="1"> 183 <property stdset="1">
184 <name>editable</name> 184 <name>editable</name>
185 <bool>false</bool> 185 <bool>false</bool>
186 </property> 186 </property>
187 <property> 187 <property>
188 <name>whatsThis</name> 188 <name>whatsThis</name>
189 <string>Choose the interface used for sniffing.</string> 189 <string>Choose the interface used for sniffing.</string>
190 </property> 190 </property>
191 </widget> 191 </widget>
192 <widget row="0" column="0" > 192 <widget row="0" column="0" >
193 <class>QLabel</class> 193 <class>QLabel</class>
194 <property stdset="1"> 194 <property stdset="1">
195 <name>name</name> 195 <name>name</name>
196 <cstring>TextLabel1_2</cstring> 196 <cstring>TextLabel1_2</cstring>
197 </property> 197 </property>
198 <property stdset="1"> 198 <property stdset="1">
199 <name>enabled</name> 199 <name>enabled</name>
200 <bool>true</bool> 200 <bool>true</bool>
201 </property> 201 </property>
202 <property stdset="1"> 202 <property stdset="1">
203 <name>text</name> 203 <name>text</name>
204 <string>Name:</string> 204 <string>Name:</string>
205 </property> 205 </property>
206 </widget> 206 </widget>
207 </grid> 207 </grid>
208 </widget> 208 </widget>
209 <widget> 209 <widget>
210 <class>QLayoutWidget</class> 210 <class>QLayoutWidget</class>
211 <property stdset="1"> 211 <property stdset="1">
212 <name>name</name> 212 <name>name</name>
213 <cstring>Layout5</cstring> 213 <cstring>Layout5</cstring>
214 </property> 214 </property>
215 <hbox> 215 <hbox>
216 <property stdset="1"> 216 <property stdset="1">
217 <name>margin</name> 217 <name>margin</name>
218 <number>0</number> 218 <number>0</number>
219 </property> 219 </property>
220 <property stdset="1"> 220 <property stdset="1">
221 <name>spacing</name> 221 <name>spacing</name>
222 <number>6</number> 222 <number>6</number>
223 </property> 223 </property>
224 <widget> 224 <widget>
225 <class>QPushButton</class> 225 <class>QPushButton</class>
226 <property stdset="1"> 226 <property stdset="1">
227 <name>name</name> 227 <name>name</name>
228 <cstring>autodetect</cstring> 228 <cstring>autodetect</cstring>
229 </property> 229 </property>
230 <property stdset="1"> 230 <property stdset="1">
231 <name>text</name> 231 <name>text</name>
232 <string>Perform Autodetection</string> 232 <string>Perform Autodetection</string>
233 </property> 233 </property>
234 <property> 234 <property>
235 <name>whatsThis</name> 235 <name>whatsThis</name>
236 <string>Retrigger the autodetection algorithm</string> 236 <string>Retrigger the autodetection algorithm</string>
237 </property> 237 </property>
238 </widget> 238 </widget>
239 </hbox> 239 </hbox>
240 </widget> 240 </widget>
241 <widget> 241 <widget>
242 <class>QCheckBox</class> 242 <class>QCheckBox</class>
243 <property stdset="1"> 243 <property stdset="1">
244 <name>name</name> 244 <name>name</name>
245 <cstring>prismHeader</cstring> 245 <cstring>prismHeader</cstring>
246 </property> 246 </property>
247 <property stdset="1"> 247 <property stdset="1">
248 <name>text</name> 248 <name>text</name>
249 <string>Use additional PRISM header</string> 249 <string>Use additional PRISM header</string>
250 </property> 250 </property>
251 <property> 251 <property>
252 <name>whatsThis</name> 252 <name>whatsThis</name>
253 <string>Use additional PRISM headers, if available.</string> 253 <string>Use additional PRISM headers, if available.</string>
254 </property> 254 </property>
255 </widget> 255 </widget>
256 <spacer> 256 <spacer>
257 <property> 257 <property>
258 <name>name</name> 258 <name>name</name>
259 <cstring>Spacer4</cstring> 259 <cstring>Spacer4</cstring>
260 </property> 260 </property>
261 <property stdset="1"> 261 <property stdset="1">
262 <name>orientation</name> 262 <name>orientation</name>
263 <enum>Vertical</enum> 263 <enum>Vertical</enum>
264 </property> 264 </property>
265 <property stdset="1"> 265 <property stdset="1">
266 <name>sizeType</name> 266 <name>sizeType</name>
267 <enum>Expanding</enum> 267 <enum>Expanding</enum>
268 </property> 268 </property>
269 <property> 269 <property>
270 <name>sizeHint</name> 270 <name>sizeHint</name>
@@ -343,608 +343,713 @@
343 </property> 343 </property>
344 <property stdset="1"> 344 <property stdset="1">
345 <name>lineStep</name> 345 <name>lineStep</name>
346 <number>100</number> 346 <number>100</number>
347 </property> 347 </property>
348 <property stdset="1"> 348 <property stdset="1">
349 <name>value</name> 349 <name>value</name>
350 <number>1000</number> 350 <number>1000</number>
351 </property> 351 </property>
352 <property> 352 <property>
353 <name>whatsThis</name> 353 <name>whatsThis</name>
354 <string>Choose the channel hop interval.</string> 354 <string>Choose the channel hop interval.</string>
355 </property> 355 </property>
356 </widget> 356 </widget>
357 </hbox> 357 </hbox>
358 </widget> 358 </widget>
359 <widget> 359 <widget>
360 <class>QCheckBox</class> 360 <class>QCheckBox</class>
361 <property stdset="1"> 361 <property stdset="1">
362 <name>name</name> 362 <name>name</name>
363 <cstring>adaptiveHopping</cstring> 363 <cstring>adaptiveHopping</cstring>
364 </property> 364 </property>
365 <property stdset="1"> 365 <property stdset="1">
366 <name>enabled</name> 366 <name>enabled</name>
367 <bool>false</bool> 367 <bool>false</bool>
368 </property> 368 </property>
369 <property stdset="1"> 369 <property stdset="1">
370 <name>text</name> 370 <name>text</name>
371 <string>Use Adaptive(TM) Hop Scheme</string> 371 <string>Use Adaptive(TM) Hop Scheme</string>
372 </property> 372 </property>
373 <property> 373 <property>
374 <name>whatsThis</name> 374 <name>whatsThis</name>
375 <string>An adaptive hopping interval dynamically changes the channel hopping parameters to listen longer on channels where traffic comes in.</string> 375 <string>An adaptive hopping interval dynamically changes the channel hopping parameters to listen longer on channels where traffic comes in.</string>
376 </property> 376 </property>
377 </widget> 377 </widget>
378 <widget> 378 <widget>
379 <class>QGroupBox</class> 379 <class>QGroupBox</class>
380 <property stdset="1"> 380 <property stdset="1">
381 <name>name</name> 381 <name>name</name>
382 <cstring>GroupBox1</cstring> 382 <cstring>GroupBox1</cstring>
383 </property> 383 </property>
384 <property stdset="1"> 384 <property stdset="1">
385 <name>enabled</name> 385 <name>enabled</name>
386 <bool>false</bool> 386 <bool>false</bool>
387 </property> 387 </property>
388 <property stdset="1"> 388 <property stdset="1">
389 <name>title</name> 389 <name>title</name>
390 <string>Scan on channel</string> 390 <string>Scan on channel</string>
391 </property> 391 </property>
392 <property> 392 <property>
393 <name>layoutMargin</name> 393 <name>layoutMargin</name>
394 </property> 394 </property>
395 <property> 395 <property>
396 <name>layoutSpacing</name> 396 <name>layoutSpacing</name>
397 </property> 397 </property>
398 <property> 398 <property>
399 <name>whatsThis</name> 399 <name>whatsThis</name>
400 <string>Check the channels which should be included in the channel hopping scheme. Note that due to the 802.11 channel overlay scheme you may receive data on neighbour channels of channels, even if they're not checked here.</string> 400 <string>Check the channels which should be included in the channel hopping scheme. Note that due to the 802.11 channel overlay scheme you may receive data on neighbour channels of channels, even if they're not checked here.</string>
401 </property> 401 </property>
402 <grid> 402 <grid>
403 <property stdset="1"> 403 <property stdset="1">
404 <name>margin</name> 404 <name>margin</name>
405 <number>4</number> 405 <number>4</number>
406 </property> 406 </property>
407 <property stdset="1"> 407 <property stdset="1">
408 <name>spacing</name> 408 <name>spacing</name>
409 <number>2</number> 409 <number>2</number>
410 </property> 410 </property>
411 <widget row="1" column="1" > 411 <widget row="1" column="1" >
412 <class>QCheckBox</class> 412 <class>QCheckBox</class>
413 <property stdset="1"> 413 <property stdset="1">
414 <name>name</name> 414 <name>name</name>
415 <cstring>channel6</cstring> 415 <cstring>channel6</cstring>
416 </property> 416 </property>
417 <property stdset="1"> 417 <property stdset="1">
418 <name>text</name> 418 <name>text</name>
419 <string>6</string> 419 <string>6</string>
420 </property> 420 </property>
421 </widget> 421 </widget>
422 <widget row="1" column="3" > 422 <widget row="1" column="3" >
423 <class>QCheckBox</class> 423 <class>QCheckBox</class>
424 <property stdset="1"> 424 <property stdset="1">
425 <name>name</name> 425 <name>name</name>
426 <cstring>channel8</cstring> 426 <cstring>channel8</cstring>
427 </property> 427 </property>
428 <property stdset="1"> 428 <property stdset="1">
429 <name>text</name> 429 <name>text</name>
430 <string>8</string> 430 <string>8</string>
431 </property> 431 </property>
432 </widget> 432 </widget>
433 <widget row="0" column="2" > 433 <widget row="0" column="2" >
434 <class>QCheckBox</class> 434 <class>QCheckBox</class>
435 <property stdset="1"> 435 <property stdset="1">
436 <name>name</name> 436 <name>name</name>
437 <cstring>channel2</cstring> 437 <cstring>channel2</cstring>
438 </property> 438 </property>
439 <property stdset="1"> 439 <property stdset="1">
440 <name>text</name> 440 <name>text</name>
441 <string>2</string> 441 <string>2</string>
442 </property> 442 </property>
443 </widget> 443 </widget>
444 <widget row="1" column="4" > 444 <widget row="1" column="4" >
445 <class>QCheckBox</class> 445 <class>QCheckBox</class>
446 <property stdset="1"> 446 <property stdset="1">
447 <name>name</name> 447 <name>name</name>
448 <cstring>channel9</cstring> 448 <cstring>channel9</cstring>
449 </property> 449 </property>
450 <property stdset="1"> 450 <property stdset="1">
451 <name>text</name> 451 <name>text</name>
452 <string>9</string> 452 <string>9</string>
453 </property> 453 </property>
454 </widget> 454 </widget>
455 <widget row="0" column="1" > 455 <widget row="0" column="1" >
456 <class>QCheckBox</class> 456 <class>QCheckBox</class>
457 <property stdset="1"> 457 <property stdset="1">
458 <name>name</name> 458 <name>name</name>
459 <cstring>channel1</cstring> 459 <cstring>channel1</cstring>
460 </property> 460 </property>
461 <property stdset="1"> 461 <property stdset="1">
462 <name>text</name> 462 <name>text</name>
463 <string>1</string> 463 <string>1</string>
464 </property> 464 </property>
465 </widget> 465 </widget>
466 <widget row="0" column="0" > 466 <widget row="0" column="0" >
467 <class>QCheckBox</class> 467 <class>QCheckBox</class>
468 <property stdset="1"> 468 <property stdset="1">
469 <name>name</name> 469 <name>name</name>
470 <cstring>channelAll</cstring> 470 <cstring>channelAll</cstring>
471 </property> 471 </property>
472 <property stdset="1"> 472 <property stdset="1">
473 <name>text</name> 473 <name>text</name>
474 <string>All</string> 474 <string>All</string>
475 </property> 475 </property>
476 </widget> 476 </widget>
477 <widget row="2" column="1" > 477 <widget row="2" column="1" >
478 <class>QCheckBox</class> 478 <class>QCheckBox</class>
479 <property stdset="1"> 479 <property stdset="1">
480 <name>name</name> 480 <name>name</name>
481 <cstring>channel11</cstring> 481 <cstring>channel11</cstring>
482 </property> 482 </property>
483 <property stdset="1"> 483 <property stdset="1">
484 <name>text</name> 484 <name>text</name>
485 <string>11</string> 485 <string>11</string>
486 </property> 486 </property>
487 </widget> 487 </widget>
488 <widget row="2" column="0" > 488 <widget row="2" column="0" >
489 <class>QCheckBox</class> 489 <class>QCheckBox</class>
490 <property stdset="1"> 490 <property stdset="1">
491 <name>name</name> 491 <name>name</name>
492 <cstring>channel10</cstring> 492 <cstring>channel10</cstring>
493 </property> 493 </property>
494 <property stdset="1"> 494 <property stdset="1">
495 <name>text</name> 495 <name>text</name>
496 <string>10</string> 496 <string>10</string>
497 </property> 497 </property>
498 </widget> 498 </widget>
499 <widget row="1" column="2" > 499 <widget row="1" column="2" >
500 <class>QCheckBox</class> 500 <class>QCheckBox</class>
501 <property stdset="1"> 501 <property stdset="1">
502 <name>name</name> 502 <name>name</name>
503 <cstring>channel7</cstring> 503 <cstring>channel7</cstring>
504 </property> 504 </property>
505 <property stdset="1"> 505 <property stdset="1">
506 <name>text</name> 506 <name>text</name>
507 <string>7</string> 507 <string>7</string>
508 </property> 508 </property>
509 </widget> 509 </widget>
510 <widget row="0" column="3" > 510 <widget row="0" column="3" >
511 <class>QCheckBox</class> 511 <class>QCheckBox</class>
512 <property stdset="1"> 512 <property stdset="1">
513 <name>name</name> 513 <name>name</name>
514 <cstring>channel3</cstring> 514 <cstring>channel3</cstring>
515 </property> 515 </property>
516 <property stdset="1"> 516 <property stdset="1">
517 <name>text</name> 517 <name>text</name>
518 <string>3</string> 518 <string>3</string>
519 </property> 519 </property>
520 </widget> 520 </widget>
521 <widget row="1" column="0" > 521 <widget row="1" column="0" >
522 <class>QCheckBox</class> 522 <class>QCheckBox</class>
523 <property stdset="1"> 523 <property stdset="1">
524 <name>name</name> 524 <name>name</name>
525 <cstring>channel5</cstring> 525 <cstring>channel5</cstring>
526 </property> 526 </property>
527 <property stdset="1"> 527 <property stdset="1">
528 <name>text</name> 528 <name>text</name>
529 <string>5</string> 529 <string>5</string>
530 </property> 530 </property>
531 </widget> 531 </widget>
532 <widget row="0" column="4" > 532 <widget row="0" column="4" >
533 <class>QCheckBox</class> 533 <class>QCheckBox</class>
534 <property stdset="1"> 534 <property stdset="1">
535 <name>name</name> 535 <name>name</name>
536 <cstring>channel4</cstring> 536 <cstring>channel4</cstring>
537 </property> 537 </property>
538 <property stdset="1"> 538 <property stdset="1">
539 <name>text</name> 539 <name>text</name>
540 <string>4</string> 540 <string>4</string>
541 </property> 541 </property>
542 </widget> 542 </widget>
543 <widget row="2" column="2" > 543 <widget row="2" column="2" >
544 <class>QCheckBox</class> 544 <class>QCheckBox</class>
545 <property stdset="1"> 545 <property stdset="1">
546 <name>name</name> 546 <name>name</name>
547 <cstring>channel12</cstring> 547 <cstring>channel12</cstring>
548 </property> 548 </property>
549 <property stdset="1"> 549 <property stdset="1">
550 <name>text</name> 550 <name>text</name>
551 <string>12</string> 551 <string>12</string>
552 </property> 552 </property>
553 </widget> 553 </widget>
554 <widget row="2" column="3" > 554 <widget row="2" column="3" >
555 <class>QCheckBox</class> 555 <class>QCheckBox</class>
556 <property stdset="1"> 556 <property stdset="1">
557 <name>name</name> 557 <name>name</name>
558 <cstring>channel13</cstring> 558 <cstring>channel13</cstring>
559 </property> 559 </property>
560 <property stdset="1"> 560 <property stdset="1">
561 <name>text</name> 561 <name>text</name>
562 <string>13</string> 562 <string>13</string>
563 </property> 563 </property>
564 </widget> 564 </widget>
565 <widget row="2" column="4" > 565 <widget row="2" column="4" >
566 <class>QCheckBox</class> 566 <class>QCheckBox</class>
567 <property stdset="1"> 567 <property stdset="1">
568 <name>name</name> 568 <name>name</name>
569 <cstring>channel14</cstring> 569 <cstring>channel14</cstring>
570 </property> 570 </property>
571 <property stdset="1"> 571 <property stdset="1">
572 <name>text</name> 572 <name>text</name>
573 <string>14</string> 573 <string>14</string>
574 </property> 574 </property>
575 </widget> 575 </widget>
576 </grid> 576 </grid>
577 </widget> 577 </widget>
578 </vbox> 578 </vbox>
579 </widget> 579 </widget>
580 <widget> 580 <widget>
581 <class>QWidget</class> 581 <class>QWidget</class>
582 <property stdset="1"> 582 <property stdset="1">
583 <name>name</name> 583 <name>name</name>
584 <cstring>tab</cstring> 584 <cstring>tab</cstring>
585 </property> 585 </property>
586 <attribute> 586 <attribute>
587 <name>title</name> 587 <name>title</name>
588 <string>Capture</string> 588 <string>Capture</string>
589 </attribute> 589 </attribute>
590 <grid> 590 <grid>
591 <property stdset="1"> 591 <property stdset="1">
592 <name>margin</name> 592 <name>margin</name>
593 <number>5</number> 593 <number>5</number>
594 </property> 594 </property>
595 <property stdset="1"> 595 <property stdset="1">
596 <name>spacing</name> 596 <name>spacing</name>
597 <number>3</number> 597 <number>3</number>
598 </property> 598 </property>
599 <widget row="2" column="0" rowspan="1" colspan="3" >
600 <class>ProtocolListView</class>
601 <property stdset="1">
602 <name>name</name>
603 <cstring>capturePackets</cstring>
604 </property>
605 <property stdset="1">
606 <name>enabled</name>
607 <bool>false</bool>
608 </property>
609 <property stdset="1">
610 <name>sizePolicy</name>
611 <sizepolicy>
612 <hsizetype>7</hsizetype>
613 <vsizetype>7</vsizetype>
614 </sizepolicy>
615 </property>
616 </widget>
617 <widget row="1" column="0" rowspan="1" colspan="3" >
618 <class>QLineEdit</class>
619 <property stdset="1">
620 <name>name</name>
621 <cstring>captureFileName</cstring>
622 </property>
623 <property stdset="1">
624 <name>enabled</name>
625 <bool>false</bool>
626 </property>
627 <property stdset="1">
628 <name>text</name>
629 <string>/tmp/capture</string>
630 </property>
631 <property>
632 <name>whatsThis</name>
633 <string>Configure the name of the capture file.</string>
634 </property>
635 </widget>
636 <widget row="0" column="2" > 599 <widget row="0" column="2" >
637 <class>QToolButton</class> 600 <class>QToolButton</class>
638 <property stdset="1"> 601 <property stdset="1">
639 <name>name</name> 602 <name>name</name>
640 <cstring>getCaptureFileName</cstring> 603 <cstring>getCaptureFileName</cstring>
641 </property> 604 </property>
642 <property stdset="1"> 605 <property stdset="1">
643 <name>enabled</name> 606 <name>enabled</name>
644 <bool>false</bool> 607 <bool>false</bool>
645 </property> 608 </property>
646 <property stdset="1"> 609 <property stdset="1">
647 <name>text</name> 610 <name>text</name>
648 <string>Browse</string> 611 <string>Browse</string>
649 </property> 612 </property>
650 <property> 613 <property>
651 <name>whatsThis</name> 614 <name>whatsThis</name>
652 <string>Click to open a file requester to choose a capture file name.</string> 615 <string>Click to open a file requester to choose a capture file name.</string>
653 </property> 616 </property>
654 </widget> 617 </widget>
655 <spacer row="0" column="1" > 618 <spacer row="0" column="1" >
656 <property> 619 <property>
657 <name>name</name> 620 <name>name</name>
658 <cstring>Spacer2</cstring> 621 <cstring>Spacer2</cstring>
659 </property> 622 </property>
660 <property stdset="1"> 623 <property stdset="1">
661 <name>orientation</name> 624 <name>orientation</name>
662 <enum>Horizontal</enum> 625 <enum>Horizontal</enum>
663 </property> 626 </property>
664 <property stdset="1"> 627 <property stdset="1">
665 <name>sizeType</name> 628 <name>sizeType</name>
666 <enum>Expanding</enum> 629 <enum>Expanding</enum>
667 </property> 630 </property>
668 <property> 631 <property>
669 <name>sizeHint</name> 632 <name>sizeHint</name>
670 <size> 633 <size>
671 <width>20</width> 634 <width>20</width>
672 <height>20</height> 635 <height>20</height>
673 </size> 636 </size>
674 </property> 637 </property>
675 </spacer> 638 </spacer>
676 <widget row="0" column="0" > 639 <widget row="0" column="0" >
677 <class>QCheckBox</class> 640 <class>QCheckBox</class>
678 <property stdset="1"> 641 <property stdset="1">
679 <name>name</name> 642 <name>name</name>
680 <cstring>writeCaptureFile</cstring> 643 <cstring>writeCaptureFile</cstring>
681 </property> 644 </property>
682 <property stdset="1"> 645 <property stdset="1">
683 <name>enabled</name> 646 <name>enabled</name>
684 <bool>true</bool> 647 <bool>true</bool>
685 </property> 648 </property>
686 <property stdset="1"> 649 <property stdset="1">
687 <name>text</name> 650 <name>text</name>
688 <string>Write Capture Files To</string> 651 <string>Write Capture Files To</string>
689 </property> 652 </property>
653 <property stdset="1">
654 <name>checked</name>
655 <bool>true</bool>
656 </property>
690 <property> 657 <property>
691 <name>whatsThis</name> 658 <name>whatsThis</name>
692 <string>Check this to write an ethereal compatible capture file.</string> 659 <string>Check this to write an ethereal compatible capture file.</string>
693 </property> 660 </property>
694 </widget> 661 </widget>
662 <widget row="1" column="0" rowspan="1" colspan="3" >
663 <class>QLineEdit</class>
664 <property stdset="1">
665 <name>name</name>
666 <cstring>captureFileName</cstring>
667 </property>
668 <property stdset="1">
669 <name>enabled</name>
670 <bool>false</bool>
671 </property>
672 <property stdset="1">
673 <name>text</name>
674 <string>/tmp/capture</string>
675 </property>
676 <property>
677 <name>whatsThis</name>
678 <string>Configure the name of the capture file.</string>
679 </property>
680 </widget>
681 <widget row="2" column="0" rowspan="1" colspan="3" >
682 <class>ProtocolListView</class>
683 <property stdset="1">
684 <name>name</name>
685 <cstring>capturePackets</cstring>
686 </property>
687 <property stdset="1">
688 <name>enabled</name>
689 <bool>false</bool>
690 </property>
691 <property stdset="1">
692 <name>sizePolicy</name>
693 <sizepolicy>
694 <hsizetype>7</hsizetype>
695 <vsizetype>7</vsizetype>
696 </sizepolicy>
697 </property>
698 </widget>
699 <widget row="3" column="0" rowspan="1" colspan="3" >
700 <class>QButtonGroup</class>
701 <property stdset="1">
702 <name>name</name>
703 <cstring>ButtonGroup1</cstring>
704 </property>
705 <property stdset="1">
706 <name>title</name>
707 <string>Hex View Buffer</string>
708 </property>
709 <property stdset="1">
710 <name>exclusive</name>
711 <bool>true</bool>
712 </property>
713 <property>
714 <name>layoutMargin</name>
715 </property>
716 <property>
717 <name>layoutSpacing</name>
718 </property>
719 <grid>
720 <property stdset="1">
721 <name>margin</name>
722 <number>6</number>
723 </property>
724 <property stdset="1">
725 <name>spacing</name>
726 <number>1</number>
727 </property>
728 <widget row="0" column="0" >
729 <class>QRadioButton</class>
730 <property stdset="1">
731 <name>name</name>
732 <cstring>hexViewBufferUnlimited</cstring>
733 </property>
734 <property stdset="1">
735 <name>text</name>
736 <string>unlimited</string>
737 </property>
738 <property stdset="1">
739 <name>checked</name>
740 <bool>true</bool>
741 </property>
742 </widget>
743 <widget row="1" column="0" >
744 <class>QLayoutWidget</class>
745 <property stdset="1">
746 <name>name</name>
747 <cstring>Layout7</cstring>
748 </property>
749 <hbox>
750 <property stdset="1">
751 <name>margin</name>
752 <number>0</number>
753 </property>
754 <property stdset="1">
755 <name>spacing</name>
756 <number>6</number>
757 </property>
758 <widget>
759 <class>QRadioButton</class>
760 <property stdset="1">
761 <name>name</name>
762 <cstring>hexViewBufferLimited</cstring>
763 </property>
764 <property stdset="1">
765 <name>text</name>
766 <string>limited to</string>
767 </property>
768 </widget>
769 <widget>
770 <class>QSpinBox</class>
771 <property stdset="1">
772 <name>name</name>
773 <cstring>hexViewBufferSize</cstring>
774 </property>
775 <property stdset="1">
776 <name>enabled</name>
777 <bool>false</bool>
778 </property>
779 <property stdset="1">
780 <name>suffix</name>
781 <string> Packets</string>
782 </property>
783 <property stdset="1">
784 <name>maxValue</name>
785 <number>10000</number>
786 </property>
787 <property stdset="1">
788 <name>lineStep</name>
789 <number>100</number>
790 </property>
791 <property stdset="1">
792 <name>value</name>
793 <number>2000</number>
794 </property>
795 </widget>
796 </hbox>
797 </widget>
798 </grid>
799 </widget>
695 </grid> 800 </grid>
696 </widget> 801 </widget>
697 <widget> 802 <widget>
698 <class>QWidget</class> 803 <class>QWidget</class>
699 <property stdset="1"> 804 <property stdset="1">
700 <name>name</name> 805 <name>name</name>
701 <cstring>tab</cstring> 806 <cstring>tab</cstring>
702 </property> 807 </property>
703 <attribute> 808 <attribute>
704 <name>title</name> 809 <name>title</name>
705 <string>Parse</string> 810 <string>Parse</string>
706 </attribute> 811 </attribute>
707 <grid> 812 <grid>
708 <property stdset="1"> 813 <property stdset="1">
709 <name>margin</name> 814 <name>margin</name>
710 <number>5</number> 815 <number>5</number>
711 </property> 816 </property>
712 <property stdset="1"> 817 <property stdset="1">
713 <name>spacing</name> 818 <name>spacing</name>
714 <number>3</number> 819 <number>3</number>
715 </property> 820 </property>
716 <widget row="0" column="0" > 821 <widget row="0" column="0" >
717 <class>ProtocolListView</class> 822 <class>ProtocolListView</class>
718 <property stdset="1"> 823 <property stdset="1">
719 <name>name</name> 824 <name>name</name>
720 <cstring>parsePackets</cstring> 825 <cstring>parsePackets</cstring>
721 </property> 826 </property>
722 <property stdset="1"> 827 <property stdset="1">
723 <name>sizePolicy</name> 828 <name>sizePolicy</name>
724 <sizepolicy> 829 <sizepolicy>
725 <hsizetype>7</hsizetype> 830 <hsizetype>7</hsizetype>
726 <vsizetype>7</vsizetype> 831 <vsizetype>7</vsizetype>
727 </sizepolicy> 832 </sizepolicy>
728 </property> 833 </property>
729 </widget> 834 </widget>
730 </grid> 835 </grid>
731 </widget> 836 </widget>
732 <widget> 837 <widget>
733 <class>QWidget</class> 838 <class>QWidget</class>
734 <property stdset="1"> 839 <property stdset="1">
735 <name>name</name> 840 <name>name</name>
736 <cstring>tab</cstring> 841 <cstring>tab</cstring>
737 </property> 842 </property>
738 <attribute> 843 <attribute>
739 <name>title</name> 844 <name>title</name>
740 <string>UI</string> 845 <string>UI</string>
741 </attribute> 846 </attribute>
742 <vbox> 847 <vbox>
743 <property stdset="1"> 848 <property stdset="1">
744 <name>margin</name> 849 <name>margin</name>
745 <number>5</number> 850 <number>5</number>
746 </property> 851 </property>
747 <property stdset="1"> 852 <property stdset="1">
748 <name>spacing</name> 853 <name>spacing</name>
749 <number>3</number> 854 <number>3</number>
750 </property> 855 </property>
751 <widget> 856 <widget>
752 <class>QCheckBox</class> 857 <class>QCheckBox</class>
753 <property stdset="1"> 858 <property stdset="1">
754 <name>name</name> 859 <name>name</name>
755 <cstring>lookupVendor</cstring> 860 <cstring>lookupVendor</cstring>
756 </property> 861 </property>
757 <property stdset="1"> 862 <property stdset="1">
758 <name>text</name> 863 <name>text</name>
759 <string>Lookup MAC vendor names</string> 864 <string>Lookup MAC vendor names</string>
760 </property> 865 </property>
761 <property> 866 <property>
762 <name>whatsThis</name> 867 <name>whatsThis</name>
763 <string>Check this to lookup MAC vendor names.</string> 868 <string>Check this to lookup MAC vendor names.</string>
764 </property> 869 </property>
765 </widget> 870 </widget>
766 <widget> 871 <widget>
767 <class>QCheckBox</class> 872 <class>QCheckBox</class>
768 <property stdset="1"> 873 <property stdset="1">
769 <name>name</name> 874 <name>name</name>
770 <cstring>openTree</cstring> 875 <cstring>openTree</cstring>
771 </property> 876 </property>
772 <property stdset="1"> 877 <property stdset="1">
773 <name>text</name> 878 <name>text</name>
774 <string>Open Tree On New Station</string> 879 <string>Open Tree On New Station</string>
775 </property> 880 </property>
776 <property> 881 <property>
777 <name>whatsThis</name> 882 <name>whatsThis</name>
778 <string>Check this to automatically make a tree visible when a new station is detected.</string> 883 <string>Check this to automatically make a tree visible when a new station is detected.</string>
779 </property> 884 </property>
780 </widget> 885 </widget>
781 <widget> 886 <widget>
782 <class>QCheckBox</class> 887 <class>QCheckBox</class>
783 <property stdset="1"> 888 <property stdset="1">
784 <name>name</name> 889 <name>name</name>
785 <cstring>disablePM</cstring> 890 <cstring>disablePM</cstring>
786 </property> 891 </property>
787 <property stdset="1"> 892 <property stdset="1">
788 <name>text</name> 893 <name>text</name>
789 <string>Disable Power Management</string> 894 <string>Disable Power Management</string>
790 </property> 895 </property>
791 <property> 896 <property>
792 <name>whatsThis</name> 897 <name>whatsThis</name>
793 <string>Check this to disable power management while scanning.</string> 898 <string>Check this to disable power management while scanning.</string>
794 </property> 899 </property>
795 </widget> 900 </widget>
796 <spacer> 901 <spacer>
797 <property> 902 <property>
798 <name>name</name> 903 <name>name</name>
799 <cstring>Spacer3</cstring> 904 <cstring>Spacer3</cstring>
800 </property> 905 </property>
801 <property stdset="1"> 906 <property stdset="1">
802 <name>orientation</name> 907 <name>orientation</name>
803 <enum>Vertical</enum> 908 <enum>Vertical</enum>
804 </property> 909 </property>
805 <property stdset="1"> 910 <property stdset="1">
806 <name>sizeType</name> 911 <name>sizeType</name>
807 <enum>Expanding</enum> 912 <enum>Expanding</enum>
808 </property> 913 </property>
809 <property> 914 <property>
810 <name>sizeHint</name> 915 <name>sizeHint</name>
811 <size> 916 <size>
812 <width>20</width> 917 <width>20</width>
813 <height>20</height> 918 <height>20</height>
814 </size> 919 </size>
815 </property> 920 </property>
816 </spacer> 921 </spacer>
817 <widget> 922 <widget>
818 <class>QGroupBox</class> 923 <class>QGroupBox</class>
819 <property stdset="1"> 924 <property stdset="1">
820 <name>name</name> 925 <name>name</name>
821 <cstring>GroupBox4_2</cstring> 926 <cstring>GroupBox4_2</cstring>
822 </property> 927 </property>
823 <property stdset="1"> 928 <property stdset="1">
824 <name>enabled</name> 929 <name>enabled</name>
825 <bool>true</bool> 930 <bool>true</bool>
826 </property> 931 </property>
827 <property stdset="1"> 932 <property stdset="1">
828 <name>title</name> 933 <name>title</name>
829 <string>Action on detecting a new</string> 934 <string>Action on detecting a new</string>
830 </property> 935 </property>
831 <property> 936 <property>
832 <name>layoutMargin</name> 937 <name>layoutMargin</name>
833 </property> 938 </property>
834 <property> 939 <property>
835 <name>layoutSpacing</name> 940 <name>layoutSpacing</name>
836 </property> 941 </property>
837 <grid> 942 <grid>
838 <property stdset="1"> 943 <property stdset="1">
839 <name>margin</name> 944 <name>margin</name>
840 <number>3</number> 945 <number>3</number>
841 </property> 946 </property>
842 <property stdset="1"> 947 <property stdset="1">
843 <name>spacing</name> 948 <name>spacing</name>
844 <number>0</number> 949 <number>0</number>
845 </property> 950 </property>
846 <widget row="0" column="0" > 951 <widget row="0" column="0" >
847 <class>QLayoutWidget</class> 952 <class>QLayoutWidget</class>
848 <property stdset="1"> 953 <property stdset="1">
849 <name>name</name> 954 <name>name</name>
850 <cstring>Layout6</cstring> 955 <cstring>Layout6</cstring>
851 </property> 956 </property>
852 <property> 957 <property>
853 <name>layoutMargin</name> 958 <name>layoutMargin</name>
854 </property> 959 </property>
855 <property> 960 <property>
856 <name>layoutSpacing</name> 961 <name>layoutSpacing</name>
857 </property> 962 </property>
858 <grid> 963 <grid>
859 <property stdset="1"> 964 <property stdset="1">
860 <name>margin</name> 965 <name>margin</name>
861 <number>2</number> 966 <number>2</number>
862 </property> 967 </property>
863 <property stdset="1"> 968 <property stdset="1">
864 <name>spacing</name> 969 <name>spacing</name>
865 <number>2</number> 970 <number>2</number>
866 </property> 971 </property>
867 <widget row="4" column="0" > 972 <widget row="4" column="0" >
868 <class>QLabel</class> 973 <class>QLabel</class>
869 <property stdset="1"> 974 <property stdset="1">
870 <name>name</name> 975 <name>name</name>
871 <cstring>TextLabel3</cstring> 976 <cstring>TextLabel3</cstring>
872 </property> 977 </property>
873 <property stdset="1"> 978 <property stdset="1">
874 <name>text</name> 979 <name>text</name>
875 <string>Wired Station:</string> 980 <string>Wired Station:</string>
876 </property> 981 </property>
877 </widget> 982 </widget>
878 <widget row="0" column="0" > 983 <widget row="0" column="0" >
879 <class>QLabel</class> 984 <class>QLabel</class>
880 <property stdset="1"> 985 <property stdset="1">
881 <name>name</name> 986 <name>name</name>
882 <cstring>TextLabel1_3</cstring> 987 <cstring>TextLabel1_3</cstring>
883 </property> 988 </property>
884 <property stdset="1"> 989 <property stdset="1">
885 <name>text</name> 990 <name>text</name>
886 <string>Network:</string> 991 <string>Network:</string>
887 </property> 992 </property>
888 </widget> 993 </widget>
889 <widget row="2" column="1" > 994 <widget row="2" column="1" >
890 <class>QComboBox</class> 995 <class>QComboBox</class>
891 <item> 996 <item>
892 <property> 997 <property>
893 <name>text</name> 998 <name>text</name>
894 <string>&lt;Ignore&gt;</string> 999 <string>&lt;Ignore&gt;</string>
895 </property> 1000 </property>
896 </item> 1001 </item>
897 <item> 1002 <item>
898 <property> 1003 <property>
899 <name>text</name> 1004 <name>text</name>
900 <string>Play Alarm</string> 1005 <string>Play Alarm</string>
901 </property> 1006 </property>
902 </item> 1007 </item>
903 <item> 1008 <item>
904 <property> 1009 <property>
905 <name>text</name> 1010 <name>text</name>
906 <string>Play Click</string> 1011 <string>Play Click</string>
907 </property> 1012 </property>
908 </item> 1013 </item>
909 <item> 1014 <item>
910 <property> 1015 <property>
911 <name>text</name> 1016 <name>text</name>
912 <string>Blink LED</string> 1017 <string>Blink LED</string>
913 </property> 1018 </property>
914 </item> 1019 </item>
915 <item> 1020 <item>
916 <property> 1021 <property>
917 <name>text</name> 1022 <name>text</name>
918 <string>Run Script</string> 1023 <string>Run Script</string>
919 </property> 1024 </property>
920 </item> 1025 </item>
921 <property stdset="1"> 1026 <property stdset="1">
922 <name>name</name> 1027 <name>name</name>
923 <cstring>newClientAction</cstring> 1028 <cstring>newClientAction</cstring>
924 </property> 1029 </property>
925 <property stdset="1"> 1030 <property stdset="1">
926 <name>sizePolicy</name> 1031 <name>sizePolicy</name>
927 <sizepolicy> 1032 <sizepolicy>
928 <hsizetype>7</hsizetype> 1033 <hsizetype>7</hsizetype>
929 <vsizetype>0</vsizetype> 1034 <vsizetype>0</vsizetype>
930 </sizepolicy> 1035 </sizepolicy>
931 </property> 1036 </property>
932 <property> 1037 <property>
933 <name>whatsThis</name> 1038 <name>whatsThis</name>
934 <string>Choose an action to perform when a new wireless station is detected.</string> 1039 <string>Choose an action to perform when a new wireless station is detected.</string>
935 </property> 1040 </property>
936 </widget> 1041 </widget>
937 <widget row="3" column="0" rowspan="1" colspan="2" > 1042 <widget row="3" column="0" rowspan="1" colspan="2" >
938 <class>QLineEdit</class> 1043 <class>QLineEdit</class>
939 <property stdset="1"> 1044 <property stdset="1">
940 <name>name</name> 1045 <name>name</name>
941 <cstring>newClientScript</cstring> 1046 <cstring>newClientScript</cstring>
942 </property> 1047 </property>
943 <property stdset="1"> 1048 <property stdset="1">
944 <name>enabled</name> 1049 <name>enabled</name>
945 <bool>true</bool> 1050 <bool>true</bool>
946 </property> 1051 </property>
947 <property> 1052 <property>
948 <name>whatsThis</name> 1053 <name>whatsThis</name>
949 <string>The command line to execute when a script action is performed.</string> 1054 <string>The command line to execute when a script action is performed.</string>
950 </property> 1055 </property>
@@ -1345,258 +1450,264 @@
1345 </property> 1450 </property>
1346 <widget> 1451 <widget>
1347 <class>QCheckBox</class> 1452 <class>QCheckBox</class>
1348 <property stdset="1"> 1453 <property stdset="1">
1349 <name>name</name> 1454 <name>name</name>
1350 <cstring>enableGPS</cstring> 1455 <cstring>enableGPS</cstring>
1351 </property> 1456 </property>
1352 <property stdset="1"> 1457 <property stdset="1">
1353 <name>text</name> 1458 <name>text</name>
1354 <string>Enable GPS logging w/ gpsd</string> 1459 <string>Enable GPS logging w/ gpsd</string>
1355 </property> 1460 </property>
1356 <property> 1461 <property>
1357 <name>whatsThis</name> 1462 <name>whatsThis</name>
1358 <string>Check this to log GPS coordinates.</string> 1463 <string>Check this to log GPS coordinates.</string>
1359 </property> 1464 </property>
1360 </widget> 1465 </widget>
1361 <widget> 1466 <widget>
1362 <class>QLayoutWidget</class> 1467 <class>QLayoutWidget</class>
1363 <property stdset="1"> 1468 <property stdset="1">
1364 <name>name</name> 1469 <name>name</name>
1365 <cstring>Layout1</cstring> 1470 <cstring>Layout1</cstring>
1366 </property> 1471 </property>
1367 <hbox> 1472 <hbox>
1368 <property stdset="1"> 1473 <property stdset="1">
1369 <name>margin</name> 1474 <name>margin</name>
1370 <number>0</number> 1475 <number>0</number>
1371 </property> 1476 </property>
1372 <property stdset="1"> 1477 <property stdset="1">
1373 <name>spacing</name> 1478 <name>spacing</name>
1374 <number>6</number> 1479 <number>6</number>
1375 </property> 1480 </property>
1376 <widget> 1481 <widget>
1377 <class>QLabel</class> 1482 <class>QLabel</class>
1378 <property stdset="1"> 1483 <property stdset="1">
1379 <name>name</name> 1484 <name>name</name>
1380 <cstring>TextLabel1_4</cstring> 1485 <cstring>TextLabel1_4</cstring>
1381 </property> 1486 </property>
1382 <property stdset="1"> 1487 <property stdset="1">
1383 <name>text</name> 1488 <name>text</name>
1384 <string>Host</string> 1489 <string>Host</string>
1385 </property> 1490 </property>
1386 </widget> 1491 </widget>
1387 <widget> 1492 <widget>
1388 <class>QComboBox</class> 1493 <class>QComboBox</class>
1389 <item> 1494 <item>
1390 <property> 1495 <property>
1391 <name>text</name> 1496 <name>text</name>
1392 <string>localhost</string> 1497 <string>localhost</string>
1393 </property> 1498 </property>
1394 </item> 1499 </item>
1395 <property stdset="1"> 1500 <property stdset="1">
1396 <name>name</name> 1501 <name>name</name>
1397 <cstring>gpsdHost</cstring> 1502 <cstring>gpsdHost</cstring>
1398 </property> 1503 </property>
1399 <property stdset="1"> 1504 <property stdset="1">
1400 <name>enabled</name> 1505 <name>enabled</name>
1401 <bool>false</bool> 1506 <bool>false</bool>
1402 </property> 1507 </property>
1403 <property stdset="1"> 1508 <property stdset="1">
1404 <name>editable</name> 1509 <name>editable</name>
1405 <bool>true</bool> 1510 <bool>true</bool>
1406 </property> 1511 </property>
1407 <property stdset="1"> 1512 <property stdset="1">
1408 <name>currentItem</name> 1513 <name>currentItem</name>
1409 <number>0</number> 1514 <number>0</number>
1410 </property> 1515 </property>
1411 <property> 1516 <property>
1412 <name>whatsThis</name> 1517 <name>whatsThis</name>
1413 <string>Hostadress where the gps daemon listens on.</string> 1518 <string>Hostadress where the gps daemon listens on.</string>
1414 </property> 1519 </property>
1415 </widget> 1520 </widget>
1416 <widget> 1521 <widget>
1417 <class>QLabel</class> 1522 <class>QLabel</class>
1418 <property stdset="1"> 1523 <property stdset="1">
1419 <name>name</name> 1524 <name>name</name>
1420 <cstring>TextLabel2_2</cstring> 1525 <cstring>TextLabel2_2</cstring>
1421 </property> 1526 </property>
1422 <property stdset="1"> 1527 <property stdset="1">
1423 <name>text</name> 1528 <name>text</name>
1424 <string>:</string> 1529 <string>:</string>
1425 </property> 1530 </property>
1426 </widget> 1531 </widget>
1427 <widget> 1532 <widget>
1428 <class>QSpinBox</class> 1533 <class>QSpinBox</class>
1429 <property stdset="1"> 1534 <property stdset="1">
1430 <name>name</name> 1535 <name>name</name>
1431 <cstring>gpsdPort</cstring> 1536 <cstring>gpsdPort</cstring>
1432 </property> 1537 </property>
1433 <property stdset="1"> 1538 <property stdset="1">
1434 <name>enabled</name> 1539 <name>enabled</name>
1435 <bool>false</bool> 1540 <bool>false</bool>
1436 </property> 1541 </property>
1437 <property stdset="1"> 1542 <property stdset="1">
1438 <name>maxValue</name> 1543 <name>maxValue</name>
1439 <number>65535</number> 1544 <number>65535</number>
1440 </property> 1545 </property>
1441 <property stdset="1"> 1546 <property stdset="1">
1442 <name>minValue</name> 1547 <name>minValue</name>
1443 <number>1024</number> 1548 <number>1024</number>
1444 </property> 1549 </property>
1445 <property stdset="1"> 1550 <property stdset="1">
1446 <name>value</name> 1551 <name>value</name>
1447 <number>2947</number> 1552 <number>2947</number>
1448 </property> 1553 </property>
1449 <property> 1554 <property>
1450 <name>whatsThis</name> 1555 <name>whatsThis</name>
1451 <string>Port number where the gps daemon listens on.</string> 1556 <string>Port number where the gps daemon listens on.</string>
1452 </property> 1557 </property>
1453 </widget> 1558 </widget>
1454 </hbox> 1559 </hbox>
1455 </widget> 1560 </widget>
1456 <widget> 1561 <widget>
1457 <class>QCheckBox</class> 1562 <class>QCheckBox</class>
1458 <property stdset="1"> 1563 <property stdset="1">
1459 <name>name</name> 1564 <name>name</name>
1460 <cstring>startGPS</cstring> 1565 <cstring>startGPS</cstring>
1461 </property> 1566 </property>
1462 <property stdset="1"> 1567 <property stdset="1">
1463 <name>text</name> 1568 <name>text</name>
1464 <string>Start gpsd on localhost</string> 1569 <string>Start gpsd on localhost</string>
1465 </property> 1570 </property>
1466 <property> 1571 <property>
1467 <name>whatsThis</name> 1572 <name>whatsThis</name>
1468 <string>Check to start the GPS daemon on localhost.</string> 1573 <string>Check to start the GPS daemon on localhost.</string>
1469 </property> 1574 </property>
1470 </widget> 1575 </widget>
1471 <widget> 1576 <widget>
1472 <class>QLineEdit</class> 1577 <class>QLineEdit</class>
1473 <property stdset="1"> 1578 <property stdset="1">
1474 <name>name</name> 1579 <name>name</name>
1475 <cstring>commandGPS</cstring> 1580 <cstring>commandGPS</cstring>
1476 </property> 1581 </property>
1477 <property stdset="1"> 1582 <property stdset="1">
1478 <name>enabled</name> 1583 <name>enabled</name>
1479 <bool>false</bool> 1584 <bool>false</bool>
1480 </property> 1585 </property>
1481 <property stdset="1"> 1586 <property stdset="1">
1482 <name>text</name> 1587 <name>text</name>
1483 <string>gpsd -p /dev/ttyS3 -s 4800</string> 1588 <string>gpsd -p /dev/ttyS3 -s 4800</string>
1484 </property> 1589 </property>
1485 <property> 1590 <property>
1486 <name>whatsThis</name> 1591 <name>whatsThis</name>
1487 <string>Command line to start the gps daemon.</string> 1592 <string>Command line to start the gps daemon.</string>
1488 </property> 1593 </property>
1489 </widget> 1594 </widget>
1490 <spacer> 1595 <spacer>
1491 <property> 1596 <property>
1492 <name>name</name> 1597 <name>name</name>
1493 <cstring>Spacer4_2</cstring> 1598 <cstring>Spacer4_2</cstring>
1494 </property> 1599 </property>
1495 <property stdset="1"> 1600 <property stdset="1">
1496 <name>orientation</name> 1601 <name>orientation</name>
1497 <enum>Vertical</enum> 1602 <enum>Vertical</enum>
1498 </property> 1603 </property>
1499 <property stdset="1"> 1604 <property stdset="1">
1500 <name>sizeType</name> 1605 <name>sizeType</name>
1501 <enum>Expanding</enum> 1606 <enum>Expanding</enum>
1502 </property> 1607 </property>
1503 <property> 1608 <property>
1504 <name>sizeHint</name> 1609 <name>sizeHint</name>
1505 <size> 1610 <size>
1506 <width>20</width> 1611 <width>20</width>
1507 <height>20</height> 1612 <height>20</height>
1508 </size> 1613 </size>
1509 </property> 1614 </property>
1510 </spacer> 1615 </spacer>
1511 </vbox> 1616 </vbox>
1512 </widget> 1617 </widget>
1513 </grid> 1618 </grid>
1514 </widget> 1619 </widget>
1515 </widget> 1620 </widget>
1516 </grid> 1621 </grid>
1517</widget> 1622</widget>
1518<customwidgets> 1623<customwidgets>
1519 <customwidget> 1624 <customwidget>
1520 <class>ProtocolListView</class> 1625 <class>ProtocolListView</class>
1521 <header location="local">protolistview.h</header> 1626 <header location="local">protolistview.h</header>
1522 <sizehint> 1627 <sizehint>
1523 <width>100</width> 1628 <width>100</width>
1524 <height>100</height> 1629 <height>100</height>
1525 </sizehint> 1630 </sizehint>
1526 <container>0</container> 1631 <container>0</container>
1527 <sizepolicy> 1632 <sizepolicy>
1528 <hordata>3</hordata> 1633 <hordata>3</hordata>
1529 <verdata>3</verdata> 1634 <verdata>3</verdata>
1530 </sizepolicy> 1635 </sizepolicy>
1531 <pixmap>image0</pixmap> 1636 <pixmap>image0</pixmap>
1532 </customwidget> 1637 </customwidget>
1533</customwidgets> 1638</customwidgets>
1534<images> 1639<images>
1535 <image> 1640 <image>
1536 <name>image0</name> 1641 <name>image0</name>
1537 <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> 1642 <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
1538 </image> 1643 </image>
1539</images> 1644</images>
1540<connections> 1645<connections>
1541 <connection> 1646 <connection>
1542 <sender>hopChannels</sender> 1647 <sender>hopChannels</sender>
1543 <signal>toggled(bool)</signal> 1648 <signal>toggled(bool)</signal>
1544 <receiver>hopInterval</receiver> 1649 <receiver>hopInterval</receiver>
1545 <slot>setEnabled(bool)</slot> 1650 <slot>setEnabled(bool)</slot>
1546 </connection> 1651 </connection>
1547 <connection> 1652 <connection>
1548 <sender>hopChannels</sender> 1653 <sender>hopChannels</sender>
1549 <signal>toggled(bool)</signal> 1654 <signal>toggled(bool)</signal>
1550 <receiver>TextLabel1</receiver> 1655 <receiver>TextLabel1</receiver>
1551 <slot>setEnabled(bool)</slot> 1656 <slot>setEnabled(bool)</slot>
1552 </connection> 1657 </connection>
1553 <connection> 1658 <connection>
1554 <sender>enableActiveScanning</sender> 1659 <sender>enableActiveScanning</sender>
1555 <signal>toggled(bool)</signal> 1660 <signal>toggled(bool)</signal>
1556 <receiver>GroupBox3</receiver> 1661 <receiver>GroupBox3</receiver>
1557 <slot>setEnabled(bool)</slot> 1662 <slot>setEnabled(bool)</slot>
1558 </connection> 1663 </connection>
1559 <connection> 1664 <connection>
1560 <sender>enableActiveScanning</sender> 1665 <sender>enableActiveScanning</sender>
1561 <signal>toggled(bool)</signal> 1666 <signal>toggled(bool)</signal>
1562 <receiver>GroupBox4</receiver> 1667 <receiver>GroupBox4</receiver>
1563 <slot>setEnabled(bool)</slot> 1668 <slot>setEnabled(bool)</slot>
1564 </connection> 1669 </connection>
1565 <connection> 1670 <connection>
1566 <sender>writeCaptureFile</sender> 1671 <sender>writeCaptureFile</sender>
1567 <signal>toggled(bool)</signal> 1672 <signal>toggled(bool)</signal>
1568 <receiver>getCaptureFileName</receiver> 1673 <receiver>getCaptureFileName</receiver>
1569 <slot>setEnabled(bool)</slot> 1674 <slot>setEnabled(bool)</slot>
1570 </connection> 1675 </connection>
1571 <connection> 1676 <connection>
1572 <sender>writeCaptureFile</sender> 1677 <sender>writeCaptureFile</sender>
1573 <signal>toggled(bool)</signal> 1678 <signal>toggled(bool)</signal>
1574 <receiver>captureFileName</receiver> 1679 <receiver>captureFileName</receiver>
1575 <slot>setEnabled(bool)</slot> 1680 <slot>setEnabled(bool)</slot>
1576 </connection> 1681 </connection>
1577 <connection> 1682 <connection>
1578 <sender>writeCaptureFile</sender> 1683 <sender>writeCaptureFile</sender>
1579 <signal>toggled(bool)</signal> 1684 <signal>toggled(bool)</signal>
1580 <receiver>capturePackets</receiver> 1685 <receiver>capturePackets</receiver>
1581 <slot>setEnabled(bool)</slot> 1686 <slot>setEnabled(bool)</slot>
1582 </connection> 1687 </connection>
1583 <connection> 1688 <connection>
1584 <sender>enableGPS</sender> 1689 <sender>enableGPS</sender>
1585 <signal>toggled(bool)</signal> 1690 <signal>toggled(bool)</signal>
1586 <receiver>gpsdHost</receiver> 1691 <receiver>gpsdHost</receiver>
1587 <slot>setEnabled(bool)</slot> 1692 <slot>setEnabled(bool)</slot>
1588 </connection> 1693 </connection>
1589 <connection> 1694 <connection>
1590 <sender>enableGPS</sender> 1695 <sender>enableGPS</sender>
1591 <signal>toggled(bool)</signal> 1696 <signal>toggled(bool)</signal>
1592 <receiver>gpsdPort</receiver> 1697 <receiver>gpsdPort</receiver>
1593 <slot>setEnabled(bool)</slot> 1698 <slot>setEnabled(bool)</slot>
1594 </connection> 1699 </connection>
1595 <connection> 1700 <connection>
1596 <sender>startGPS</sender> 1701 <sender>startGPS</sender>
1597 <signal>toggled(bool)</signal> 1702 <signal>toggled(bool)</signal>
1598 <receiver>commandGPS</receiver> 1703 <receiver>commandGPS</receiver>
1599 <slot>setEnabled(bool)</slot> 1704 <slot>setEnabled(bool)</slot>
1600 </connection> 1705 </connection>
1706 <connection>
1707 <sender>hexViewBufferLimited</sender>
1708 <signal>toggled(bool)</signal>
1709 <receiver>hexViewBufferSize</receiver>
1710 <slot>setEnabled(bool)</slot>
1711 </connection>
1601</connections> 1712</connections>
1602</UI> 1713</UI>
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
index f035e89..9bdf3e0 100644
--- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
@@ -1,180 +1,182 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved. 2** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved.
3** 3**
4** This file is part of Wellenreiter II. 4** This file is part of Wellenreiter II.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14***********************************************************************/ 14***********************************************************************/
15 15
16#include "wellenreiterbase.h" 16#include "wellenreiterbase.h"
17 17
18#include <qlabel.h> 18#include <qlabel.h>
19#include <qlayout.h> 19#include <qlayout.h>
20 20
21#include "logwindow.h" 21#include "logwindow.h"
22#include "packetview.h" 22#include "packetview.h"
23#include "scanlist.h" 23#include "scanlist.h"
24#include "statwindow.h" 24#include "statwindow.h"
25#include "graphwindow.h" 25#include "graphwindow.h"
26 26
27#ifdef QWS 27#ifdef QWS
28#include <qpe/resource.h> 28#include <qpe/resource.h>
29#include <opie2/otabwidget.h> 29#include <opie2/otabwidget.h>
30using namespace Opie; 30using namespace Opie;
31#else 31#else
32#include "resource.h" 32#include "resource.h"
33#include <qtabwidget.h> 33#include <qtabwidget.h>
34#endif 34#endif
35 35
36 36
37/* 37/*
38 * Constructs a WellenreiterBase which is a child of 'parent', with the 38 * Constructs a WellenreiterBase which is a child of 'parent', with the
39 * name 'name' and widget flags set to 'f' 39 * name 'name' and widget flags set to 'f'
40 */ 40 */
41using namespace Opie::Ui; 41using namespace Opie::Ui;
42using namespace Opie::Ui; 42using namespace Opie::Ui;
43using namespace Opie::Ui; 43using namespace Opie::Ui;
44WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl ) 44WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl )
45 : QWidget( parent, name, fl ) 45 : QWidget( parent, name, fl )
46{ 46{
47 //ani1 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot0" ) ); 47 //ani1 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot0" ) );
48 //ani2 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot90" ) ); 48 //ani2 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot90" ) );
49 //ani3 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot180" ) ); 49 //ani3 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot180" ) );
50 //ani4 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot270" ) ); 50 //ani4 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot270" ) );
51 51
52 if ( !name ) 52 if ( !name )
53 setName( "WellenreiterBase" ); 53 setName( "WellenreiterBase" );
54 resize( 191, 294 ); 54 resize( 191, 294 );
55#ifdef QWS 55#ifdef QWS
56 setCaption( tr( "Wellenreiter/Opie" ) ); 56 setCaption( tr( "Wellenreiter/Opie" ) );
57#else 57#else
58 setCaption( tr( "Wellenreiter/X11" ) ); 58 setCaption( tr( "Wellenreiter/X11" ) );
59#endif 59#endif
60 WellenreiterBaseLayout = new QVBoxLayout( this ); 60 WellenreiterBaseLayout = new QVBoxLayout( this );
61 WellenreiterBaseLayout->setSpacing( 2 ); 61 WellenreiterBaseLayout->setSpacing( 2 );
62 WellenreiterBaseLayout->setMargin( 0 ); 62 WellenreiterBaseLayout->setMargin( 0 );
63#ifdef QWS 63#ifdef QWS
64 TabWidget = new OTabWidget( this, "TabWidget", OTabWidget::Global ); 64 TabWidget = new OTabWidget( this, "TabWidget", OTabWidget::Global );
65#else 65#else
66 TabWidget = new QTabWidget( this, "TabWidget" ); 66 TabWidget = new QTabWidget( this, "TabWidget" );
67#endif 67#endif
68 ap = new QWidget( TabWidget, "ap" ); 68 ap = new QWidget( TabWidget, "ap" );
69 apLayout = new QVBoxLayout( ap ); 69 apLayout = new QVBoxLayout( ap );
70 apLayout->setSpacing( 2 ); 70 apLayout->setSpacing( 2 );
71 apLayout->setMargin( 2 ); 71 apLayout->setMargin( 2 );
72 72
73 //--------- NETVIEW TAB -------------- 73 //--------- NETVIEW TAB --------------
74 74
75 netview = new MScanListView( ap ); 75 netview = new MScanListView( ap );
76 apLayout->addWidget( netview ); 76 apLayout->addWidget( netview );
77 77
78 //--------- GRAPH TAB -------------- 78 //--------- GRAPH TAB --------------
79 79
80 graphwindow = new MGraphWindow( TabWidget, "Graph" ); 80 graphwindow = new MGraphWindow( TabWidget, "Graph" );
81 81
82 //--------- LOG TAB -------------- 82 //--------- LOG TAB --------------
83 83
84 logwindow = new MLogWindow( TabWidget, "Log" ); 84 logwindow = new MLogWindow( TabWidget, "Log" );
85 85
86 //--------- HEX TAB -------------- 86 //--------- HEX TAB --------------
87 87
88 hexwindow = new PacketView( TabWidget, "Hex" ); 88 hexwindow = new PacketView( TabWidget, "Hex" );
89 89
90 //--------- STAT TAB -------------- 90 //--------- STAT TAB --------------
91 91
92 statwindow = new MStatWindow( TabWidget, "Stat" ); 92 statwindow = new MStatWindow( TabWidget, "Stat" );
93 93
94 //--------- ABOUT TAB -------------- 94 //--------- ABOUT TAB --------------
95 95
96 about = new QWidget( TabWidget, "about" ); 96 about = new QWidget( TabWidget, "about" );
97 aboutLayout = new QGridLayout( about ); 97 aboutLayout = new QGridLayout( about );
98 aboutLayout->setSpacing( 6 ); 98 aboutLayout->setSpacing( 6 );
99 aboutLayout->setMargin( 11 ); 99 aboutLayout->setMargin( 11 );
100 100
101 PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); 101 PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" );
102 PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); 102 PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) );
103 PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); 103 PixmapLabel1_3_2->setFrameShape( QLabel::Panel );
104 PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); 104 PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken );
105 PixmapLabel1_3_2->setLineWidth( 2 ); 105 PixmapLabel1_3_2->setLineWidth( 2 );
106 PixmapLabel1_3_2->setMargin( 0 ); 106 PixmapLabel1_3_2->setMargin( 0 );
107 PixmapLabel1_3_2->setMidLineWidth( 0 ); 107 PixmapLabel1_3_2->setMidLineWidth( 0 );
108 PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); 108 PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) );
109 PixmapLabel1_3_2->setScaledContents( TRUE ); 109 PixmapLabel1_3_2->setScaledContents( TRUE );
110 PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); 110 PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) );
111 111
112 aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 ); 112 aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 );
113 113
114 TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" ); 114 TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" );
115 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); 115 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() );
116 TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); 116 TextLabel1_4_2_font.setFamily( "adobe-helvetica" );
117 TextLabel1_4_2_font.setPointSize( 10 ); 117 TextLabel1_4_2_font.setPointSize( 10 );
118 TextLabel1_4_2->setFont( TextLabel1_4_2_font ); 118 TextLabel1_4_2->setFont( TextLabel1_4_2_font );
119 TextLabel1_4_2->setText( tr( "<p align=center>\n" 119 TextLabel1_4_2->setText(
120"<hr>\n" 120"<p align=center>"
121"Michael 'Mickey' Lauer<br><hr>\n" 121"<hr>"
122"Max Moser<br>\n" 122"<b>(C) Michael 'Mickey' Lauer</b><br>"
123"Martin J. Muench<br>\n" 123"<hr>"
124"<b>www.wellenreiter.net</b>\n" 124"mickey@Vanille.de<br>"
125"</p>" ) ); 125"www.Vanille.de/projects/wellenreiter.html<br>"
126"www.wellenreiter.net"
127"</p>" );
126 TextLabel1_4_2->setAlignment( int( QLabel::AlignCenter ) ); 128 TextLabel1_4_2->setAlignment( int( QLabel::AlignCenter ) );
127 129
128 aboutLayout->addWidget( TextLabel1_4_2, 1, 0 ); 130 aboutLayout->addWidget( TextLabel1_4_2, 1, 0 );
129 131
130#ifdef QWS 132#ifdef QWS
131 TabWidget->addTab( ap, "wellenreiter/networks", tr( "Nets" ) ); 133 TabWidget->addTab( ap, "wellenreiter/networks", tr( "Nets" ) );
132 TabWidget->addTab( graphwindow, "wellenreiter/graph", tr( "Graph" ) ); 134 TabWidget->addTab( graphwindow, "wellenreiter/graph", tr( "Graph" ) );
133 TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) ); 135 TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) );
134 TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) ); 136 TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) );
135 TabWidget->addTab( statwindow, "wellenreiter/stat", tr( "Stat" ) ); 137 TabWidget->addTab( statwindow, "wellenreiter/stat", tr( "Stat" ) );
136 TabWidget->addTab( about, "wellenreiter/about", tr( "About" ) ); 138 TabWidget->addTab( about, "wellenreiter/about", tr( "About" ) );
137#else 139#else
138 TabWidget->addTab( ap, /* "wellenreiter/networks", */ tr( "Networks" ) ); 140 TabWidget->addTab( ap, /* "wellenreiter/networks", */ tr( "Networks" ) );
139 TabWidget->addTab( graphwindow, /* "wellenreiter/graph", */ tr( "Graph" ) ); 141 TabWidget->addTab( graphwindow, /* "wellenreiter/graph", */ tr( "Graph" ) );
140 TabWidget->addTab( logwindow, /* "wellenreiter/log", */ tr( "Log" ) ); 142 TabWidget->addTab( logwindow, /* "wellenreiter/log", */ tr( "Log" ) );
141 TabWidget->addTab( hexwindow, /* "wellenreiter/hex", */ tr( "Hex" ) ); 143 TabWidget->addTab( hexwindow, /* "wellenreiter/hex", */ tr( "Hex" ) );
142 TabWidget->addTab( statwindow, /* "wellenreiter/hex", */ tr( "Stat" ) ); 144 TabWidget->addTab( statwindow, /* "wellenreiter/hex", */ tr( "Stat" ) );
143 TabWidget->addTab( about, /* "wellenreiter/about", */ tr( "About" ) ); 145 TabWidget->addTab( about, /* "wellenreiter/about", */ tr( "About" ) );
144#endif 146#endif
145 WellenreiterBaseLayout->addWidget( TabWidget ); 147 WellenreiterBaseLayout->addWidget( TabWidget );
146 148
147#ifdef QWS 149#ifdef QWS
148 TabWidget->setCurrentTab( tr( "Nets" ) ); 150 TabWidget->setCurrentTab( tr( "Nets" ) );
149#endif 151#endif
150 152
151} 153}
152 154
153/* 155/*
154 * Destroys the object and frees any allocated resources 156 * Destroys the object and frees any allocated resources
155 */ 157 */
156WellenreiterBase::~WellenreiterBase() 158WellenreiterBase::~WellenreiterBase()
157{ 159{
158 // no need to delete child widgets, Qt does it all for us 160 // no need to delete child widgets, Qt does it all for us
159} 161}
160 162
161/* 163/*
162 * Main event handler. Reimplemented to handle application 164 * Main event handler. Reimplemented to handle application
163 * font changes 165 * font changes
164 */ 166 */
165bool WellenreiterBase::event( QEvent* ev ) 167bool WellenreiterBase::event( QEvent* ev )
166{ 168{
167 bool ret = QWidget::event( ev ); 169 bool ret = QWidget::event( ev );
168 if ( ev->type() == QEvent::ApplicationFontChange ) { 170 if ( ev->type() == QEvent::ApplicationFontChange ) {
169 //QFont Log_2_font( Log_2->font() ); 171 //QFont Log_2_font( Log_2->font() );
170 //Log_2_font.setFamily( "adobe-courier" ); 172 //Log_2_font.setFamily( "adobe-courier" );
171 //Log_2_font.setPointSize( 8 ); 173 //Log_2_font.setPointSize( 8 );
172 //Log_2->setFont( Log_2_font ); 174 //Log_2->setFont( Log_2_font );
173 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); 175 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() );
174 TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); 176 TextLabel1_4_2_font.setFamily( "adobe-helvetica" );
175 TextLabel1_4_2_font.setPointSize( 10 ); 177 TextLabel1_4_2_font.setPointSize( 10 );
176 TextLabel1_4_2->setFont( TextLabel1_4_2_font ); 178 TextLabel1_4_2->setFont( TextLabel1_4_2_font );
177 } 179 }
178 return ret; 180 return ret;
179} 181}
180 182