author | mickeyl <mickeyl> | 2003-09-25 15:02:43 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-09-25 15:02:43 (UTC) |
commit | 9047b6d4ffe0cbcecd90fd994ce2353277c378a1 (patch) (unidiff) | |
tree | c649c9c85c9c5846c0019e26bb3aaafbfbc76757 | |
parent | 990e3c5834b33227b327e1fec0d7f7f429e75952 (diff) | |
download | opie-9047b6d4ffe0cbcecd90fd994ce2353277c378a1.zip opie-9047b6d4ffe0cbcecd90fd994ce2353277c378a1.tar.gz opie-9047b6d4ffe0cbcecd90fd994ce2353277c378a1.tar.bz2 |
start with persistent configuration
-rw-r--r-- | noncore/net/wellenreiter/gui/configbase.ui | 107 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.cpp | 67 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.h | 5 |
3 files changed, 113 insertions, 66 deletions
diff --git a/noncore/net/wellenreiter/gui/configbase.ui b/noncore/net/wellenreiter/gui/configbase.ui index d9a0aea..d7ab3bb 100644 --- a/noncore/net/wellenreiter/gui/configbase.ui +++ b/noncore/net/wellenreiter/gui/configbase.ui | |||
@@ -1,1230 +1,1241 @@ | |||
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>286</width> | 14 | <width>303</width> |
15 | <height>280</height> | 15 | <height>287</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 | <widget> | 49 | <widget> |
50 | <class>QWidget</class> | 50 | <class>QWidget</class> |
51 | <property stdset="1"> | 51 | <property stdset="1"> |
52 | <name>name</name> | 52 | <name>name</name> |
53 | <cstring>tab</cstring> | 53 | <cstring>tab</cstring> |
54 | </property> | 54 | </property> |
55 | <attribute> | 55 | <attribute> |
56 | <name>title</name> | 56 | <name>title</name> |
57 | <string>Interface</string> | 57 | <string>Interface</string> |
58 | </attribute> | 58 | </attribute> |
59 | <grid> | 59 | <grid> |
60 | <property stdset="1"> | 60 | <property stdset="1"> |
61 | <name>margin</name> | 61 | <name>margin</name> |
62 | <number>5</number> | 62 | <number>5</number> |
63 | </property> | 63 | </property> |
64 | <property stdset="1"> | 64 | <property stdset="1"> |
65 | <name>spacing</name> | 65 | <name>spacing</name> |
66 | <number>3</number> | 66 | <number>3</number> |
67 | </property> | 67 | </property> |
68 | <widget row="0" column="0" > | 68 | <widget row="0" column="0" > |
69 | <class>QLabel</class> | 69 | <class>QLabel</class> |
70 | <property stdset="1"> | 70 | <property stdset="1"> |
71 | <name>name</name> | 71 | <name>name</name> |
72 | <cstring>TextLabel1_2</cstring> | 72 | <cstring>TextLabel1_2</cstring> |
73 | </property> | 73 | </property> |
74 | <property stdset="1"> | 74 | <property stdset="1"> |
75 | <name>enabled</name> | 75 | <name>enabled</name> |
76 | <bool>true</bool> | 76 | <bool>true</bool> |
77 | </property> | 77 | </property> |
78 | <property stdset="1"> | 78 | <property stdset="1"> |
79 | <name>text</name> | 79 | <name>text</name> |
80 | <string>Name:</string> | 80 | <string>Name:</string> |
81 | </property> | 81 | </property> |
82 | </widget> | 82 | </widget> |
83 | <widget row="1" column="0" > | 83 | <widget row="1" column="0" > |
84 | <class>QLabel</class> | 84 | <class>QLabel</class> |
85 | <property stdset="1"> | 85 | <property stdset="1"> |
86 | <name>name</name> | 86 | <name>name</name> |
87 | <cstring>TextLabel2_3</cstring> | 87 | <cstring>TextLabel2_3</cstring> |
88 | </property> | 88 | </property> |
89 | <property stdset="1"> | 89 | <property stdset="1"> |
90 | <name>enabled</name> | 90 | <name>enabled</name> |
91 | <bool>true</bool> | 91 | <bool>true</bool> |
92 | </property> | 92 | </property> |
93 | <property stdset="1"> | 93 | <property stdset="1"> |
94 | <name>text</name> | 94 | <name>text</name> |
95 | <string>Driver:</string> | 95 | <string>Driver:</string> |
96 | </property> | 96 | </property> |
97 | </widget> | 97 | </widget> |
98 | <widget row="2" column="0" rowspan="1" colspan="4" > | 98 | <widget row="2" column="0" rowspan="1" colspan="4" > |
99 | <class>QCheckBox</class> | 99 | <class>QCheckBox</class> |
100 | <property stdset="1"> | 100 | <property stdset="1"> |
101 | <name>name</name> | 101 | <name>name</name> |
102 | <cstring>prismHeader</cstring> | 102 | <cstring>prismHeader</cstring> |
103 | </property> | 103 | </property> |
104 | <property stdset="1"> | 104 | <property stdset="1"> |
105 | <name>text</name> | 105 | <name>text</name> |
106 | <string>Use additional PRISM header</string> | 106 | <string>Use additional PRISM header</string> |
107 | </property> | 107 | </property> |
108 | </widget> | 108 | </widget> |
109 | <widget row="6" column="0" rowspan="1" colspan="4" > | 109 | <widget row="6" column="0" rowspan="1" colspan="4" > |
110 | <class>QGroupBox</class> | 110 | <class>QGroupBox</class> |
111 | <property stdset="1"> | 111 | <property stdset="1"> |
112 | <name>name</name> | 112 | <name>name</name> |
113 | <cstring>GroupBox1</cstring> | 113 | <cstring>GroupBox1</cstring> |
114 | </property> | 114 | </property> |
115 | <property stdset="1"> | 115 | <property stdset="1"> |
116 | <name>enabled</name> | 116 | <name>enabled</name> |
117 | <bool>false</bool> | 117 | <bool>false</bool> |
118 | </property> | 118 | </property> |
119 | <property stdset="1"> | 119 | <property stdset="1"> |
120 | <name>title</name> | 120 | <name>title</name> |
121 | <string>Scan on channel</string> | 121 | <string>Scan on channel</string> |
122 | </property> | 122 | </property> |
123 | <property> | 123 | <property> |
124 | <name>layoutMargin</name> | 124 | <name>layoutMargin</name> |
125 | </property> | 125 | </property> |
126 | <property> | 126 | <property> |
127 | <name>layoutSpacing</name> | 127 | <name>layoutSpacing</name> |
128 | </property> | 128 | </property> |
129 | <grid> | 129 | <grid> |
130 | <property stdset="1"> | 130 | <property stdset="1"> |
131 | <name>margin</name> | 131 | <name>margin</name> |
132 | <number>4</number> | 132 | <number>4</number> |
133 | </property> | 133 | </property> |
134 | <property stdset="1"> | 134 | <property stdset="1"> |
135 | <name>spacing</name> | 135 | <name>spacing</name> |
136 | <number>2</number> | 136 | <number>2</number> |
137 | </property> | 137 | </property> |
138 | <widget row="1" column="1" > | 138 | <widget row="1" column="1" > |
139 | <class>QCheckBox</class> | 139 | <class>QCheckBox</class> |
140 | <property stdset="1"> | 140 | <property stdset="1"> |
141 | <name>name</name> | 141 | <name>name</name> |
142 | <cstring>channel6</cstring> | 142 | <cstring>channel6</cstring> |
143 | </property> | 143 | </property> |
144 | <property stdset="1"> | 144 | <property stdset="1"> |
145 | <name>text</name> | 145 | <name>text</name> |
146 | <string>6</string> | 146 | <string>6</string> |
147 | </property> | 147 | </property> |
148 | </widget> | 148 | </widget> |
149 | <widget row="1" column="3" > | 149 | <widget row="1" column="3" > |
150 | <class>QCheckBox</class> | 150 | <class>QCheckBox</class> |
151 | <property stdset="1"> | 151 | <property stdset="1"> |
152 | <name>name</name> | 152 | <name>name</name> |
153 | <cstring>channel8</cstring> | 153 | <cstring>channel8</cstring> |
154 | </property> | 154 | </property> |
155 | <property stdset="1"> | 155 | <property stdset="1"> |
156 | <name>text</name> | 156 | <name>text</name> |
157 | <string>8</string> | 157 | <string>8</string> |
158 | </property> | 158 | </property> |
159 | </widget> | 159 | </widget> |
160 | <widget row="0" column="2" > | 160 | <widget row="0" column="2" > |
161 | <class>QCheckBox</class> | 161 | <class>QCheckBox</class> |
162 | <property stdset="1"> | 162 | <property stdset="1"> |
163 | <name>name</name> | 163 | <name>name</name> |
164 | <cstring>channel2</cstring> | 164 | <cstring>channel2</cstring> |
165 | </property> | 165 | </property> |
166 | <property stdset="1"> | 166 | <property stdset="1"> |
167 | <name>text</name> | 167 | <name>text</name> |
168 | <string>2</string> | 168 | <string>2</string> |
169 | </property> | 169 | </property> |
170 | </widget> | 170 | </widget> |
171 | <widget row="1" column="4" > | 171 | <widget row="1" column="4" > |
172 | <class>QCheckBox</class> | 172 | <class>QCheckBox</class> |
173 | <property stdset="1"> | 173 | <property stdset="1"> |
174 | <name>name</name> | 174 | <name>name</name> |
175 | <cstring>channel9</cstring> | 175 | <cstring>channel9</cstring> |
176 | </property> | 176 | </property> |
177 | <property stdset="1"> | 177 | <property stdset="1"> |
178 | <name>text</name> | 178 | <name>text</name> |
179 | <string>9</string> | 179 | <string>9</string> |
180 | </property> | 180 | </property> |
181 | </widget> | 181 | </widget> |
182 | <widget row="0" column="1" > | 182 | <widget row="0" column="1" > |
183 | <class>QCheckBox</class> | 183 | <class>QCheckBox</class> |
184 | <property stdset="1"> | 184 | <property stdset="1"> |
185 | <name>name</name> | 185 | <name>name</name> |
186 | <cstring>channel1</cstring> | 186 | <cstring>channel1</cstring> |
187 | </property> | 187 | </property> |
188 | <property stdset="1"> | 188 | <property stdset="1"> |
189 | <name>text</name> | 189 | <name>text</name> |
190 | <string>1</string> | 190 | <string>1</string> |
191 | </property> | 191 | </property> |
192 | </widget> | 192 | </widget> |
193 | <widget row="0" column="0" > | 193 | <widget row="0" column="0" > |
194 | <class>QCheckBox</class> | 194 | <class>QCheckBox</class> |
195 | <property stdset="1"> | 195 | <property stdset="1"> |
196 | <name>name</name> | 196 | <name>name</name> |
197 | <cstring>channelAll</cstring> | 197 | <cstring>channelAll</cstring> |
198 | </property> | 198 | </property> |
199 | <property stdset="1"> | 199 | <property stdset="1"> |
200 | <name>text</name> | 200 | <name>text</name> |
201 | <string>All</string> | 201 | <string>All</string> |
202 | </property> | 202 | </property> |
203 | </widget> | 203 | </widget> |
204 | <widget row="2" column="1" > | 204 | <widget row="2" column="1" > |
205 | <class>QCheckBox</class> | 205 | <class>QCheckBox</class> |
206 | <property stdset="1"> | 206 | <property stdset="1"> |
207 | <name>name</name> | 207 | <name>name</name> |
208 | <cstring>channel11</cstring> | 208 | <cstring>channel11</cstring> |
209 | </property> | 209 | </property> |
210 | <property stdset="1"> | 210 | <property stdset="1"> |
211 | <name>text</name> | 211 | <name>text</name> |
212 | <string>11</string> | 212 | <string>11</string> |
213 | </property> | 213 | </property> |
214 | </widget> | 214 | </widget> |
215 | <widget row="2" column="0" > | 215 | <widget row="2" column="0" > |
216 | <class>QCheckBox</class> | 216 | <class>QCheckBox</class> |
217 | <property stdset="1"> | 217 | <property stdset="1"> |
218 | <name>name</name> | 218 | <name>name</name> |
219 | <cstring>channel10</cstring> | 219 | <cstring>channel10</cstring> |
220 | </property> | 220 | </property> |
221 | <property stdset="1"> | 221 | <property stdset="1"> |
222 | <name>text</name> | 222 | <name>text</name> |
223 | <string>10</string> | 223 | <string>10</string> |
224 | </property> | 224 | </property> |
225 | </widget> | 225 | </widget> |
226 | <widget row="1" column="2" > | 226 | <widget row="1" column="2" > |
227 | <class>QCheckBox</class> | 227 | <class>QCheckBox</class> |
228 | <property stdset="1"> | 228 | <property stdset="1"> |
229 | <name>name</name> | 229 | <name>name</name> |
230 | <cstring>channel7</cstring> | 230 | <cstring>channel7</cstring> |
231 | </property> | 231 | </property> |
232 | <property stdset="1"> | 232 | <property stdset="1"> |
233 | <name>text</name> | 233 | <name>text</name> |
234 | <string>7</string> | 234 | <string>7</string> |
235 | </property> | 235 | </property> |
236 | </widget> | 236 | </widget> |
237 | <widget row="0" column="3" > | 237 | <widget row="0" column="3" > |
238 | <class>QCheckBox</class> | 238 | <class>QCheckBox</class> |
239 | <property stdset="1"> | 239 | <property stdset="1"> |
240 | <name>name</name> | 240 | <name>name</name> |
241 | <cstring>channel3</cstring> | 241 | <cstring>channel3</cstring> |
242 | </property> | 242 | </property> |
243 | <property stdset="1"> | 243 | <property stdset="1"> |
244 | <name>text</name> | 244 | <name>text</name> |
245 | <string>3</string> | 245 | <string>3</string> |
246 | </property> | 246 | </property> |
247 | </widget> | 247 | </widget> |
248 | <widget row="1" column="0" > | 248 | <widget row="1" column="0" > |
249 | <class>QCheckBox</class> | 249 | <class>QCheckBox</class> |
250 | <property stdset="1"> | 250 | <property stdset="1"> |
251 | <name>name</name> | 251 | <name>name</name> |
252 | <cstring>channel5</cstring> | 252 | <cstring>channel5</cstring> |
253 | </property> | 253 | </property> |
254 | <property stdset="1"> | 254 | <property stdset="1"> |
255 | <name>text</name> | 255 | <name>text</name> |
256 | <string>5</string> | 256 | <string>5</string> |
257 | </property> | 257 | </property> |
258 | </widget> | 258 | </widget> |
259 | <widget row="0" column="4" > | 259 | <widget row="0" column="4" > |
260 | <class>QCheckBox</class> | 260 | <class>QCheckBox</class> |
261 | <property stdset="1"> | 261 | <property stdset="1"> |
262 | <name>name</name> | 262 | <name>name</name> |
263 | <cstring>channel4</cstring> | 263 | <cstring>channel4</cstring> |
264 | </property> | 264 | </property> |
265 | <property stdset="1"> | 265 | <property stdset="1"> |
266 | <name>text</name> | 266 | <name>text</name> |
267 | <string>4</string> | 267 | <string>4</string> |
268 | </property> | 268 | </property> |
269 | </widget> | 269 | </widget> |
270 | <widget row="2" column="2" > | 270 | <widget row="2" column="2" > |
271 | <class>QCheckBox</class> | 271 | <class>QCheckBox</class> |
272 | <property stdset="1"> | 272 | <property stdset="1"> |
273 | <name>name</name> | 273 | <name>name</name> |
274 | <cstring>channel12</cstring> | 274 | <cstring>channel12</cstring> |
275 | </property> | 275 | </property> |
276 | <property stdset="1"> | 276 | <property stdset="1"> |
277 | <name>text</name> | 277 | <name>text</name> |
278 | <string>12</string> | 278 | <string>12</string> |
279 | </property> | 279 | </property> |
280 | </widget> | 280 | </widget> |
281 | <widget row="2" column="3" > | 281 | <widget row="2" column="3" > |
282 | <class>QCheckBox</class> | 282 | <class>QCheckBox</class> |
283 | <property stdset="1"> | 283 | <property stdset="1"> |
284 | <name>name</name> | 284 | <name>name</name> |
285 | <cstring>channel13</cstring> | 285 | <cstring>channel13</cstring> |
286 | </property> | 286 | </property> |
287 | <property stdset="1"> | 287 | <property stdset="1"> |
288 | <name>text</name> | 288 | <name>text</name> |
289 | <string>13</string> | 289 | <string>13</string> |
290 | </property> | 290 | </property> |
291 | </widget> | 291 | </widget> |
292 | <widget row="2" column="4" > | 292 | <widget row="2" column="4" > |
293 | <class>QCheckBox</class> | 293 | <class>QCheckBox</class> |
294 | <property stdset="1"> | 294 | <property stdset="1"> |
295 | <name>name</name> | 295 | <name>name</name> |
296 | <cstring>channel14</cstring> | 296 | <cstring>channel14</cstring> |
297 | </property> | 297 | </property> |
298 | <property stdset="1"> | 298 | <property stdset="1"> |
299 | <name>text</name> | 299 | <name>text</name> |
300 | <string>14</string> | 300 | <string>14</string> |
301 | </property> | 301 | </property> |
302 | </widget> | 302 | </widget> |
303 | </grid> | 303 | </grid> |
304 | </widget> | 304 | </widget> |
305 | <widget row="0" column="1" rowspan="1" colspan="3" > | 305 | <widget row="0" column="1" rowspan="1" colspan="3" > |
306 | <class>QComboBox</class> | 306 | <class>QComboBox</class> |
307 | <property stdset="1"> | 307 | <property stdset="1"> |
308 | <name>name</name> | 308 | <name>name</name> |
309 | <cstring>interfaceName</cstring> | 309 | <cstring>interfaceName</cstring> |
310 | </property> | 310 | </property> |
311 | <property stdset="1"> | 311 | <property stdset="1"> |
312 | <name>enabled</name> | 312 | <name>enabled</name> |
313 | <bool>true</bool> | 313 | <bool>true</bool> |
314 | </property> | 314 | </property> |
315 | <property stdset="1"> | 315 | <property stdset="1"> |
316 | <name>editable</name> | 316 | <name>editable</name> |
317 | <bool>false</bool> | 317 | <bool>false</bool> |
318 | </property> | 318 | </property> |
319 | <property> | 319 | <property> |
320 | <name>whatsThis</name> | 320 | <name>whatsThis</name> |
321 | <string>Choose the interface used for sniffing.</string> | 321 | <string>Choose the interface used for sniffing.</string> |
322 | </property> | 322 | </property> |
323 | </widget> | 323 | </widget> |
324 | <widget row="1" column="1" rowspan="1" colspan="3" > | 324 | <widget row="1" column="1" rowspan="1" colspan="3" > |
325 | <class>QComboBox</class> | 325 | <class>QComboBox</class> |
326 | <item> | 326 | <item> |
327 | <property> | 327 | <property> |
328 | <name>text</name> | 328 | <name>text</name> |
329 | <string><select></string> | 329 | <string><select></string> |
330 | </property> | 330 | </property> |
331 | </item> | 331 | </item> |
332 | <item> | 332 | <item> |
333 | <property> | 333 | <property> |
334 | <name>text</name> | 334 | <name>text</name> |
335 | <string>cisco</string> | 335 | <string>cisco</string> |
336 | </property> | 336 | </property> |
337 | </item> | 337 | </item> |
338 | <item> | 338 | <item> |
339 | <property> | 339 | <property> |
340 | <name>text</name> | 340 | <name>text</name> |
341 | <string>wlan-ng</string> | 341 | <string>wlan-ng</string> |
342 | </property> | 342 | </property> |
343 | </item> | 343 | </item> |
344 | <item> | 344 | <item> |
345 | <property> | 345 | <property> |
346 | <name>text</name> | 346 | <name>text</name> |
347 | <string>hostap</string> | 347 | <string>hostap</string> |
348 | </property> | 348 | </property> |
349 | </item> | 349 | </item> |
350 | <item> | 350 | <item> |
351 | <property> | 351 | <property> |
352 | <name>text</name> | 352 | <name>text</name> |
353 | <string>orinoco</string> | 353 | <string>orinoco</string> |
354 | </property> | 354 | </property> |
355 | </item> | 355 | </item> |
356 | <item> | 356 | <item> |
357 | <property> | 357 | <property> |
358 | <name>text</name> | 358 | <name>text</name> |
359 | <string><manual></string> | 359 | <string><manual></string> |
360 | </property> | 360 | </property> |
361 | </item> | 361 | </item> |
362 | <item> | 362 | <item> |
363 | <property> | 363 | <property> |
364 | <name>text</name> | 364 | <name>text</name> |
365 | <string><file></string> | 365 | <string><file></string> |
366 | </property> | 366 | </property> |
367 | </item> | 367 | </item> |
368 | <property stdset="1"> | 368 | <property stdset="1"> |
369 | <name>name</name> | 369 | <name>name</name> |
370 | <cstring>deviceType</cstring> | 370 | <cstring>deviceType</cstring> |
371 | </property> | 371 | </property> |
372 | <property stdset="1"> | 372 | <property stdset="1"> |
373 | <name>enabled</name> | 373 | <name>enabled</name> |
374 | <bool>true</bool> | 374 | <bool>true</bool> |
375 | </property> | 375 | </property> |
376 | <property> | 376 | <property> |
377 | <name>whatsThis</name> | 377 | <name>whatsThis</name> |
378 | <string>Choose the type of driver used for sniffing.</string> | 378 | <string>Choose the type of driver used for sniffing.</string> |
379 | </property> | 379 | </property> |
380 | </widget> | 380 | </widget> |
381 | <spacer row="3" column="0" > | 381 | <spacer row="3" column="0" > |
382 | <property> | 382 | <property> |
383 | <name>name</name> | 383 | <name>name</name> |
384 | <cstring>Spacer4</cstring> | 384 | <cstring>Spacer4</cstring> |
385 | </property> | 385 | </property> |
386 | <property stdset="1"> | 386 | <property stdset="1"> |
387 | <name>orientation</name> | 387 | <name>orientation</name> |
388 | <enum>Vertical</enum> | 388 | <enum>Vertical</enum> |
389 | </property> | 389 | </property> |
390 | <property stdset="1"> | 390 | <property stdset="1"> |
391 | <name>sizeType</name> | 391 | <name>sizeType</name> |
392 | <enum>Expanding</enum> | 392 | <enum>Expanding</enum> |
393 | </property> | 393 | </property> |
394 | <property> | 394 | <property> |
395 | <name>sizeHint</name> | 395 | <name>sizeHint</name> |
396 | <size> | 396 | <size> |
397 | <width>20</width> | 397 | <width>20</width> |
398 | <height>20</height> | 398 | <height>20</height> |
399 | </size> | 399 | </size> |
400 | </property> | 400 | </property> |
401 | </spacer> | 401 | </spacer> |
402 | <widget row="4" column="2" > | 402 | <widget row="4" column="2" > |
403 | <class>QLabel</class> | 403 | <class>QLabel</class> |
404 | <property stdset="1"> | 404 | <property stdset="1"> |
405 | <name>name</name> | 405 | <name>name</name> |
406 | <cstring>TextLabel1</cstring> | 406 | <cstring>TextLabel1</cstring> |
407 | </property> | 407 | </property> |
408 | <property stdset="1"> | 408 | <property stdset="1"> |
409 | <name>text</name> | 409 | <name>text</name> |
410 | <string>every</string> | 410 | <string>every</string> |
411 | </property> | 411 | </property> |
412 | </widget> | 412 | </widget> |
413 | <widget row="4" column="0" rowspan="1" colspan="2" > | 413 | <widget row="4" column="0" rowspan="1" colspan="2" > |
414 | <class>QCheckBox</class> | 414 | <class>QCheckBox</class> |
415 | <property stdset="1"> | 415 | <property stdset="1"> |
416 | <name>name</name> | 416 | <name>name</name> |
417 | <cstring>hopChannels</cstring> | 417 | <cstring>hopChannels</cstring> |
418 | </property> | 418 | </property> |
419 | <property stdset="1"> | 419 | <property stdset="1"> |
420 | <name>text</name> | 420 | <name>text</name> |
421 | <string>Hop Channels</string> | 421 | <string>Hop Channels</string> |
422 | </property> | 422 | </property> |
423 | <property stdset="1"> | 423 | <property stdset="1"> |
424 | <name>checked</name> | 424 | <name>checked</name> |
425 | <bool>true</bool> | 425 | <bool>true</bool> |
426 | </property> | 426 | </property> |
427 | </widget> | 427 | </widget> |
428 | <widget row="4" column="3" > | 428 | <widget row="4" column="3" > |
429 | <class>QSpinBox</class> | 429 | <class>QSpinBox</class> |
430 | <property stdset="1"> | 430 | <property stdset="1"> |
431 | <name>name</name> | 431 | <name>name</name> |
432 | <cstring>hopInterval</cstring> | 432 | <cstring>hopInterval</cstring> |
433 | </property> | 433 | </property> |
434 | <property stdset="1"> | 434 | <property stdset="1"> |
435 | <name>enabled</name> | 435 | <name>enabled</name> |
436 | <bool>true</bool> | 436 | <bool>true</bool> |
437 | </property> | 437 | </property> |
438 | <property stdset="1"> | 438 | <property stdset="1"> |
439 | <name>suffix</name> | 439 | <name>suffix</name> |
440 | <string> ms</string> | 440 | <string> ms</string> |
441 | </property> | 441 | </property> |
442 | <property stdset="1"> | 442 | <property stdset="1"> |
443 | <name>maxValue</name> | 443 | <name>maxValue</name> |
444 | <number>2000</number> | 444 | <number>2000</number> |
445 | </property> | 445 | </property> |
446 | <property stdset="1"> | 446 | <property stdset="1"> |
447 | <name>minValue</name> | 447 | <name>minValue</name> |
448 | <number>100</number> | 448 | <number>100</number> |
449 | </property> | 449 | </property> |
450 | <property stdset="1"> | 450 | <property stdset="1"> |
451 | <name>lineStep</name> | 451 | <name>lineStep</name> |
452 | <number>100</number> | 452 | <number>100</number> |
453 | </property> | 453 | </property> |
454 | <property stdset="1"> | 454 | <property stdset="1"> |
455 | <name>value</name> | 455 | <name>value</name> |
456 | <number>1000</number> | 456 | <number>1000</number> |
457 | </property> | 457 | </property> |
458 | <property> | 458 | <property> |
459 | <name>whatsThis</name> | 459 | <name>whatsThis</name> |
460 | <string>Choose the channel hop interval.</string> | 460 | <string>Choose the channel hop interval.</string> |
461 | </property> | 461 | </property> |
462 | </widget> | 462 | </widget> |
463 | <widget row="5" column="0" rowspan="1" colspan="4" > | 463 | <widget row="5" column="0" rowspan="1" colspan="4" > |
464 | <class>QCheckBox</class> | 464 | <class>QCheckBox</class> |
465 | <property stdset="1"> | 465 | <property stdset="1"> |
466 | <name>name</name> | 466 | <name>name</name> |
467 | <cstring>adaptiveHopping</cstring> | 467 | <cstring>adaptiveHopping</cstring> |
468 | </property> | 468 | </property> |
469 | <property stdset="1"> | 469 | <property stdset="1"> |
470 | <name>enabled</name> | 470 | <name>enabled</name> |
471 | <bool>false</bool> | 471 | <bool>false</bool> |
472 | </property> | 472 | </property> |
473 | <property stdset="1"> | 473 | <property stdset="1"> |
474 | <name>text</name> | 474 | <name>text</name> |
475 | <string>Use Adaptive(TM) Hop Scheme</string> | 475 | <string>Use Adaptive(TM) Hop Scheme</string> |
476 | </property> | 476 | </property> |
477 | </widget> | 477 | </widget> |
478 | </grid> | 478 | </grid> |
479 | </widget> | 479 | </widget> |
480 | <widget> | 480 | <widget> |
481 | <class>QWidget</class> | 481 | <class>QWidget</class> |
482 | <property stdset="1"> | 482 | <property stdset="1"> |
483 | <name>name</name> | 483 | <name>name</name> |
484 | <cstring>tab</cstring> | 484 | <cstring>tab</cstring> |
485 | </property> | 485 | </property> |
486 | <attribute> | 486 | <attribute> |
487 | <name>title</name> | 487 | <name>title</name> |
488 | <string>Capture</string> | 488 | <string>Capture</string> |
489 | </attribute> | 489 | </attribute> |
490 | <grid> | 490 | <grid> |
491 | <property stdset="1"> | 491 | <property stdset="1"> |
492 | <name>margin</name> | 492 | <name>margin</name> |
493 | <number>5</number> | 493 | <number>5</number> |
494 | </property> | 494 | </property> |
495 | <property stdset="1"> | 495 | <property stdset="1"> |
496 | <name>spacing</name> | 496 | <name>spacing</name> |
497 | <number>3</number> | 497 | <number>3</number> |
498 | </property> | 498 | </property> |
499 | <widget row="2" column="0" rowspan="1" colspan="3" > | 499 | <widget row="2" column="0" rowspan="1" colspan="3" > |
500 | <class>ProtocolListView</class> | 500 | <class>ProtocolListView</class> |
501 | <property stdset="1"> | 501 | <property stdset="1"> |
502 | <name>name</name> | 502 | <name>name</name> |
503 | <cstring>capturePackets</cstring> | 503 | <cstring>capturePackets</cstring> |
504 | </property> | 504 | </property> |
505 | <property stdset="1"> | 505 | <property stdset="1"> |
506 | <name>enabled</name> | 506 | <name>enabled</name> |
507 | <bool>false</bool> | 507 | <bool>false</bool> |
508 | </property> | 508 | </property> |
509 | <property stdset="1"> | 509 | <property stdset="1"> |
510 | <name>sizePolicy</name> | 510 | <name>sizePolicy</name> |
511 | <sizepolicy> | 511 | <sizepolicy> |
512 | <hsizetype>7</hsizetype> | 512 | <hsizetype>7</hsizetype> |
513 | <vsizetype>7</vsizetype> | 513 | <vsizetype>7</vsizetype> |
514 | </sizepolicy> | 514 | </sizepolicy> |
515 | </property> | 515 | </property> |
516 | </widget> | 516 | </widget> |
517 | <widget row="1" column="0" rowspan="1" colspan="3" > | 517 | <widget row="1" column="0" rowspan="1" colspan="3" > |
518 | <class>QLineEdit</class> | 518 | <class>QLineEdit</class> |
519 | <property stdset="1"> | 519 | <property stdset="1"> |
520 | <name>name</name> | 520 | <name>name</name> |
521 | <cstring>captureFileName</cstring> | 521 | <cstring>captureFileName</cstring> |
522 | </property> | 522 | </property> |
523 | <property stdset="1"> | 523 | <property stdset="1"> |
524 | <name>enabled</name> | 524 | <name>enabled</name> |
525 | <bool>false</bool> | 525 | <bool>false</bool> |
526 | </property> | 526 | </property> |
527 | <property stdset="1"> | 527 | <property stdset="1"> |
528 | <name>text</name> | 528 | <name>text</name> |
529 | <string>/tmp/capture</string> | 529 | <string>/tmp/capture</string> |
530 | </property> | 530 | </property> |
531 | </widget> | 531 | </widget> |
532 | <widget row="0" column="2" > | 532 | <widget row="0" column="2" > |
533 | <class>QToolButton</class> | 533 | <class>QToolButton</class> |
534 | <property stdset="1"> | 534 | <property stdset="1"> |
535 | <name>name</name> | 535 | <name>name</name> |
536 | <cstring>getCaptureFileName</cstring> | 536 | <cstring>getCaptureFileName</cstring> |
537 | </property> | 537 | </property> |
538 | <property stdset="1"> | 538 | <property stdset="1"> |
539 | <name>enabled</name> | 539 | <name>enabled</name> |
540 | <bool>false</bool> | 540 | <bool>false</bool> |
541 | </property> | 541 | </property> |
542 | <property stdset="1"> | 542 | <property stdset="1"> |
543 | <name>text</name> | 543 | <name>text</name> |
544 | <string>Browse</string> | 544 | <string>Browse</string> |
545 | </property> | 545 | </property> |
546 | </widget> | 546 | </widget> |
547 | <spacer row="0" column="1" > | 547 | <spacer row="0" column="1" > |
548 | <property> | 548 | <property> |
549 | <name>name</name> | 549 | <name>name</name> |
550 | <cstring>Spacer2</cstring> | 550 | <cstring>Spacer2</cstring> |
551 | </property> | 551 | </property> |
552 | <property stdset="1"> | 552 | <property stdset="1"> |
553 | <name>orientation</name> | 553 | <name>orientation</name> |
554 | <enum>Horizontal</enum> | 554 | <enum>Horizontal</enum> |
555 | </property> | 555 | </property> |
556 | <property stdset="1"> | 556 | <property stdset="1"> |
557 | <name>sizeType</name> | 557 | <name>sizeType</name> |
558 | <enum>Expanding</enum> | 558 | <enum>Expanding</enum> |
559 | </property> | 559 | </property> |
560 | <property> | 560 | <property> |
561 | <name>sizeHint</name> | 561 | <name>sizeHint</name> |
562 | <size> | 562 | <size> |
563 | <width>20</width> | 563 | <width>20</width> |
564 | <height>20</height> | 564 | <height>20</height> |
565 | </size> | 565 | </size> |
566 | </property> | 566 | </property> |
567 | </spacer> | 567 | </spacer> |
568 | <widget row="0" column="0" > | 568 | <widget row="0" column="0" > |
569 | <class>QCheckBox</class> | 569 | <class>QCheckBox</class> |
570 | <property stdset="1"> | 570 | <property stdset="1"> |
571 | <name>name</name> | 571 | <name>name</name> |
572 | <cstring>writeCaptureFile</cstring> | 572 | <cstring>writeCaptureFile</cstring> |
573 | </property> | 573 | </property> |
574 | <property stdset="1"> | 574 | <property stdset="1"> |
575 | <name>enabled</name> | 575 | <name>enabled</name> |
576 | <bool>true</bool> | 576 | <bool>true</bool> |
577 | </property> | 577 | </property> |
578 | <property stdset="1"> | 578 | <property stdset="1"> |
579 | <name>text</name> | 579 | <name>text</name> |
580 | <string>Write Capture Files To</string> | 580 | <string>Write Capture Files To</string> |
581 | </property> | 581 | </property> |
582 | </widget> | 582 | </widget> |
583 | </grid> | 583 | </grid> |
584 | </widget> | 584 | </widget> |
585 | <widget> | 585 | <widget> |
586 | <class>QWidget</class> | 586 | <class>QWidget</class> |
587 | <property stdset="1"> | 587 | <property stdset="1"> |
588 | <name>name</name> | 588 | <name>name</name> |
589 | <cstring>tab</cstring> | 589 | <cstring>tab</cstring> |
590 | </property> | 590 | </property> |
591 | <attribute> | 591 | <attribute> |
592 | <name>title</name> | 592 | <name>title</name> |
593 | <string>Parse</string> | 593 | <string>Parse</string> |
594 | </attribute> | 594 | </attribute> |
595 | <grid> | 595 | <grid> |
596 | <property stdset="1"> | 596 | <property stdset="1"> |
597 | <name>margin</name> | 597 | <name>margin</name> |
598 | <number>5</number> | 598 | <number>5</number> |
599 | </property> | 599 | </property> |
600 | <property stdset="1"> | 600 | <property stdset="1"> |
601 | <name>spacing</name> | 601 | <name>spacing</name> |
602 | <number>3</number> | 602 | <number>3</number> |
603 | </property> | 603 | </property> |
604 | <widget row="0" column="0" > | 604 | <widget row="0" column="0" > |
605 | <class>ProtocolListView</class> | 605 | <class>ProtocolListView</class> |
606 | <property stdset="1"> | 606 | <property stdset="1"> |
607 | <name>name</name> | 607 | <name>name</name> |
608 | <cstring>parsePackets</cstring> | 608 | <cstring>parsePackets</cstring> |
609 | </property> | 609 | </property> |
610 | <property stdset="1"> | 610 | <property stdset="1"> |
611 | <name>sizePolicy</name> | 611 | <name>sizePolicy</name> |
612 | <sizepolicy> | 612 | <sizepolicy> |
613 | <hsizetype>7</hsizetype> | 613 | <hsizetype>7</hsizetype> |
614 | <vsizetype>7</vsizetype> | 614 | <vsizetype>7</vsizetype> |
615 | </sizepolicy> | 615 | </sizepolicy> |
616 | </property> | 616 | </property> |
617 | </widget> | 617 | </widget> |
618 | </grid> | 618 | </grid> |
619 | </widget> | 619 | </widget> |
620 | <widget> | 620 | <widget> |
621 | <class>QWidget</class> | 621 | <class>QWidget</class> |
622 | <property stdset="1"> | 622 | <property stdset="1"> |
623 | <name>name</name> | 623 | <name>name</name> |
624 | <cstring>tab</cstring> | 624 | <cstring>tab</cstring> |
625 | </property> | 625 | </property> |
626 | <attribute> | 626 | <attribute> |
627 | <name>title</name> | 627 | <name>title</name> |
628 | <string>UI</string> | 628 | <string>UI</string> |
629 | </attribute> | 629 | </attribute> |
630 | <grid> | 630 | <vbox> |
631 | <property stdset="1"> | 631 | <property stdset="1"> |
632 | <name>margin</name> | 632 | <name>margin</name> |
633 | <number>11</number> | 633 | <number>11</number> |
634 | </property> | 634 | </property> |
635 | <property stdset="1"> | 635 | <property stdset="1"> |
636 | <name>spacing</name> | 636 | <name>spacing</name> |
637 | <number>6</number> | 637 | <number>6</number> |
638 | </property> | 638 | </property> |
639 | <widget row="3" column="0" > | 639 | <widget> |
640 | <class>QCheckBox</class> | ||
641 | <property stdset="1"> | ||
642 | <name>name</name> | ||
643 | <cstring>lookupVendor</cstring> | ||
644 | </property> | ||
645 | <property stdset="1"> | ||
646 | <name>text</name> | ||
647 | <string>Lookup MAC vendor names</string> | ||
648 | </property> | ||
649 | </widget> | ||
650 | <widget> | ||
651 | <class>QCheckBox</class> | ||
652 | <property stdset="1"> | ||
653 | <name>name</name> | ||
654 | <cstring>openTree</cstring> | ||
655 | </property> | ||
656 | <property stdset="1"> | ||
657 | <name>text</name> | ||
658 | <string>Open Tree On New Station</string> | ||
659 | </property> | ||
660 | </widget> | ||
661 | <widget> | ||
662 | <class>QCheckBox</class> | ||
663 | <property stdset="1"> | ||
664 | <name>name</name> | ||
665 | <cstring>disablePM</cstring> | ||
666 | </property> | ||
667 | <property stdset="1"> | ||
668 | <name>text</name> | ||
669 | <string>Disable Power Management</string> | ||
670 | </property> | ||
671 | </widget> | ||
672 | <spacer> | ||
673 | <property> | ||
674 | <name>name</name> | ||
675 | <cstring>Spacer3</cstring> | ||
676 | </property> | ||
677 | <property stdset="1"> | ||
678 | <name>orientation</name> | ||
679 | <enum>Vertical</enum> | ||
680 | </property> | ||
681 | <property stdset="1"> | ||
682 | <name>sizeType</name> | ||
683 | <enum>Expanding</enum> | ||
684 | </property> | ||
685 | <property> | ||
686 | <name>sizeHint</name> | ||
687 | <size> | ||
688 | <width>20</width> | ||
689 | <height>20</height> | ||
690 | </size> | ||
691 | </property> | ||
692 | </spacer> | ||
693 | <widget> | ||
640 | <class>QGroupBox</class> | 694 | <class>QGroupBox</class> |
641 | <property stdset="1"> | 695 | <property stdset="1"> |
642 | <name>name</name> | 696 | <name>name</name> |
643 | <cstring>GroupBox4_2</cstring> | 697 | <cstring>GroupBox4_2</cstring> |
644 | </property> | 698 | </property> |
645 | <property stdset="1"> | 699 | <property stdset="1"> |
646 | <name>title</name> | 700 | <name>title</name> |
647 | <string>Action On Detecting</string> | 701 | <string>Action On Detecting</string> |
648 | </property> | 702 | </property> |
649 | <grid> | 703 | <grid> |
650 | <property stdset="1"> | 704 | <property stdset="1"> |
651 | <name>margin</name> | 705 | <name>margin</name> |
652 | <number>11</number> | 706 | <number>11</number> |
653 | </property> | 707 | </property> |
654 | <property stdset="1"> | 708 | <property stdset="1"> |
655 | <name>spacing</name> | 709 | <name>spacing</name> |
656 | <number>6</number> | 710 | <number>6</number> |
657 | </property> | 711 | </property> |
658 | <widget row="1" column="0" > | 712 | <widget row="1" column="0" > |
659 | <class>QLabel</class> | 713 | <class>QLabel</class> |
660 | <property stdset="1"> | 714 | <property stdset="1"> |
661 | <name>name</name> | 715 | <name>name</name> |
662 | <cstring>TextLabel2</cstring> | 716 | <cstring>TextLabel2</cstring> |
663 | </property> | 717 | </property> |
664 | <property stdset="1"> | 718 | <property stdset="1"> |
665 | <name>text</name> | 719 | <name>text</name> |
666 | <string>New Wireless Station</string> | 720 | <string>New Wireless Station</string> |
667 | </property> | 721 | </property> |
668 | </widget> | 722 | </widget> |
669 | <widget row="0" column="0" > | 723 | <widget row="0" column="0" > |
670 | <class>QLabel</class> | 724 | <class>QLabel</class> |
671 | <property stdset="1"> | 725 | <property stdset="1"> |
672 | <name>name</name> | 726 | <name>name</name> |
673 | <cstring>TextLabel1_3</cstring> | 727 | <cstring>TextLabel1_3</cstring> |
674 | </property> | 728 | </property> |
675 | <property stdset="1"> | 729 | <property stdset="1"> |
676 | <name>text</name> | 730 | <name>text</name> |
677 | <string>New Network</string> | 731 | <string>New Network</string> |
678 | </property> | 732 | </property> |
679 | </widget> | 733 | </widget> |
680 | <widget row="0" column="1" > | 734 | <widget row="0" column="1" > |
681 | <class>QComboBox</class> | 735 | <class>QComboBox</class> |
682 | <property stdset="1"> | 736 | <property stdset="1"> |
683 | <name>name</name> | 737 | <name>name</name> |
684 | <cstring>newNetwork</cstring> | 738 | <cstring>newNetwork</cstring> |
685 | </property> | 739 | </property> |
686 | </widget> | 740 | </widget> |
687 | <widget row="1" column="1" > | 741 | <widget row="1" column="1" > |
688 | <class>QComboBox</class> | 742 | <class>QComboBox</class> |
689 | <property stdset="1"> | 743 | <property stdset="1"> |
690 | <name>name</name> | 744 | <name>name</name> |
691 | <cstring>newWirelessStation</cstring> | 745 | <cstring>newWirelessStation</cstring> |
692 | </property> | 746 | </property> |
693 | </widget> | 747 | </widget> |
694 | <widget row="2" column="1" > | 748 | <widget row="2" column="1" > |
695 | <class>QComboBox</class> | 749 | <class>QComboBox</class> |
696 | <property stdset="1"> | 750 | <property stdset="1"> |
697 | <name>name</name> | 751 | <name>name</name> |
698 | <cstring>newStation</cstring> | 752 | <cstring>newStation</cstring> |
699 | </property> | 753 | </property> |
700 | </widget> | 754 | </widget> |
701 | <widget row="2" column="0" > | 755 | <widget row="2" column="0" > |
702 | <class>QLabel</class> | 756 | <class>QLabel</class> |
703 | <property stdset="1"> | 757 | <property stdset="1"> |
704 | <name>name</name> | 758 | <name>name</name> |
705 | <cstring>TextLabel3</cstring> | 759 | <cstring>TextLabel3</cstring> |
706 | </property> | 760 | </property> |
707 | <property stdset="1"> | 761 | <property stdset="1"> |
708 | <name>text</name> | 762 | <name>text</name> |
709 | <string>New Station</string> | 763 | <string>New Station</string> |
710 | </property> | 764 | </property> |
711 | </widget> | 765 | </widget> |
712 | </grid> | 766 | </grid> |
713 | </widget> | 767 | </widget> |
714 | <spacer row="2" column="0" > | 768 | </vbox> |
715 | <property> | ||
716 | <name>name</name> | ||
717 | <cstring>Spacer3</cstring> | ||
718 | </property> | ||
719 | <property stdset="1"> | ||
720 | <name>orientation</name> | ||
721 | <enum>Vertical</enum> | ||
722 | </property> | ||
723 | <property stdset="1"> | ||
724 | <name>sizeType</name> | ||
725 | <enum>Expanding</enum> | ||
726 | </property> | ||
727 | <property> | ||
728 | <name>sizeHint</name> | ||
729 | <size> | ||
730 | <width>20</width> | ||
731 | <height>20</height> | ||
732 | </size> | ||
733 | </property> | ||
734 | </spacer> | ||
735 | <widget row="0" column="0" > | ||
736 | <class>QCheckBox</class> | ||
737 | <property stdset="1"> | ||
738 | <name>name</name> | ||
739 | <cstring>lookupVendor</cstring> | ||
740 | </property> | ||
741 | <property stdset="1"> | ||
742 | <name>text</name> | ||
743 | <string>Lookup MAC vendor names</string> | ||
744 | </property> | ||
745 | </widget> | ||
746 | <widget row="1" column="0" > | ||
747 | <class>QCheckBox</class> | ||
748 | <property stdset="1"> | ||
749 | <name>name</name> | ||
750 | <cstring>openTree</cstring> | ||
751 | </property> | ||
752 | <property stdset="1"> | ||
753 | <name>text</name> | ||
754 | <string>Open Tree On New Station</string> | ||
755 | </property> | ||
756 | </widget> | ||
757 | </grid> | ||
758 | </widget> | 769 | </widget> |
759 | <widget> | 770 | <widget> |
760 | <class>QWidget</class> | 771 | <class>QWidget</class> |
761 | <property stdset="1"> | 772 | <property stdset="1"> |
762 | <name>name</name> | 773 | <name>name</name> |
763 | <cstring>tab</cstring> | 774 | <cstring>tab</cstring> |
764 | </property> | 775 | </property> |
765 | <attribute> | 776 | <attribute> |
766 | <name>title</name> | 777 | <name>title</name> |
767 | <string>Intrusion</string> | 778 | <string>Intrusion</string> |
768 | </attribute> | 779 | </attribute> |
769 | <grid> | 780 | <grid> |
770 | <property stdset="1"> | 781 | <property stdset="1"> |
771 | <name>margin</name> | 782 | <name>margin</name> |
772 | <number>11</number> | 783 | <number>11</number> |
773 | </property> | 784 | </property> |
774 | <property stdset="1"> | 785 | <property stdset="1"> |
775 | <name>spacing</name> | 786 | <name>spacing</name> |
776 | <number>6</number> | 787 | <number>6</number> |
777 | </property> | 788 | </property> |
778 | <widget row="1" column="0" > | 789 | <widget row="1" column="0" > |
779 | <class>QGroupBox</class> | 790 | <class>QGroupBox</class> |
780 | <property stdset="1"> | 791 | <property stdset="1"> |
781 | <name>name</name> | 792 | <name>name</name> |
782 | <cstring>GroupBox3</cstring> | 793 | <cstring>GroupBox3</cstring> |
783 | </property> | 794 | </property> |
784 | <property stdset="1"> | 795 | <property stdset="1"> |
785 | <name>enabled</name> | 796 | <name>enabled</name> |
786 | <bool>false</bool> | 797 | <bool>false</bool> |
787 | </property> | 798 | </property> |
788 | <property stdset="1"> | 799 | <property stdset="1"> |
789 | <name>title</name> | 800 | <name>title</name> |
790 | <string>Link Level</string> | 801 | <string>Link Level</string> |
791 | </property> | 802 | </property> |
792 | <grid> | 803 | <grid> |
793 | <property stdset="1"> | 804 | <property stdset="1"> |
794 | <name>margin</name> | 805 | <name>margin</name> |
795 | <number>11</number> | 806 | <number>11</number> |
796 | </property> | 807 | </property> |
797 | <property stdset="1"> | 808 | <property stdset="1"> |
798 | <name>spacing</name> | 809 | <name>spacing</name> |
799 | <number>6</number> | 810 | <number>6</number> |
800 | </property> | 811 | </property> |
801 | <widget row="0" column="0" > | 812 | <widget row="0" column="0" > |
802 | <class>QLabel</class> | 813 | <class>QLabel</class> |
803 | <property stdset="1"> | 814 | <property stdset="1"> |
804 | <name>name</name> | 815 | <name>name</name> |
805 | <cstring>TextLabel1_5</cstring> | 816 | <cstring>TextLabel1_5</cstring> |
806 | </property> | 817 | </property> |
807 | <property stdset="1"> | 818 | <property stdset="1"> |
808 | <name>text</name> | 819 | <name>text</name> |
809 | <string>Fake Mac:</string> | 820 | <string>Fake Mac:</string> |
810 | </property> | 821 | </property> |
811 | </widget> | 822 | </widget> |
812 | <widget row="1" column="0" rowspan="1" colspan="2" > | 823 | <widget row="1" column="0" rowspan="1" colspan="2" > |
813 | <class>QCheckBox</class> | 824 | <class>QCheckBox</class> |
814 | <property stdset="1"> | 825 | <property stdset="1"> |
815 | <name>name</name> | 826 | <name>name</name> |
816 | <cstring>sendProbeRequests</cstring> | 827 | <cstring>sendProbeRequests</cstring> |
817 | </property> | 828 | </property> |
818 | <property stdset="1"> | 829 | <property stdset="1"> |
819 | <name>text</name> | 830 | <name>text</name> |
820 | <string>Send proble requests</string> | 831 | <string>Send proble requests</string> |
821 | </property> | 832 | </property> |
822 | </widget> | 833 | </widget> |
823 | <widget row="0" column="1" > | 834 | <widget row="0" column="1" > |
824 | <class>QComboBox</class> | 835 | <class>QComboBox</class> |
825 | <item> | 836 | <item> |
826 | <property> | 837 | <property> |
827 | <name>text</name> | 838 | <name>text</name> |
828 | <string><automatic></string> | 839 | <string><automatic></string> |
829 | </property> | 840 | </property> |
830 | </item> | 841 | </item> |
831 | <item> | 842 | <item> |
832 | <property> | 843 | <property> |
833 | <name>text</name> | 844 | <name>text</name> |
834 | <string>44:44:44:44:44:44</string> | 845 | <string>44:44:44:44:44:44</string> |
835 | </property> | 846 | </property> |
836 | </item> | 847 | </item> |
837 | <property stdset="1"> | 848 | <property stdset="1"> |
838 | <name>name</name> | 849 | <name>name</name> |
839 | <cstring>fakeMac</cstring> | 850 | <cstring>fakeMac</cstring> |
840 | </property> | 851 | </property> |
841 | <property stdset="1"> | 852 | <property stdset="1"> |
842 | <name>sizePolicy</name> | 853 | <name>sizePolicy</name> |
843 | <sizepolicy> | 854 | <sizepolicy> |
844 | <hsizetype>7</hsizetype> | 855 | <hsizetype>7</hsizetype> |
845 | <vsizetype>0</vsizetype> | 856 | <vsizetype>0</vsizetype> |
846 | </sizepolicy> | 857 | </sizepolicy> |
847 | </property> | 858 | </property> |
848 | <property stdset="1"> | 859 | <property stdset="1"> |
849 | <name>editable</name> | 860 | <name>editable</name> |
850 | <bool>true</bool> | 861 | <bool>true</bool> |
851 | </property> | 862 | </property> |
852 | <property stdset="1"> | 863 | <property stdset="1"> |
853 | <name>currentItem</name> | 864 | <name>currentItem</name> |
854 | <number>1</number> | 865 | <number>1</number> |
855 | </property> | 866 | </property> |
856 | <property stdset="1"> | 867 | <property stdset="1"> |
857 | <name>autoCompletion</name> | 868 | <name>autoCompletion</name> |
858 | <bool>true</bool> | 869 | <bool>true</bool> |
859 | </property> | 870 | </property> |
860 | </widget> | 871 | </widget> |
861 | <widget row="2" column="0" rowspan="1" colspan="2" > | 872 | <widget row="2" column="0" rowspan="1" colspan="2" > |
862 | <class>QCheckBox</class> | 873 | <class>QCheckBox</class> |
863 | <property stdset="1"> | 874 | <property stdset="1"> |
864 | <name>name</name> | 875 | <name>name</name> |
865 | <cstring>tryToAuthenticate</cstring> | 876 | <cstring>tryToAuthenticate</cstring> |
866 | </property> | 877 | </property> |
867 | <property stdset="1"> | 878 | <property stdset="1"> |
868 | <name>text</name> | 879 | <name>text</name> |
869 | <string>Try to authenticate</string> | 880 | <string>Try to authenticate</string> |
870 | </property> | 881 | </property> |
871 | </widget> | 882 | </widget> |
872 | </grid> | 883 | </grid> |
873 | </widget> | 884 | </widget> |
874 | <widget row="0" column="0" > | 885 | <widget row="0" column="0" > |
875 | <class>QCheckBox</class> | 886 | <class>QCheckBox</class> |
876 | <property stdset="1"> | 887 | <property stdset="1"> |
877 | <name>name</name> | 888 | <name>name</name> |
878 | <cstring>enableActiveScanning</cstring> | 889 | <cstring>enableActiveScanning</cstring> |
879 | </property> | 890 | </property> |
880 | <property stdset="1"> | 891 | <property stdset="1"> |
881 | <name>enabled</name> | 892 | <name>enabled</name> |
882 | <bool>false</bool> | 893 | <bool>false</bool> |
883 | </property> | 894 | </property> |
884 | <property stdset="1"> | 895 | <property stdset="1"> |
885 | <name>text</name> | 896 | <name>text</name> |
886 | <string>Enable active scanning</string> | 897 | <string>Enable active scanning</string> |
887 | </property> | 898 | </property> |
888 | </widget> | 899 | </widget> |
889 | <widget row="2" column="0" > | 900 | <widget row="2" column="0" > |
890 | <class>QGroupBox</class> | 901 | <class>QGroupBox</class> |
891 | <property stdset="1"> | 902 | <property stdset="1"> |
892 | <name>name</name> | 903 | <name>name</name> |
893 | <cstring>GroupBox4</cstring> | 904 | <cstring>GroupBox4</cstring> |
894 | </property> | 905 | </property> |
895 | <property stdset="1"> | 906 | <property stdset="1"> |
896 | <name>enabled</name> | 907 | <name>enabled</name> |
897 | <bool>false</bool> | 908 | <bool>false</bool> |
898 | </property> | 909 | </property> |
899 | <property stdset="1"> | 910 | <property stdset="1"> |
900 | <name>title</name> | 911 | <name>title</name> |
901 | <string>IP Level</string> | 912 | <string>IP Level</string> |
902 | </property> | 913 | </property> |
903 | <grid> | 914 | <grid> |
904 | <property stdset="1"> | 915 | <property stdset="1"> |
905 | <name>margin</name> | 916 | <name>margin</name> |
906 | <number>11</number> | 917 | <number>11</number> |
907 | </property> | 918 | </property> |
908 | <property stdset="1"> | 919 | <property stdset="1"> |
909 | <name>spacing</name> | 920 | <name>spacing</name> |
910 | <number>6</number> | 921 | <number>6</number> |
911 | </property> | 922 | </property> |
912 | <widget row="1" column="0" rowspan="1" colspan="2" > | 923 | <widget row="1" column="0" rowspan="1" colspan="2" > |
913 | <class>QCheckBox</class> | 924 | <class>QCheckBox</class> |
914 | <property stdset="1"> | 925 | <property stdset="1"> |
915 | <name>name</name> | 926 | <name>name</name> |
916 | <cstring>CheckBox24</cstring> | 927 | <cstring>CheckBox24</cstring> |
917 | </property> | 928 | </property> |
918 | <property stdset="1"> | 929 | <property stdset="1"> |
919 | <name>text</name> | 930 | <name>text</name> |
920 | <string>Request DHCP Address</string> | 931 | <string>Request DHCP Address</string> |
921 | </property> | 932 | </property> |
922 | </widget> | 933 | </widget> |
923 | <widget row="0" column="0" > | 934 | <widget row="0" column="0" > |
924 | <class>QLabel</class> | 935 | <class>QLabel</class> |
925 | <property stdset="1"> | 936 | <property stdset="1"> |
926 | <name>name</name> | 937 | <name>name</name> |
927 | <cstring>TextLabel1_5_2</cstring> | 938 | <cstring>TextLabel1_5_2</cstring> |
928 | </property> | 939 | </property> |
929 | <property stdset="1"> | 940 | <property stdset="1"> |
930 | <name>text</name> | 941 | <name>text</name> |
931 | <string>Fake IP:</string> | 942 | <string>Fake IP:</string> |
932 | </property> | 943 | </property> |
933 | </widget> | 944 | </widget> |
934 | <widget row="0" column="1" > | 945 | <widget row="0" column="1" > |
935 | <class>QComboBox</class> | 946 | <class>QComboBox</class> |
936 | <item> | 947 | <item> |
937 | <property> | 948 | <property> |
938 | <name>text</name> | 949 | <name>text</name> |
939 | <string>192.168.125.1</string> | 950 | <string>192.168.125.1</string> |
940 | </property> | 951 | </property> |
941 | </item> | 952 | </item> |
942 | <item> | 953 | <item> |
943 | <property> | 954 | <property> |
944 | <name>text</name> | 955 | <name>text</name> |
945 | <string><automatic></string> | 956 | <string><automatic></string> |
946 | </property> | 957 | </property> |
947 | </item> | 958 | </item> |
948 | <property stdset="1"> | 959 | <property stdset="1"> |
949 | <name>name</name> | 960 | <name>name</name> |
950 | <cstring>fakeIP</cstring> | 961 | <cstring>fakeIP</cstring> |
951 | </property> | 962 | </property> |
952 | <property stdset="1"> | 963 | <property stdset="1"> |
953 | <name>sizePolicy</name> | 964 | <name>sizePolicy</name> |
954 | <sizepolicy> | 965 | <sizepolicy> |
955 | <hsizetype>7</hsizetype> | 966 | <hsizetype>7</hsizetype> |
956 | <vsizetype>0</vsizetype> | 967 | <vsizetype>0</vsizetype> |
957 | </sizepolicy> | 968 | </sizepolicy> |
958 | </property> | 969 | </property> |
959 | <property stdset="1"> | 970 | <property stdset="1"> |
960 | <name>editable</name> | 971 | <name>editable</name> |
961 | <bool>true</bool> | 972 | <bool>true</bool> |
962 | </property> | 973 | </property> |
963 | <property stdset="1"> | 974 | <property stdset="1"> |
964 | <name>currentItem</name> | 975 | <name>currentItem</name> |
965 | <number>0</number> | 976 | <number>0</number> |
966 | </property> | 977 | </property> |
967 | </widget> | 978 | </widget> |
968 | </grid> | 979 | </grid> |
969 | </widget> | 980 | </widget> |
970 | </grid> | 981 | </grid> |
971 | </widget> | 982 | </widget> |
972 | <widget> | 983 | <widget> |
973 | <class>QWidget</class> | 984 | <class>QWidget</class> |
974 | <property stdset="1"> | 985 | <property stdset="1"> |
975 | <name>name</name> | 986 | <name>name</name> |
976 | <cstring>tab</cstring> | 987 | <cstring>tab</cstring> |
977 | </property> | 988 | </property> |
978 | <attribute> | 989 | <attribute> |
979 | <name>title</name> | 990 | <name>title</name> |
980 | <string>GPS</string> | 991 | <string>GPS</string> |
981 | </attribute> | 992 | </attribute> |
982 | <widget> | 993 | <widget> |
983 | <class>QLayoutWidget</class> | 994 | <class>QLayoutWidget</class> |
984 | <property stdset="1"> | 995 | <property stdset="1"> |
985 | <name>name</name> | 996 | <name>name</name> |
986 | <cstring>Layout1</cstring> | 997 | <cstring>Layout1</cstring> |
987 | </property> | 998 | </property> |
988 | <property stdset="1"> | 999 | <property stdset="1"> |
989 | <name>geometry</name> | 1000 | <name>geometry</name> |
990 | <rect> | 1001 | <rect> |
991 | <x>10</x> | 1002 | <x>10</x> |
992 | <y>40</y> | 1003 | <y>40</y> |
993 | <width>216</width> | 1004 | <width>216</width> |
994 | <height>27</height> | 1005 | <height>27</height> |
995 | </rect> | 1006 | </rect> |
996 | </property> | 1007 | </property> |
997 | <hbox> | 1008 | <hbox> |
998 | <property stdset="1"> | 1009 | <property stdset="1"> |
999 | <name>margin</name> | 1010 | <name>margin</name> |
1000 | <number>0</number> | 1011 | <number>0</number> |
1001 | </property> | 1012 | </property> |
1002 | <property stdset="1"> | 1013 | <property stdset="1"> |
1003 | <name>spacing</name> | 1014 | <name>spacing</name> |
1004 | <number>6</number> | 1015 | <number>6</number> |
1005 | </property> | 1016 | </property> |
1006 | <widget> | 1017 | <widget> |
1007 | <class>QLabel</class> | 1018 | <class>QLabel</class> |
1008 | <property stdset="1"> | 1019 | <property stdset="1"> |
1009 | <name>name</name> | 1020 | <name>name</name> |
1010 | <cstring>TextLabel1_4</cstring> | 1021 | <cstring>TextLabel1_4</cstring> |
1011 | </property> | 1022 | </property> |
1012 | <property stdset="1"> | 1023 | <property stdset="1"> |
1013 | <name>text</name> | 1024 | <name>text</name> |
1014 | <string>Host</string> | 1025 | <string>Host</string> |
1015 | </property> | 1026 | </property> |
1016 | </widget> | 1027 | </widget> |
1017 | <widget> | 1028 | <widget> |
1018 | <class>QComboBox</class> | 1029 | <class>QComboBox</class> |
1019 | <item> | 1030 | <item> |
1020 | <property> | 1031 | <property> |
1021 | <name>text</name> | 1032 | <name>text</name> |
1022 | <string>localhost</string> | 1033 | <string>localhost</string> |
1023 | </property> | 1034 | </property> |
1024 | </item> | 1035 | </item> |
1025 | <property stdset="1"> | 1036 | <property stdset="1"> |
1026 | <name>name</name> | 1037 | <name>name</name> |
1027 | <cstring>gpsdHost</cstring> | 1038 | <cstring>gpsdHost</cstring> |
1028 | </property> | 1039 | </property> |
1029 | <property stdset="1"> | 1040 | <property stdset="1"> |
1030 | <name>enabled</name> | 1041 | <name>enabled</name> |
1031 | <bool>false</bool> | 1042 | <bool>false</bool> |
1032 | </property> | 1043 | </property> |
1033 | <property stdset="1"> | 1044 | <property stdset="1"> |
1034 | <name>editable</name> | 1045 | <name>editable</name> |
1035 | <bool>true</bool> | 1046 | <bool>true</bool> |
1036 | </property> | 1047 | </property> |
1037 | <property stdset="1"> | 1048 | <property stdset="1"> |
1038 | <name>currentItem</name> | 1049 | <name>currentItem</name> |
1039 | <number>0</number> | 1050 | <number>0</number> |
1040 | </property> | 1051 | </property> |
1041 | </widget> | 1052 | </widget> |
1042 | <widget> | 1053 | <widget> |
1043 | <class>QLabel</class> | 1054 | <class>QLabel</class> |
1044 | <property stdset="1"> | 1055 | <property stdset="1"> |
1045 | <name>name</name> | 1056 | <name>name</name> |
1046 | <cstring>TextLabel2_2</cstring> | 1057 | <cstring>TextLabel2_2</cstring> |
1047 | </property> | 1058 | </property> |
1048 | <property stdset="1"> | 1059 | <property stdset="1"> |
1049 | <name>text</name> | 1060 | <name>text</name> |
1050 | <string>:</string> | 1061 | <string>:</string> |
1051 | </property> | 1062 | </property> |
1052 | </widget> | 1063 | </widget> |
1053 | <widget> | 1064 | <widget> |
1054 | <class>QSpinBox</class> | 1065 | <class>QSpinBox</class> |
1055 | <property stdset="1"> | 1066 | <property stdset="1"> |
1056 | <name>name</name> | 1067 | <name>name</name> |
1057 | <cstring>gpsdPort</cstring> | 1068 | <cstring>gpsdPort</cstring> |
1058 | </property> | 1069 | </property> |
1059 | <property stdset="1"> | 1070 | <property stdset="1"> |
1060 | <name>enabled</name> | 1071 | <name>enabled</name> |
1061 | <bool>false</bool> | 1072 | <bool>false</bool> |
1062 | </property> | 1073 | </property> |
1063 | <property stdset="1"> | 1074 | <property stdset="1"> |
1064 | <name>maxValue</name> | 1075 | <name>maxValue</name> |
1065 | <number>65535</number> | 1076 | <number>65535</number> |
1066 | </property> | 1077 | </property> |
1067 | <property stdset="1"> | 1078 | <property stdset="1"> |
1068 | <name>minValue</name> | 1079 | <name>minValue</name> |
1069 | <number>1024</number> | 1080 | <number>1024</number> |
1070 | </property> | 1081 | </property> |
1071 | <property stdset="1"> | 1082 | <property stdset="1"> |
1072 | <name>value</name> | 1083 | <name>value</name> |
1073 | <number>2947</number> | 1084 | <number>2947</number> |
1074 | </property> | 1085 | </property> |
1075 | </widget> | 1086 | </widget> |
1076 | </hbox> | 1087 | </hbox> |
1077 | </widget> | 1088 | </widget> |
1078 | <widget> | 1089 | <widget> |
1079 | <class>QLineEdit</class> | 1090 | <class>QLineEdit</class> |
1080 | <property stdset="1"> | 1091 | <property stdset="1"> |
1081 | <name>name</name> | 1092 | <name>name</name> |
1082 | <cstring>commandGPS</cstring> | 1093 | <cstring>commandGPS</cstring> |
1083 | </property> | 1094 | </property> |
1084 | <property stdset="1"> | 1095 | <property stdset="1"> |
1085 | <name>enabled</name> | 1096 | <name>enabled</name> |
1086 | <bool>false</bool> | 1097 | <bool>false</bool> |
1087 | </property> | 1098 | </property> |
1088 | <property stdset="1"> | 1099 | <property stdset="1"> |
1089 | <name>geometry</name> | 1100 | <name>geometry</name> |
1090 | <rect> | 1101 | <rect> |
1091 | <x>10</x> | 1102 | <x>10</x> |
1092 | <y>110</y> | 1103 | <y>110</y> |
1093 | <width>210</width> | 1104 | <width>210</width> |
1094 | <height>22</height> | 1105 | <height>22</height> |
1095 | </rect> | 1106 | </rect> |
1096 | </property> | 1107 | </property> |
1097 | <property stdset="1"> | 1108 | <property stdset="1"> |
1098 | <name>text</name> | 1109 | <name>text</name> |
1099 | <string>gpsd -p /dev/ttyS3 -s 57600</string> | 1110 | <string>gpsd -p /dev/ttyS3 -s 57600</string> |
1100 | </property> | 1111 | </property> |
1101 | </widget> | 1112 | </widget> |
1102 | <widget> | 1113 | <widget> |
1103 | <class>QCheckBox</class> | 1114 | <class>QCheckBox</class> |
1104 | <property stdset="1"> | 1115 | <property stdset="1"> |
1105 | <name>name</name> | 1116 | <name>name</name> |
1106 | <cstring>enableGPS</cstring> | 1117 | <cstring>enableGPS</cstring> |
1107 | </property> | 1118 | </property> |
1108 | <property stdset="1"> | 1119 | <property stdset="1"> |
1109 | <name>geometry</name> | 1120 | <name>geometry</name> |
1110 | <rect> | 1121 | <rect> |
1111 | <x>10</x> | 1122 | <x>10</x> |
1112 | <y>10</y> | 1123 | <y>10</y> |
1113 | <width>199</width> | 1124 | <width>199</width> |
1114 | <height>21</height> | 1125 | <height>21</height> |
1115 | </rect> | 1126 | </rect> |
1116 | </property> | 1127 | </property> |
1117 | <property stdset="1"> | 1128 | <property stdset="1"> |
1118 | <name>text</name> | 1129 | <name>text</name> |
1119 | <string>Enable GPS logging w/ gpsd</string> | 1130 | <string>Enable GPS logging w/ gpsd</string> |
1120 | </property> | 1131 | </property> |
1121 | </widget> | 1132 | </widget> |
1122 | <widget> | 1133 | <widget> |
1123 | <class>QCheckBox</class> | 1134 | <class>QCheckBox</class> |
1124 | <property stdset="1"> | 1135 | <property stdset="1"> |
1125 | <name>name</name> | 1136 | <name>name</name> |
1126 | <cstring>startGPS</cstring> | 1137 | <cstring>startGPS</cstring> |
1127 | </property> | 1138 | </property> |
1128 | <property stdset="1"> | 1139 | <property stdset="1"> |
1129 | <name>geometry</name> | 1140 | <name>geometry</name> |
1130 | <rect> | 1141 | <rect> |
1131 | <x>10</x> | 1142 | <x>10</x> |
1132 | <y>80</y> | 1143 | <y>80</y> |
1133 | <width>171</width> | 1144 | <width>171</width> |
1134 | <height>21</height> | 1145 | <height>21</height> |
1135 | </rect> | 1146 | </rect> |
1136 | </property> | 1147 | </property> |
1137 | <property stdset="1"> | 1148 | <property stdset="1"> |
1138 | <name>text</name> | 1149 | <name>text</name> |
1139 | <string>Start gpsd on localhost</string> | 1150 | <string>Start gpsd on localhost</string> |
1140 | </property> | 1151 | </property> |
1141 | </widget> | 1152 | </widget> |
1142 | </widget> | 1153 | </widget> |
1143 | </widget> | 1154 | </widget> |
1144 | </grid> | 1155 | </grid> |
1145 | </widget> | 1156 | </widget> |
1146 | <customwidgets> | 1157 | <customwidgets> |
1147 | <customwidget> | 1158 | <customwidget> |
1148 | <class>ProtocolListView</class> | 1159 | <class>ProtocolListView</class> |
1149 | <header location="local">protolistview.h</header> | 1160 | <header location="local">protolistview.h</header> |
1150 | <sizehint> | 1161 | <sizehint> |
1151 | <width>100</width> | 1162 | <width>100</width> |
1152 | <height>100</height> | 1163 | <height>100</height> |
1153 | </sizehint> | 1164 | </sizehint> |
1154 | <container>0</container> | 1165 | <container>0</container> |
1155 | <sizepolicy> | 1166 | <sizepolicy> |
1156 | <hordata>3</hordata> | 1167 | <hordata>3</hordata> |
1157 | <verdata>3</verdata> | 1168 | <verdata>3</verdata> |
1158 | </sizepolicy> | 1169 | </sizepolicy> |
1159 | <pixmap>image0</pixmap> | 1170 | <pixmap>image0</pixmap> |
1160 | </customwidget> | 1171 | </customwidget> |
1161 | </customwidgets> | 1172 | </customwidgets> |
1162 | <images> | 1173 | <images> |
1163 | <image> | 1174 | <image> |
1164 | <name>image0</name> | 1175 | <name>image0</name> |
1165 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> | 1176 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> |
1166 | </image> | 1177 | </image> |
1167 | </images> | 1178 | </images> |
1168 | <connections> | 1179 | <connections> |
1169 | <connection> | 1180 | <connection> |
1170 | <sender>hopChannels</sender> | 1181 | <sender>hopChannels</sender> |
1171 | <signal>toggled(bool)</signal> | 1182 | <signal>toggled(bool)</signal> |
1172 | <receiver>hopInterval</receiver> | 1183 | <receiver>hopInterval</receiver> |
1173 | <slot>setEnabled(bool)</slot> | 1184 | <slot>setEnabled(bool)</slot> |
1174 | </connection> | 1185 | </connection> |
1175 | <connection> | 1186 | <connection> |
1176 | <sender>hopChannels</sender> | 1187 | <sender>hopChannels</sender> |
1177 | <signal>toggled(bool)</signal> | 1188 | <signal>toggled(bool)</signal> |
1178 | <receiver>TextLabel1</receiver> | 1189 | <receiver>TextLabel1</receiver> |
1179 | <slot>setEnabled(bool)</slot> | 1190 | <slot>setEnabled(bool)</slot> |
1180 | </connection> | 1191 | </connection> |
1181 | <connection> | 1192 | <connection> |
1182 | <sender>enableActiveScanning</sender> | 1193 | <sender>enableActiveScanning</sender> |
1183 | <signal>toggled(bool)</signal> | 1194 | <signal>toggled(bool)</signal> |
1184 | <receiver>GroupBox3</receiver> | 1195 | <receiver>GroupBox3</receiver> |
1185 | <slot>setEnabled(bool)</slot> | 1196 | <slot>setEnabled(bool)</slot> |
1186 | </connection> | 1197 | </connection> |
1187 | <connection> | 1198 | <connection> |
1188 | <sender>enableActiveScanning</sender> | 1199 | <sender>enableActiveScanning</sender> |
1189 | <signal>toggled(bool)</signal> | 1200 | <signal>toggled(bool)</signal> |
1190 | <receiver>GroupBox4</receiver> | 1201 | <receiver>GroupBox4</receiver> |
1191 | <slot>setEnabled(bool)</slot> | 1202 | <slot>setEnabled(bool)</slot> |
1192 | </connection> | 1203 | </connection> |
1193 | <connection> | 1204 | <connection> |
1194 | <sender>writeCaptureFile</sender> | 1205 | <sender>writeCaptureFile</sender> |
1195 | <signal>toggled(bool)</signal> | 1206 | <signal>toggled(bool)</signal> |
1196 | <receiver>getCaptureFileName</receiver> | 1207 | <receiver>getCaptureFileName</receiver> |
1197 | <slot>setEnabled(bool)</slot> | 1208 | <slot>setEnabled(bool)</slot> |
1198 | </connection> | 1209 | </connection> |
1199 | <connection> | 1210 | <connection> |
1200 | <sender>writeCaptureFile</sender> | 1211 | <sender>writeCaptureFile</sender> |
1201 | <signal>toggled(bool)</signal> | 1212 | <signal>toggled(bool)</signal> |
1202 | <receiver>captureFileName</receiver> | 1213 | <receiver>captureFileName</receiver> |
1203 | <slot>setEnabled(bool)</slot> | 1214 | <slot>setEnabled(bool)</slot> |
1204 | </connection> | 1215 | </connection> |
1205 | <connection> | 1216 | <connection> |
1206 | <sender>writeCaptureFile</sender> | 1217 | <sender>writeCaptureFile</sender> |
1207 | <signal>toggled(bool)</signal> | 1218 | <signal>toggled(bool)</signal> |
1208 | <receiver>capturePackets</receiver> | 1219 | <receiver>capturePackets</receiver> |
1209 | <slot>setEnabled(bool)</slot> | 1220 | <slot>setEnabled(bool)</slot> |
1210 | </connection> | 1221 | </connection> |
1211 | <connection> | 1222 | <connection> |
1212 | <sender>enableGPS</sender> | 1223 | <sender>enableGPS</sender> |
1213 | <signal>toggled(bool)</signal> | 1224 | <signal>toggled(bool)</signal> |
1214 | <receiver>gpsdHost</receiver> | 1225 | <receiver>gpsdHost</receiver> |
1215 | <slot>setEnabled(bool)</slot> | 1226 | <slot>setEnabled(bool)</slot> |
1216 | </connection> | 1227 | </connection> |
1217 | <connection> | 1228 | <connection> |
1218 | <sender>enableGPS</sender> | 1229 | <sender>enableGPS</sender> |
1219 | <signal>toggled(bool)</signal> | 1230 | <signal>toggled(bool)</signal> |
1220 | <receiver>gpsdPort</receiver> | 1231 | <receiver>gpsdPort</receiver> |
1221 | <slot>setEnabled(bool)</slot> | 1232 | <slot>setEnabled(bool)</slot> |
1222 | </connection> | 1233 | </connection> |
1223 | <connection> | 1234 | <connection> |
1224 | <sender>startGPS</sender> | 1235 | <sender>startGPS</sender> |
1225 | <signal>toggled(bool)</signal> | 1236 | <signal>toggled(bool)</signal> |
1226 | <receiver>commandGPS</receiver> | 1237 | <receiver>commandGPS</receiver> |
1227 | <slot>setEnabled(bool)</slot> | 1238 | <slot>setEnabled(bool)</slot> |
1228 | </connection> | 1239 | </connection> |
1229 | </connections> | 1240 | </connections> |
1230 | </UI> | 1241 | </UI> |
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index a331925..d255c6a 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp | |||
@@ -1,210 +1,241 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. | 2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Opie Environment. | 4 | ** This file is part of Opie Environment. |
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 | /* LOCAL */ | 16 | /* LOCAL */ |
17 | #include "configwindow.h" | 17 | #include "configwindow.h" |
18 | #include "mainwindow.h" | 18 | #include "mainwindow.h" |
19 | 19 | ||
20 | /* QT */ | 20 | /* QT */ |
21 | #include <qapplication.h> | 21 | #include <qapplication.h> |
22 | #include <qcheckbox.h> | 22 | #include <qcheckbox.h> |
23 | #include <qcombobox.h> | 23 | #include <qcombobox.h> |
24 | #include <qfile.h> | 24 | #include <qfile.h> |
25 | #include <qlineedit.h> | 25 | #include <qlineedit.h> |
26 | #include <qlayout.h> | 26 | #include <qlayout.h> |
27 | #include <qmap.h> | 27 | #include <qmap.h> |
28 | #include <qpushbutton.h> | 28 | #include <qpushbutton.h> |
29 | #include <qtoolbutton.h> | 29 | #include <qtoolbutton.h> |
30 | #include <qspinbox.h> | 30 | #include <qspinbox.h> |
31 | #include <qtextstream.h> | 31 | #include <qtextstream.h> |
32 | 32 | ||
33 | /* OPIE */ | 33 | /* OPIE */ |
34 | #include <opie2/onetwork.h> | 34 | #include <opie2/onetwork.h> |
35 | 35 | ||
36 | WellenreiterConfigWindow* WellenreiterConfigWindow::_instance = 0; | 36 | WellenreiterConfigWindow* WellenreiterConfigWindow::_instance = 0; |
37 | 37 | ||
38 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) | 38 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) |
39 | :WellenreiterConfigBase( parent, name, true, f ) | 39 | :WellenreiterConfigBase( parent, name, true, f ) |
40 | { | 40 | { |
41 | _devicetype[ "cisco" ] = DEVTYPE_CISCO; | 41 | _devicetype[ "cisco" ] = DEVTYPE_CISCO; |
42 | _devicetype[ "wlan-ng" ] = DEVTYPE_WLAN_NG; | 42 | _devicetype[ "wlan-ng" ] = DEVTYPE_WLAN_NG; |
43 | _devicetype[ "hostap" ] = DEVTYPE_HOSTAP; | 43 | _devicetype[ "hostap" ] = DEVTYPE_HOSTAP; |
44 | _devicetype[ "orinoco" ] = DEVTYPE_ORINOCO; | 44 | _devicetype[ "orinoco" ] = DEVTYPE_ORINOCO; |
45 | _devicetype[ "<manual>" ] = DEVTYPE_MANUAL; | 45 | _devicetype[ "<manual>" ] = DEVTYPE_MANUAL; |
46 | _devicetype[ "<file>" ] = DEVTYPE_FILE; | 46 | _devicetype[ "<file>" ] = DEVTYPE_FILE; |
47 | 47 | ||
48 | // gather possible interface names from ONetwork | 48 | // gather possible interface names from ONetwork |
49 | ONetwork* net = ONetwork::instance(); | 49 | ONetwork* net = ONetwork::instance(); |
50 | ONetwork::InterfaceIterator it = net->iterator(); | 50 | ONetwork::InterfaceIterator it = net->iterator(); |
51 | while ( it.current() ) | 51 | while ( it.current() ) |
52 | { | 52 | { |
53 | if ( it.current()->isWireless() ) | 53 | if ( it.current()->isWireless() ) |
54 | interfaceName->insertItem( it.current()->name() ); | 54 | interfaceName->insertItem( it.current()->name() ); |
55 | ++it; | 55 | ++it; |
56 | } | 56 | } |
57 | 57 | ||
58 | // try to guess device type | 58 | if ( !load() ) // no configuration present |
59 | QFile m( "/proc/modules" ); | ||
60 | if ( m.open( IO_ReadOnly ) ) | ||
61 | { | 59 | { |
62 | int devicetype(0); | 60 | // try to guess device type |
63 | QString line; | 61 | QFile m( "/proc/modules" ); |
64 | QTextStream modules( &m ); | 62 | if ( m.open( IO_ReadOnly ) ) |
65 | while( !modules.atEnd() && !devicetype ) | ||
66 | { | 63 | { |
67 | modules >> line; | 64 | int devicetype(0); |
68 | if ( line.contains( "cisco" ) ) devicetype = DEVTYPE_CISCO; | 65 | QString line; |
69 | else if ( line.contains( "hostap" ) ) devicetype = DEVTYPE_HOSTAP; | 66 | QTextStream modules( &m ); |
70 | else if ( line.contains( "prism" ) ) devicetype = DEVTYPE_WLAN_NG; | 67 | while( !modules.atEnd() && !devicetype ) |
71 | else if ( line.contains( "orinoco" ) ) devicetype = DEVTYPE_ORINOCO; | 68 | { |
72 | } | 69 | modules >> line; |
73 | if ( devicetype ) | 70 | if ( line.contains( "cisco" ) ) devicetype = DEVTYPE_CISCO; |
74 | { | 71 | else if ( line.contains( "hostap" ) ) devicetype = DEVTYPE_HOSTAP; |
75 | deviceType->setCurrentItem( devicetype ); | 72 | else if ( line.contains( "prism" ) ) devicetype = DEVTYPE_WLAN_NG; |
76 | _guess = devicetype; | 73 | else if ( line.contains( "orinoco" ) ) devicetype = DEVTYPE_ORINOCO; |
77 | qDebug( "Wellenreiter: guessed device type to be #%d", devicetype ); | 74 | } |
75 | if ( devicetype ) | ||
76 | { | ||
77 | deviceType->setCurrentItem( devicetype ); | ||
78 | _guess = devicetype; | ||
79 | qDebug( "Wellenreiter: guessed device type to be #%d", devicetype ); | ||
80 | } | ||
78 | } | 81 | } |
79 | } | 82 | } |
80 | 83 | ||
81 | #ifdef Q_WS_X11 // We're on X11: adding an Ok-Button for the Dialog here | 84 | #ifdef Q_WS_X11 // We're on X11: adding an Ok-Button for the Dialog here |
82 | QPushButton* okButton = new QPushButton( "ok", this ); | 85 | QPushButton* okButton = new QPushButton( "ok", this ); |
83 | okButton->show(); | 86 | okButton->show(); |
84 | WellenreiterConfigBaseLayout->addWidget( okButton, 0, 3 ); //FIXME: rename this in configbase.ui | 87 | WellenreiterConfigBaseLayout->addWidget( okButton, 0, 3 ); //FIXME: rename this in configbase.ui |
85 | connect( okButton, SIGNAL( clicked() ), this, SLOT( accept() ) ); | 88 | connect( okButton, SIGNAL( clicked() ), this, SLOT( accept() ) ); |
86 | #endif | 89 | #endif |
87 | 90 | ||
88 | WellenreiterConfigWindow::_instance = this; | 91 | WellenreiterConfigWindow::_instance = this; |
89 | 92 | ||
90 | connect( deviceType, SIGNAL( activated(int) ), this, SLOT( changedDeviceType(int) ) ); | 93 | connect( deviceType, SIGNAL( activated(int) ), this, SLOT( changedDeviceType(int) ) ); |
91 | connect( getCaptureFileName, SIGNAL( clicked() ), this, SLOT( getCaptureFileNameClicked() ) ); | 94 | connect( getCaptureFileName, SIGNAL( clicked() ), this, SLOT( getCaptureFileNameClicked() ) ); |
92 | 95 | ||
93 | // make the checkbox 'channelAll' control all other channels | 96 | // make the checkbox 'channelAll' control all other channels |
94 | connect( channelAll, SIGNAL( stateChanged(int) ), this, SLOT( channelAllClicked(int) ) ); | 97 | connect( channelAll, SIGNAL( stateChanged(int) ), this, SLOT( channelAllClicked(int) ) ); |
95 | }; | 98 | }; |
96 | 99 | ||
97 | 100 | ||
101 | WellenreiterConfigWindow::~WellenreiterConfigWindow() | ||
102 | { | ||
103 | save(); | ||
104 | } | ||
105 | |||
106 | |||
98 | int WellenreiterConfigWindow::driverType() const | 107 | int WellenreiterConfigWindow::driverType() const |
99 | { | 108 | { |
100 | QString name = deviceType->currentText(); | 109 | QString name = deviceType->currentText(); |
101 | if ( _devicetype.contains( name ) ) | 110 | if ( _devicetype.contains( name ) ) |
102 | { | 111 | { |
103 | return _devicetype[name]; | 112 | return _devicetype[name]; |
104 | } | 113 | } |
105 | else | 114 | else |
106 | { | 115 | { |
107 | return 0; | 116 | return 0; |
108 | } | 117 | } |
109 | }; | 118 | }; |
110 | 119 | ||
111 | 120 | ||
112 | int WellenreiterConfigWindow::hoppingInterval() const | 121 | int WellenreiterConfigWindow::hoppingInterval() const |
113 | { | 122 | { |
114 | return hopInterval->cleanText().toInt(); | 123 | return hopInterval->cleanText().toInt(); |
115 | } | 124 | } |
116 | 125 | ||
117 | 126 | ||
118 | bool WellenreiterConfigWindow::usePrismHeader() const | 127 | bool WellenreiterConfigWindow::usePrismHeader() const |
119 | { | 128 | { |
120 | return prismHeader->isOn(); | 129 | return prismHeader->isOn(); |
121 | } | 130 | } |
122 | 131 | ||
123 | 132 | ||
124 | bool WellenreiterConfigWindow::isChannelChecked( int channel ) const | 133 | bool WellenreiterConfigWindow::isChannelChecked( int channel ) const |
125 | { | 134 | { |
126 | switch ( channel ) | 135 | switch ( channel ) |
127 | { | 136 | { |
128 | case 1: return channel1->isOn(); | 137 | case 1: return channel1->isOn(); |
129 | case 2: return channel2->isOn(); | 138 | case 2: return channel2->isOn(); |
130 | case 3: return channel3->isOn(); | 139 | case 3: return channel3->isOn(); |
131 | case 4: return channel4->isOn(); | 140 | case 4: return channel4->isOn(); |
132 | case 5: return channel5->isOn(); | 141 | case 5: return channel5->isOn(); |
133 | case 6: return channel6->isOn(); | 142 | case 6: return channel6->isOn(); |
134 | case 7: return channel7->isOn(); | 143 | case 7: return channel7->isOn(); |
135 | case 8: return channel8->isOn(); | 144 | case 8: return channel8->isOn(); |
136 | case 9: return channel9->isOn(); | 145 | case 9: return channel9->isOn(); |
137 | case 10: return channel10->isOn(); | 146 | case 10: return channel10->isOn(); |
138 | case 11: return channel11->isOn(); | 147 | case 11: return channel11->isOn(); |
139 | case 12: return channel12->isOn(); | 148 | case 12: return channel12->isOn(); |
140 | case 13: return channel13->isOn(); | 149 | case 13: return channel13->isOn(); |
141 | case 14: return channel14->isOn(); | 150 | case 14: return channel14->isOn(); |
142 | } | 151 | } |
143 | } | 152 | } |
144 | 153 | ||
145 | 154 | ||
146 | void WellenreiterConfigWindow::changedDeviceType(int t) | 155 | void WellenreiterConfigWindow::changedDeviceType(int t) |
147 | { | 156 | { |
148 | if ( t != DEVTYPE_FILE ) return; | 157 | if ( t != DEVTYPE_FILE ) return; |
149 | QString name = ( (WellenreiterMainWindow*) qApp->mainWidget() )->getFileName(false); | 158 | QString name = ( (WellenreiterMainWindow*) qApp->mainWidget() )->getFileName(false); |
150 | if ( !name.isEmpty() && QFile::exists( name ) ) | 159 | if ( !name.isEmpty() && QFile::exists( name ) ) |
151 | { | 160 | { |
152 | interfaceName->insertItem( name ); | 161 | interfaceName->insertItem( name ); |
153 | interfaceName->setCurrentItem( interfaceName->count()-1 ); | 162 | interfaceName->setCurrentItem( interfaceName->count()-1 ); |
154 | } | 163 | } |
155 | else | 164 | else |
156 | { | 165 | { |
157 | deviceType->setCurrentItem( _guess ); | 166 | deviceType->setCurrentItem( _guess ); |
158 | } | 167 | } |
159 | 168 | ||
160 | } | 169 | } |
161 | 170 | ||
162 | 171 | ||
163 | void WellenreiterConfigWindow::getCaptureFileNameClicked() | 172 | void WellenreiterConfigWindow::getCaptureFileNameClicked() |
164 | { | 173 | { |
165 | QString name = ( (WellenreiterMainWindow*) qApp->mainWidget() )->getFileName(true); | 174 | QString name = ( (WellenreiterMainWindow*) qApp->mainWidget() )->getFileName(true); |
166 | qDebug( "name = %s", (const char*) name ); | 175 | qDebug( "name = %s", (const char*) name ); |
167 | if ( !name.isEmpty() ) | 176 | if ( !name.isEmpty() ) |
168 | { | 177 | { |
169 | captureFileName->setText( name ); | 178 | captureFileName->setText( name ); |
170 | } | 179 | } |
171 | } | 180 | } |
172 | 181 | ||
173 | 182 | ||
174 | void WellenreiterConfigWindow::channelAllClicked(int state) | 183 | void WellenreiterConfigWindow::channelAllClicked(int state) |
175 | { | 184 | { |
176 | bool b = state; | 185 | bool b = state; |
177 | channel1->setChecked( b ); | 186 | channel1->setChecked( b ); |
178 | channel2->setChecked( b ); | 187 | channel2->setChecked( b ); |
179 | channel3->setChecked( b ); | 188 | channel3->setChecked( b ); |
180 | channel4->setChecked( b ); | 189 | channel4->setChecked( b ); |
181 | channel5->setChecked( b ); | 190 | channel5->setChecked( b ); |
182 | channel6->setChecked( b ); | 191 | channel6->setChecked( b ); |
183 | channel7->setChecked( b ); | 192 | channel7->setChecked( b ); |
184 | channel8->setChecked( b ); | 193 | channel8->setChecked( b ); |
185 | channel9->setChecked( b ); | 194 | channel9->setChecked( b ); |
186 | channel10->setChecked( b ); | 195 | channel10->setChecked( b ); |
187 | channel11->setChecked( b ); | 196 | channel11->setChecked( b ); |
188 | channel12->setChecked( b ); | 197 | channel12->setChecked( b ); |
189 | channel13->setChecked( b ); | 198 | channel13->setChecked( b ); |
190 | channel14->setChecked( b ); | 199 | channel14->setChecked( b ); |
191 | } | 200 | } |
192 | 201 | ||
193 | 202 | ||
194 | bool WellenreiterConfigWindow::useGPS() const | 203 | bool WellenreiterConfigWindow::useGPS() const |
195 | { | 204 | { |
196 | return enableGPS->isChecked(); | 205 | return enableGPS->isChecked(); |
197 | } | 206 | } |
198 | 207 | ||
199 | 208 | ||
200 | const QString WellenreiterConfigWindow::gpsHost() const | 209 | const QString WellenreiterConfigWindow::gpsHost() const |
201 | { | 210 | { |
202 | return useGPS() ? gpsdHost->currentText() : QString::null; | 211 | return useGPS() ? gpsdHost->currentText() : QString::null; |
203 | } | 212 | } |
204 | 213 | ||
205 | 214 | ||
206 | int WellenreiterConfigWindow::gpsPort() const | 215 | int WellenreiterConfigWindow::gpsPort() const |
207 | { | 216 | { |
208 | bool ok; | 217 | bool ok; |
209 | return useGPS() ? gpsdPort->value() : -1; | 218 | return useGPS() ? gpsdPort->value() : -1; |
210 | } | 219 | } |
220 | |||
221 | |||
222 | bool WellenreiterConfigWindow::load() | ||
223 | { | ||
224 | #ifdef Q_WS_X11 | ||
225 | #warning Persistent Configuration not yet implemented for standalone X11 build | ||
226 | return false; | ||
227 | #else | ||
228 | qDebug( "loading configuration settings..." ); | ||
229 | return true; | ||
230 | #endif | ||
231 | } | ||
232 | |||
233 | |||
234 | void WellenreiterConfigWindow::save() | ||
235 | { | ||
236 | #ifdef Q_WS_X11 | ||
237 | #warning Persistent Configuration not yet implemented for standalone X11 build | ||
238 | #else | ||
239 | qDebug( "saving configuration settings..." ); | ||
240 | #endif | ||
241 | } | ||
diff --git a/noncore/net/wellenreiter/gui/configwindow.h b/noncore/net/wellenreiter/gui/configwindow.h index 8f160b1..2986320 100644 --- a/noncore/net/wellenreiter/gui/configwindow.h +++ b/noncore/net/wellenreiter/gui/configwindow.h | |||
@@ -1,66 +1,71 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. | 2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Opie Environment. | 4 | ** This file is part of Opie Environment. |
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 | #ifndef WELLENREITERCONFIGWINDOW_H | 16 | #ifndef WELLENREITERCONFIGWINDOW_H |
17 | #define WELLENREITERCONFIGWINDOW_H | 17 | #define WELLENREITERCONFIGWINDOW_H |
18 | 18 | ||
19 | #include "configbase.h" | 19 | #include "configbase.h" |
20 | #include <qmap.h> | 20 | #include <qmap.h> |
21 | #include <qcombobox.h> | 21 | #include <qcombobox.h> |
22 | #include <qstring.h> | 22 | #include <qstring.h> |
23 | 23 | ||
24 | const int DEVTYPE_SELECT = 0; | 24 | const int DEVTYPE_SELECT = 0; |
25 | const int DEVTYPE_CISCO = 1; | 25 | const int DEVTYPE_CISCO = 1; |
26 | const int DEVTYPE_WLAN_NG = 2; | 26 | const int DEVTYPE_WLAN_NG = 2; |
27 | const int DEVTYPE_HOSTAP = 3; | 27 | const int DEVTYPE_HOSTAP = 3; |
28 | const int DEVTYPE_ORINOCO = 4; | 28 | const int DEVTYPE_ORINOCO = 4; |
29 | const int DEVTYPE_MANUAL = 5; | 29 | const int DEVTYPE_MANUAL = 5; |
30 | const int DEVTYPE_FILE = 6; | 30 | const int DEVTYPE_FILE = 6; |
31 | 31 | ||
32 | class WellenreiterConfigWindow; | 32 | class WellenreiterConfigWindow; |
33 | 33 | ||
34 | class WellenreiterConfigWindow : public WellenreiterConfigBase | 34 | class WellenreiterConfigWindow : public WellenreiterConfigBase |
35 | { | 35 | { |
36 | Q_OBJECT | 36 | Q_OBJECT |
37 | 37 | ||
38 | public: | 38 | public: |
39 | WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 ); | 39 | WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 ); |
40 | ~WellenreiterConfigWindow(); | ||
41 | |||
40 | int driverType() const; | 42 | int driverType() const; |
41 | const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ }; | 43 | const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ }; |
42 | const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ }; | 44 | const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ }; |
43 | static WellenreiterConfigWindow* instance() { return _instance; }; | 45 | static WellenreiterConfigWindow* instance() { return _instance; }; |
44 | 46 | ||
45 | int hoppingInterval() const; | 47 | int hoppingInterval() const; |
46 | bool usePrismHeader() const; | 48 | bool usePrismHeader() const; |
47 | bool isChannelChecked( int ) const; | 49 | bool isChannelChecked( int ) const; |
48 | 50 | ||
49 | bool useGPS() const; | 51 | bool useGPS() const; |
50 | const QString gpsHost() const; | 52 | const QString gpsHost() const; |
51 | int gpsPort() const; | 53 | int gpsPort() const; |
52 | 54 | ||
55 | void save(); | ||
56 | bool load(); | ||
57 | |||
53 | public slots: | 58 | public slots: |
54 | void changedDeviceType(int); | 59 | void changedDeviceType(int); |
55 | void getCaptureFileNameClicked(); | 60 | void getCaptureFileNameClicked(); |
56 | 61 | ||
57 | void channelAllClicked(int); | 62 | void channelAllClicked(int); |
58 | 63 | ||
59 | protected: | 64 | protected: |
60 | QMap<QString, int> _devicetype; | 65 | QMap<QString, int> _devicetype; |
61 | static WellenreiterConfigWindow* _instance; | 66 | static WellenreiterConfigWindow* _instance; |
62 | int _guess; | 67 | int _guess; |
63 | 68 | ||
64 | }; | 69 | }; |
65 | 70 | ||
66 | #endif | 71 | #endif |