Rev 627 | Rev 633 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
584 | FredericG | 1 | <?xml version="1.0"?> |
628 | FredericG | 2 | <!-- generated by wxGlade 0.6.3 on Wed Oct 07 10:19:52 2009 --> |
584 | FredericG | 3 | |
612 | FredericG | 4 | <application path="C:\DATA\MK\SVN\Projects\VibrationTest\trunk\VibrationTest\VibrationTestGui.py" name="VibrationTestGui" class="App" option="0" language="python" top_window="frame_1" encoding="ISO-8859-15" use_gettext="0" overwrite="0" use_new_namespace="1" for_version="2.6" is_template="0"> |
584 | FredericG | 5 | <object class="MainFrame" name="frame_1" base="EditFrame"> |
6 | <style>wxDEFAULT_FRAME_STYLE</style> |
||
587 | FredericG | 7 | <title>VibrationTest</title> |
8 | <menubar>1</menubar> |
||
600 | FredericG | 9 | <size>850, 700</size> |
587 | FredericG | 10 | <object class="wxMenuBar" name="frame_1_menubar" base="EditMenuBar"> |
11 | <menus> |
||
12 | <menu name="" label="File"> |
||
13 | <item> |
||
607 | FredericG | 14 | <label>Settings</label> |
15 | <id>101</id> |
||
16 | <handler>OnSettings</handler> |
||
17 | </item> |
||
18 | <item> |
||
616 | FredericG | 19 | <label>---</label> |
20 | <id>---</id> |
||
21 | <name>---</name> |
||
22 | </item> |
||
23 | <item> |
||
587 | FredericG | 24 | <label>Exit</label> |
607 | FredericG | 25 | <id>150</id> |
626 | FredericG | 26 | <handler>onExit</handler> |
587 | FredericG | 27 | </item> |
28 | </menu> |
||
607 | FredericG | 29 | <menu name="" itemid="300" label="TestSet"> |
587 | FredericG | 30 | <item> |
616 | FredericG | 31 | <label>Clear All</label> |
607 | FredericG | 32 | <id>301</id> |
601 | FredericG | 33 | <handler>onClear</handler> |
587 | FredericG | 34 | </item> |
35 | <item> |
||
616 | FredericG | 36 | <label>Clear Selected</label> |
607 | FredericG | 37 | <id>302</id> |
616 | FredericG | 38 | <handler>onClearSelected</handler> |
39 | </item> |
||
40 | <item> |
||
41 | <label>---</label> |
||
42 | <id>---</id> |
||
43 | <name>---</name> |
||
44 | </item> |
||
45 | <item> |
||
627 | FredericG | 46 | <label>Select All</label> |
47 | <id>310</id> |
||
48 | <handler>onSelectAll</handler> |
||
49 | </item> |
||
50 | <item> |
||
51 | <label>---</label> |
||
52 | <id>---</id> |
||
53 | <name>---</name> |
||
54 | </item> |
||
55 | <item> |
||
616 | FredericG | 56 | <label>Load</label> |
57 | <id>303</id> |
||
587 | FredericG | 58 | <handler>OnImport</handler> |
59 | </item> |
||
616 | FredericG | 60 | <item> |
61 | <label>Save</label> |
||
62 | <id>304</id> |
||
63 | <handler>onExport</handler> |
||
64 | </item> |
||
587 | FredericG | 65 | </menu> |
626 | FredericG | 66 | <menu name="" itemid="400" label="MK"> |
67 | <item> |
||
68 | <label>Flash VibTest FC software</label> |
||
69 | <id>401</id> |
||
70 | </item> |
||
71 | <item> |
||
72 | <label>Restore original FC software</label> |
||
73 | <id>402</id> |
||
74 | </item> |
||
587 | FredericG | 75 | </menu> |
626 | FredericG | 76 | <menu name="" itemid="1000" label="Help"> |
77 | <item> |
||
78 | <label>About</label> |
||
79 | <id>1099</id> |
||
80 | <handler>onAbout</handler> |
||
81 | </item> |
||
587 | FredericG | 82 | </menu> |
83 | </menus> |
||
84 | </object> |
||
600 | FredericG | 85 | <object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer"> |
86 | <orient>wxHORIZONTAL</orient> |
||
584 | FredericG | 87 | <object class="sizeritem"> |
591 | FredericG | 88 | <border>0</border> |
89 | <option>0</option> |
||
90 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
91 | <height>20</height> |
||
92 | <width>20</width> |
||
93 | </object> |
||
94 | </object> |
||
95 | <object class="sizeritem"> |
||
600 | FredericG | 96 | <flag>wxEXPAND</flag> |
97 | <border>0</border> |
||
98 | <option>1</option> |
||
99 | <object class="wxBoxSizer" name="sizer_8" base="EditBoxSizer"> |
||
100 | <orient>wxVERTICAL</orient> |
||
584 | FredericG | 101 | <object class="sizeritem"> |
102 | <border>0</border> |
||
103 | <option>0</option> |
||
600 | FredericG | 104 | <object class="spacer" name="spacer" base="EditSpacer"> |
105 | <height>20</height> |
||
106 | <width>20</width> |
||
584 | FredericG | 107 | </object> |
108 | </object> |
||
109 | <object class="sizeritem"> |
||
110 | <border>0</border> |
||
111 | <option>0</option> |
||
600 | FredericG | 112 | <object class="wxBoxSizer" name="sizer_9" base="EditBoxSizer"> |
113 | <orient>wxHORIZONTAL</orient> |
||
114 | <object class="sizeritem"> |
||
115 | <border>0</border> |
||
116 | <option>0</option> |
||
117 | <object class="wxGridSizer" name="grid_sizer_1" base="EditGridSizer"> |
||
118 | <hgap>5</hgap> |
||
119 | <rows>3</rows> |
||
120 | <cols>4</cols> |
||
121 | <vgap>4</vgap> |
||
122 | <object class="sizeritem"> |
||
123 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
124 | <border>0</border> |
||
125 | <option>0</option> |
||
126 | <object class="wxStaticText" name="Description" base="EditStaticText"> |
||
127 | <attribute>1</attribute> |
||
128 | <label>Description</label> |
||
129 | <size>53, 13</size> |
||
130 | </object> |
||
131 | </object> |
||
132 | <object class="sizeritem"> |
||
133 | <border>0</border> |
||
134 | <option>0</option> |
||
616 | FredericG | 135 | <object class="wxTextCtrl" name="tcDescr" base="EditTextCtrl"> |
600 | FredericG | 136 | <value>Test</value> |
137 | </object> |
||
138 | </object> |
||
139 | <object class="sizeritem"> |
||
140 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
141 | <border>0</border> |
||
142 | <option>0</option> |
||
143 | <object class="wxStaticText" name="label_37" base="EditStaticText"> |
||
144 | <attribute>1</attribute> |
||
145 | <label>Speed(s)</label> |
||
146 | </object> |
||
147 | </object> |
||
148 | <object class="sizeritem"> |
||
149 | <border>0</border> |
||
150 | <option>0</option> |
||
616 | FredericG | 151 | <object class="wxTextCtrl" name="tcSpeeds" base="EditTextCtrl"> |
600 | FredericG | 152 | <value>100-200:10</value> |
153 | </object> |
||
154 | </object> |
||
155 | <object class="sizeritem"> |
||
156 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
157 | <border>0</border> |
||
158 | <option>0</option> |
||
159 | <object class="wxStaticText" name="label_35" base="EditStaticText"> |
||
160 | <attribute>1</attribute> |
||
161 | <label>Motor(s)</label> |
||
162 | </object> |
||
163 | </object> |
||
164 | <object class="sizeritem"> |
||
165 | <border>0</border> |
||
166 | <option>0</option> |
||
616 | FredericG | 167 | <object class="wxTextCtrl" name="tcMotors" base="EditTextCtrl"> |
600 | FredericG | 168 | <value>1</value> |
169 | </object> |
||
170 | </object> |
||
171 | <object class="sizeritem"> |
||
172 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
173 | <border>0</border> |
||
174 | <option>0</option> |
||
175 | <object class="wxStaticText" name="label_38" base="EditStaticText"> |
||
176 | <attribute>1</attribute> |
||
177 | </object> |
||
178 | </object> |
||
179 | <object class="sizeritem"> |
||
626 | FredericG | 180 | <flag>wxEXPAND</flag> |
600 | FredericG | 181 | <border>0</border> |
626 | FredericG | 182 | <option>1</option> |
183 | <object class="wxPanel" name="panel_2" base="EditPanel"> |
||
184 | <style>wxTAB_TRAVERSAL</style> |
||
600 | FredericG | 185 | </object> |
186 | </object> |
||
187 | <object class="sizeritem"> |
||
188 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
189 | <border>0</border> |
||
190 | <option>0</option> |
||
191 | <object class="wxStaticText" name="label_36" base="EditStaticText"> |
||
192 | <attribute>1</attribute> |
||
616 | FredericG | 193 | <label>Channel(s)</label> |
600 | FredericG | 194 | </object> |
195 | </object> |
||
196 | <object class="sizeritem"> |
||
197 | <border>0</border> |
||
198 | <option>0</option> |
||
616 | FredericG | 199 | <object class="wxTextCtrl" name="tcChannels" base="EditTextCtrl"> |
600 | FredericG | 200 | <value>6</value> |
201 | </object> |
||
202 | </object> |
||
203 | <object class="sizeritem"> |
||
204 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
205 | <border>0</border> |
||
206 | <option>0</option> |
||
207 | <object class="wxStaticText" name="label_39" base="EditStaticText"> |
||
208 | <attribute>1</attribute> |
||
209 | </object> |
||
210 | </object> |
||
211 | <object class="sizeritem"> |
||
626 | FredericG | 212 | <flag>wxEXPAND</flag> |
600 | FredericG | 213 | <border>0</border> |
626 | FredericG | 214 | <option>1</option> |
215 | <object class="wxPanel" name="panel_3" base="EditPanel"> |
||
216 | <style>wxTAB_TRAVERSAL</style> |
||
600 | FredericG | 217 | </object> |
218 | </object> |
||
219 | </object> |
||
220 | </object> |
||
221 | <object class="sizeritem"> |
||
222 | <flag>wxEXPAND</flag> |
||
223 | <border>0</border> |
||
224 | <option>1</option> |
||
225 | <object class="wxBoxSizer" name="sizer_10" base="EditBoxSizer"> |
||
226 | <orient>wxHORIZONTAL</orient> |
||
227 | <object class="sizeritem"> |
||
228 | <border>0</border> |
||
229 | <option>0</option> |
||
230 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
231 | <height>20</height> |
||
232 | <width>50</width> |
||
233 | </object> |
||
234 | </object> |
||
235 | <object class="sizeritem"> |
||
236 | <flag>wxALIGN_CENTER_VERTICAL</flag> |
||
237 | <border>0</border> |
||
238 | <option>0</option> |
||
239 | <object class="wxButton" name="button_4" base="EditButton"> |
||
626 | FredericG | 240 | <label>Measure</label> |
612 | FredericG | 241 | <events> |
242 | <handler event="EVT_BUTTON">onStartMeasure</handler> |
||
243 | </events> |
||
601 | FredericG | 244 | <size>80, 80</size> |
600 | FredericG | 245 | </object> |
246 | </object> |
||
247 | </object> |
||
248 | </object> |
||
584 | FredericG | 249 | </object> |
250 | </object> |
||
251 | <object class="sizeritem"> |
||
252 | <border>0</border> |
||
253 | <option>0</option> |
||
600 | FredericG | 254 | <object class="spacer" name="spacer" base="EditSpacer"> |
255 | <height>30</height> |
||
256 | <width>20</width> |
||
584 | FredericG | 257 | </object> |
258 | </object> |
||
259 | <object class="sizeritem"> |
||
260 | <border>0</border> |
||
261 | <option>0</option> |
||
600 | FredericG | 262 | <object class="wxBoxSizer" name="sizer_11" base="EditBoxSizer"> |
263 | <orient>wxVERTICAL</orient> |
||
264 | <object class="sizeritem"> |
||
265 | <flag>wxEXPAND</flag> |
||
266 | <border>0</border> |
||
267 | <option>1</option> |
||
626 | FredericG | 268 | <object class="wx.lib.plot.PlotCanvas" name="graphCtrl" base="CustomWidget"> |
269 | <arguments> |
||
270 | <argument>$parent</argument> |
||
271 | <argument>size=(800,300)</argument> |
||
272 | </arguments> |
||
600 | FredericG | 273 | <size>800,300</size> |
274 | </object> |
||
275 | </object> |
||
276 | <object class="sizeritem"> |
||
277 | <border>0</border> |
||
278 | <option>0</option> |
||
279 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
280 | <height>5</height> |
||
281 | <width>20</width> |
||
282 | </object> |
||
283 | </object> |
||
284 | <object class="sizeritem"> |
||
285 | <border>0</border> |
||
286 | <option>0</option> |
||
287 | <object class="wxBoxSizer" name="sizer_12" base="EditBoxSizer"> |
||
288 | <orient>wxHORIZONTAL</orient> |
||
289 | <object class="sizeritem"> |
||
290 | <flag>wxALIGN_CENTER_VERTICAL</flag> |
||
291 | <border>0</border> |
||
292 | <option>0</option> |
||
293 | <object class="wxStaticText" name="label_40" base="EditStaticText"> |
||
294 | <attribute>1</attribute> |
||
295 | <label>Graph Type </label> |
||
296 | </object> |
||
297 | </object> |
||
298 | <object class="sizeritem"> |
||
299 | <border>0</border> |
||
300 | <option>0</option> |
||
301 | <object class="wxChoice" name="graphTypeChoice" base="EditChoice"> |
||
302 | <selection>0</selection> |
||
303 | <choices> |
||
304 | <choice>Raw Signal</choice> |
||
305 | <choice>Filtered Signal</choice> |
||
306 | <choice>Spectrum</choice> |
||
307 | </choices> |
||
308 | <events> |
||
309 | <handler event="EVT_CHOICE">onGraphTypeChange</handler> |
||
310 | </events> |
||
311 | </object> |
||
312 | </object> |
||
313 | <object class="sizeritem"> |
||
314 | <border>0</border> |
||
315 | <option>0</option> |
||
316 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
317 | <height>20</height> |
||
318 | <width>40</width> |
||
319 | </object> |
||
320 | </object> |
||
321 | <object class="sizeritem"> |
||
322 | <flag>wxALIGN_CENTER_VERTICAL</flag> |
||
323 | <border>0</border> |
||
324 | <option>0</option> |
||
325 | <object class="wxStaticText" name="label_41" base="EditStaticText"> |
||
326 | <attribute>1</attribute> |
||
327 | <label>Y Axis Range </label> |
||
328 | </object> |
||
329 | </object> |
||
330 | <object class="sizeritem"> |
||
331 | <border>0</border> |
||
332 | <option>0</option> |
||
333 | <object class="wxChoice" name="yAxisChoice" base="EditChoice"> |
||
334 | <selection>1</selection> |
||
335 | <choices> |
||
336 | <choice>25</choice> |
||
337 | <choice>50</choice> |
||
338 | <choice>100</choice> |
||
339 | <choice>200</choice> |
||
340 | </choices> |
||
341 | <events> |
||
342 | <handler event="EVT_CHOICE">onYAxisChange</handler> |
||
343 | </events> |
||
344 | </object> |
||
345 | </object> |
||
627 | FredericG | 346 | <object class="sizeritem"> |
347 | <border>0</border> |
||
348 | <option>0</option> |
||
349 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
350 | <height>20</height> |
||
351 | <width>80</width> |
||
352 | </object> |
||
353 | </object> |
||
354 | <object class="sizeritem"> |
||
355 | <border>0</border> |
||
356 | <option>0</option> |
||
357 | <object class="wxButton" name="copyGraphButton" base="EditButton"> |
||
358 | <label>Copy Graph Data</label> |
||
359 | <events> |
||
360 | <handler event="EVT_BUTTON">onCopyGraphData</handler> |
||
361 | </events> |
||
362 | </object> |
||
363 | </object> |
||
600 | FredericG | 364 | </object> |
365 | </object> |
||
584 | FredericG | 366 | </object> |
367 | </object> |
||
368 | <object class="sizeritem"> |
||
369 | <border>0</border> |
||
370 | <option>0</option> |
||
600 | FredericG | 371 | <object class="spacer" name="spacer" base="EditSpacer"> |
372 | <height>30</height> |
||
373 | <width>20</width> |
||
584 | FredericG | 374 | </object> |
375 | </object> |
||
376 | <object class="sizeritem"> |
||
377 | <border>0</border> |
||
600 | FredericG | 378 | <option>1</option> |
379 | <object class="wxListCtrl" name="TestListCtrl" base="EditListCtrl"> |
||
380 | <style>wxLC_REPORT|wxSUNKEN_BORDER</style> |
||
381 | <size>800,300</size> |
||
584 | FredericG | 382 | </object> |
383 | </object> |
||
384 | <object class="sizeritem"> |
||
385 | <border>0</border> |
||
386 | <option>0</option> |
||
600 | FredericG | 387 | <object class="spacer" name="spacer" base="EditSpacer"> |
388 | <height>20</height> |
||
389 | <width>20</width> |
||
584 | FredericG | 390 | </object> |
391 | </object> |
||
392 | </object> |
||
393 | </object> |
||
394 | </object> |
||
395 | </object> |
||
607 | FredericG | 396 | <object class="SettingsDialog" name="SettingDialog" base="EditDialog"> |
397 | <style>wxDEFAULT_DIALOG_STYLE</style> |
||
601 | FredericG | 398 | <title>Settings</title> |
608 | FredericG | 399 | <object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer"> |
601 | FredericG | 400 | <orient>wxVERTICAL</orient> |
401 | <object class="sizeritem"> |
||
402 | <border>0</border> |
||
403 | <option>0</option> |
||
404 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
405 | <height>20</height> |
||
406 | <width>20</width> |
||
407 | </object> |
||
408 | </object> |
||
409 | <object class="sizeritem"> |
||
410 | <flag>wxEXPAND</flag> |
||
411 | <border>0</border> |
||
412 | <option>1</option> |
||
608 | FredericG | 413 | <object class="wxBoxSizer" name="sizer_6" base="EditBoxSizer"> |
601 | FredericG | 414 | <orient>wxHORIZONTAL</orient> |
415 | <object class="sizeritem"> |
||
416 | <border>0</border> |
||
417 | <option>0</option> |
||
418 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
419 | <height>20</height> |
||
420 | <width>20</width> |
||
421 | </object> |
||
422 | </object> |
||
423 | <object class="sizeritem"> |
||
424 | <border>0</border> |
||
425 | <option>0</option> |
||
608 | FredericG | 426 | <object class="wxGridSizer" name="grid_sizer_2" base="EditGridSizer"> |
601 | FredericG | 427 | <hgap>4</hgap> |
428 | <rows>1</rows> |
||
429 | <cols>2</cols> |
||
430 | <vgap>4</vgap> |
||
608 | FredericG | 431 | <object class="sizerslot" /> |
432 | <object class="sizerslot" /> |
||
601 | FredericG | 433 | </object> |
434 | </object> |
||
435 | <object class="sizeritem"> |
||
436 | <border>0</border> |
||
437 | <option>0</option> |
||
438 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
439 | <height>20</height> |
||
440 | <width>20</width> |
||
441 | </object> |
||
442 | </object> |
||
443 | </object> |
||
444 | </object> |
||
445 | <object class="sizeritem"> |
||
446 | <border>0</border> |
||
447 | <option>0</option> |
||
448 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
449 | <height>20</height> |
||
450 | <width>20</width> |
||
451 | </object> |
||
452 | </object> |
||
453 | <object class="sizeritem"> |
||
454 | <flag>wxEXPAND</flag> |
||
455 | <border>0</border> |
||
456 | <option>0</option> |
||
608 | FredericG | 457 | <object class="wxGridSizer" name="grid_sizer_3" base="EditGridSizer"> |
601 | FredericG | 458 | <hgap>0</hgap> |
459 | <rows>1</rows> |
||
460 | <cols>2</cols> |
||
461 | <vgap>0</vgap> |
||
462 | <object class="sizeritem"> |
||
463 | <flag>wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag> |
||
464 | <border>0</border> |
||
465 | <option>0</option> |
||
608 | FredericG | 466 | <object class="wxButton" name="button_5" base="EditButton"> |
601 | FredericG | 467 | <stockitem>CANCEL</stockitem> |
468 | <label>&Cancel</label> |
||
469 | </object> |
||
470 | </object> |
||
471 | <object class="sizeritem"> |
||
472 | <flag>wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag> |
||
473 | <border>0</border> |
||
474 | <option>0</option> |
||
608 | FredericG | 475 | <object class="wxButton" name="button_6" base="EditButton"> |
601 | FredericG | 476 | <stockitem>OK</stockitem> |
477 | <label>&OK</label> |
||
612 | FredericG | 478 | <events> |
479 | <handler event="EVT_BUTTON">onOK</handler> |
||
480 | </events> |
||
601 | FredericG | 481 | </object> |
482 | </object> |
||
483 | </object> |
||
484 | </object> |
||
485 | <object class="sizeritem"> |
||
486 | <border>0</border> |
||
487 | <option>0</option> |
||
488 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
489 | <height>20</height> |
||
490 | <width>20</width> |
||
491 | </object> |
||
492 | </object> |
||
493 | </object> |
||
494 | </object> |
||
612 | FredericG | 495 | <object class="MeasureDialog" name="MeasureDialog" base="EditDialog"> |
626 | FredericG | 496 | <style>wxCAPTION|wxRESIZE_BORDER|wxTHICK_FRAME</style> |
612 | FredericG | 497 | <title>Measuring Status</title> |
498 | <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer"> |
||
499 | <orient>wxHORIZONTAL</orient> |
||
500 | <object class="sizeritem"> |
||
501 | <border>0</border> |
||
502 | <option>0</option> |
||
503 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
504 | <height>20</height> |
||
505 | <width>20</width> |
||
506 | </object> |
||
507 | </object> |
||
508 | <object class="sizeritem"> |
||
509 | <flag>wxEXPAND</flag> |
||
510 | <border>0</border> |
||
511 | <option>1</option> |
||
512 | <object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer"> |
||
513 | <orient>wxVERTICAL</orient> |
||
514 | <object class="sizeritem"> |
||
515 | <border>0</border> |
||
516 | <option>0</option> |
||
517 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
518 | <height>20</height> |
||
519 | <width>20</width> |
||
520 | </object> |
||
521 | </object> |
||
522 | <object class="sizeritem"> |
||
523 | <flag>wxEXPAND</flag> |
||
524 | <border>0</border> |
||
525 | <option>1</option> |
||
526 | <object class="wxTextCtrl" name="text_ctrl_1" base="EditTextCtrl"> |
||
527 | <style>wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL</style> |
||
528 | <size>400,300</size> |
||
529 | </object> |
||
530 | </object> |
||
531 | <object class="sizeritem"> |
||
532 | <border>0</border> |
||
533 | <option>0</option> |
||
534 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
535 | <height>20</height> |
||
536 | <width>20</width> |
||
537 | </object> |
||
538 | </object> |
||
539 | <object class="sizeritem"> |
||
540 | <flag>wxALIGN_CENTER_HORIZONTAL</flag> |
||
541 | <border>0</border> |
||
542 | <option>0</option> |
||
543 | <object class="wxButton" name="button" base="EditButton"> |
||
544 | <label>STOP</label> |
||
545 | <events> |
||
546 | <handler event="EVT_BUTTON">onButton</handler> |
||
547 | </events> |
||
548 | </object> |
||
549 | </object> |
||
550 | <object class="sizeritem"> |
||
551 | <border>0</border> |
||
552 | <option>0</option> |
||
553 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
554 | <height>20</height> |
||
555 | <width>20</width> |
||
556 | </object> |
||
557 | </object> |
||
558 | </object> |
||
559 | </object> |
||
560 | <object class="sizeritem"> |
||
561 | <border>0</border> |
||
562 | <option>0</option> |
||
563 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
564 | <height>20</height> |
||
565 | <width>20</width> |
||
566 | </object> |
||
567 | </object> |
||
623 | FredericG | 568 | <object class="sizeritem"> |
569 | <flag>wxEXPAND</flag> |
||
570 | <border>0</border> |
||
571 | <option>1</option> |
||
572 | <object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer"> |
||
573 | <orient>wxVERTICAL</orient> |
||
574 | <object class="sizeritem"> |
||
575 | <flag>wxEXPAND</flag> |
||
576 | <border>0</border> |
||
577 | <option>1</option> |
||
578 | <object class="speedmeter.SpeedMeter" name="voltageCtrl" base="CustomWidget"> |
||
579 | <arguments> |
||
580 | <argument>$parent</argument> |
||
581 | <argument>extrastyle=speedmeter.SM_DRAW_HAND | speedmeter.SM_DRAW_PARTIAL_SECTORS | speedmeter.SM_DRAW_MIDDLE_ICON </argument> |
||
582 | </arguments> |
||
583 | <size>50,-1</size> |
||
584 | </object> |
||
585 | </object> |
||
586 | <object class="sizeritem"> |
||
587 | <flag>wxEXPAND</flag> |
||
588 | <border>0</border> |
||
589 | <option>1</option> |
||
590 | <object class="speedmeter.SpeedMeter" name="speedCtrl" base="CustomWidget"> |
||
591 | <arguments> |
||
592 | <argument>$parent</argument> |
||
626 | FredericG | 593 | <argument>extrastyle=speedmeter.SM_DRAW_HAND | speedmeter.SM_DRAW_PARTIAL_SECTORS | speedmeter.SM_DRAW_MIDDLE_TEXT | speedmeter.SM_DRAW_SECONDARY_TICKS</argument> |
623 | FredericG | 594 | </arguments> |
595 | <size>50,-1</size> |
||
596 | </object> |
||
597 | </object> |
||
598 | </object> |
||
599 | </object> |
||
600 | <object class="sizeritem"> |
||
601 | <border>0</border> |
||
602 | <option>0</option> |
||
603 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
604 | <height>20</height> |
||
605 | <width>20</width> |
||
606 | </object> |
||
607 | </object> |
||
612 | FredericG | 608 | </object> |
609 | </object> |
||
584 | FredericG | 610 | </application> |