Subversion Repositories Projects

Rev

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