Rev 607 | Rev 612 | 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"?> |
608 | FredericG | 2 | <!-- generated by wxGlade 0.6.3 on Fri Oct 02 19:29:53 2009 --> |
584 | FredericG | 3 | |
607 | FredericG | 4 | <application path="D:\Fred\MK_Proj\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> |
||
587 | FredericG | 19 | <label>Exit</label> |
607 | FredericG | 20 | <id>150</id> |
587 | FredericG | 21 | </item> |
22 | </menu> |
||
607 | FredericG | 23 | <menu name="" itemid="300" label="TestSet"> |
587 | FredericG | 24 | <item> |
25 | <label>Clear</label> |
||
607 | FredericG | 26 | <id>301</id> |
601 | FredericG | 27 | <handler>onClear</handler> |
587 | FredericG | 28 | </item> |
29 | <item> |
||
30 | <label>Import</label> |
||
607 | FredericG | 31 | <id>302</id> |
587 | FredericG | 32 | <handler>OnImport</handler> |
33 | </item> |
||
34 | </menu> |
||
35 | <menu name="" label="MK"> |
||
36 | </menu> |
||
37 | <menu name="" label="Help"> |
||
38 | </menu> |
||
39 | </menus> |
||
40 | </object> |
||
600 | FredericG | 41 | <object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer"> |
42 | <orient>wxHORIZONTAL</orient> |
||
584 | FredericG | 43 | <object class="sizeritem"> |
591 | FredericG | 44 | <border>0</border> |
45 | <option>0</option> |
||
46 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
47 | <height>20</height> |
||
48 | <width>20</width> |
||
49 | </object> |
||
50 | </object> |
||
51 | <object class="sizeritem"> |
||
600 | FredericG | 52 | <flag>wxEXPAND</flag> |
53 | <border>0</border> |
||
54 | <option>1</option> |
||
55 | <object class="wxBoxSizer" name="sizer_8" base="EditBoxSizer"> |
||
56 | <orient>wxVERTICAL</orient> |
||
584 | FredericG | 57 | <object class="sizeritem"> |
58 | <border>0</border> |
||
59 | <option>0</option> |
||
600 | FredericG | 60 | <object class="spacer" name="spacer" base="EditSpacer"> |
61 | <height>20</height> |
||
62 | <width>20</width> |
||
584 | FredericG | 63 | </object> |
64 | </object> |
||
65 | <object class="sizeritem"> |
||
66 | <border>0</border> |
||
67 | <option>0</option> |
||
600 | FredericG | 68 | <object class="wxBoxSizer" name="sizer_9" base="EditBoxSizer"> |
69 | <orient>wxHORIZONTAL</orient> |
||
70 | <object class="sizeritem"> |
||
71 | <border>0</border> |
||
72 | <option>0</option> |
||
73 | <object class="wxGridSizer" name="grid_sizer_1" base="EditGridSizer"> |
||
74 | <hgap>5</hgap> |
||
75 | <rows>3</rows> |
||
76 | <cols>4</cols> |
||
77 | <vgap>4</vgap> |
||
78 | <object class="sizeritem"> |
||
79 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
80 | <border>0</border> |
||
81 | <option>0</option> |
||
82 | <object class="wxStaticText" name="Description" base="EditStaticText"> |
||
83 | <attribute>1</attribute> |
||
84 | <label>Description</label> |
||
85 | <size>53, 13</size> |
||
86 | </object> |
||
87 | </object> |
||
88 | <object class="sizeritem"> |
||
89 | <border>0</border> |
||
90 | <option>0</option> |
||
91 | <object class="wxTextCtrl" name="text_ctrl_6" base="EditTextCtrl"> |
||
92 | <value>Test</value> |
||
93 | </object> |
||
94 | </object> |
||
95 | <object class="sizeritem"> |
||
96 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
97 | <border>0</border> |
||
98 | <option>0</option> |
||
99 | <object class="wxStaticText" name="label_37" base="EditStaticText"> |
||
100 | <attribute>1</attribute> |
||
101 | <label>Speed(s)</label> |
||
102 | </object> |
||
103 | </object> |
||
104 | <object class="sizeritem"> |
||
105 | <border>0</border> |
||
106 | <option>0</option> |
||
107 | <object class="wxTextCtrl" name="text_ctrl_9" base="EditTextCtrl"> |
||
108 | <value>100-200:10</value> |
||
109 | </object> |
||
110 | </object> |
||
111 | <object class="sizeritem"> |
||
112 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
113 | <border>0</border> |
||
114 | <option>0</option> |
||
115 | <object class="wxStaticText" name="label_35" base="EditStaticText"> |
||
116 | <attribute>1</attribute> |
||
117 | <label>Motor(s)</label> |
||
118 | </object> |
||
119 | </object> |
||
120 | <object class="sizeritem"> |
||
121 | <border>0</border> |
||
122 | <option>0</option> |
||
123 | <object class="wxTextCtrl" name="text_ctrl_7" base="EditTextCtrl"> |
||
124 | <value>1</value> |
||
125 | </object> |
||
126 | </object> |
||
127 | <object class="sizeritem"> |
||
128 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
129 | <border>0</border> |
||
130 | <option>0</option> |
||
131 | <object class="wxStaticText" name="label_38" base="EditStaticText"> |
||
132 | <attribute>1</attribute> |
||
133 | </object> |
||
134 | </object> |
||
135 | <object class="sizeritem"> |
||
136 | <border>0</border> |
||
137 | <option>0</option> |
||
138 | <object class="wxTextCtrl" name="text_ctrl_10" base="EditTextCtrl"> |
||
139 | </object> |
||
140 | </object> |
||
141 | <object class="sizeritem"> |
||
142 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
143 | <border>0</border> |
||
144 | <option>0</option> |
||
145 | <object class="wxStaticText" name="label_36" base="EditStaticText"> |
||
146 | <attribute>1</attribute> |
||
147 | <label>Channel</label> |
||
148 | </object> |
||
149 | </object> |
||
150 | <object class="sizeritem"> |
||
151 | <border>0</border> |
||
152 | <option>0</option> |
||
153 | <object class="wxTextCtrl" name="text_ctrl_8" base="EditTextCtrl"> |
||
154 | <value>6</value> |
||
155 | </object> |
||
156 | </object> |
||
157 | <object class="sizeritem"> |
||
158 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag> |
||
159 | <border>0</border> |
||
160 | <option>0</option> |
||
161 | <object class="wxStaticText" name="label_39" base="EditStaticText"> |
||
162 | <attribute>1</attribute> |
||
163 | </object> |
||
164 | </object> |
||
165 | <object class="sizeritem"> |
||
166 | <border>0</border> |
||
167 | <option>0</option> |
||
168 | <object class="wxTextCtrl" name="text_ctrl_11" base="EditTextCtrl"> |
||
169 | </object> |
||
170 | </object> |
||
171 | </object> |
||
172 | </object> |
||
173 | <object class="sizeritem"> |
||
174 | <flag>wxEXPAND</flag> |
||
175 | <border>0</border> |
||
176 | <option>1</option> |
||
177 | <object class="wxBoxSizer" name="sizer_10" base="EditBoxSizer"> |
||
178 | <orient>wxHORIZONTAL</orient> |
||
179 | <object class="sizeritem"> |
||
180 | <border>0</border> |
||
181 | <option>0</option> |
||
182 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
183 | <height>20</height> |
||
184 | <width>50</width> |
||
185 | </object> |
||
186 | </object> |
||
187 | <object class="sizeritem"> |
||
188 | <flag>wxALIGN_CENTER_VERTICAL</flag> |
||
189 | <border>0</border> |
||
190 | <option>0</option> |
||
191 | <object class="wxButton" name="button_4" base="EditButton"> |
||
192 | <label>Start</label> |
||
601 | FredericG | 193 | <size>80, 80</size> |
600 | FredericG | 194 | </object> |
195 | </object> |
||
196 | </object> |
||
197 | </object> |
||
584 | FredericG | 198 | </object> |
199 | </object> |
||
200 | <object class="sizeritem"> |
||
201 | <border>0</border> |
||
202 | <option>0</option> |
||
600 | FredericG | 203 | <object class="spacer" name="spacer" base="EditSpacer"> |
204 | <height>30</height> |
||
205 | <width>20</width> |
||
584 | FredericG | 206 | </object> |
207 | </object> |
||
208 | <object class="sizeritem"> |
||
209 | <border>0</border> |
||
210 | <option>0</option> |
||
600 | FredericG | 211 | <object class="wxBoxSizer" name="sizer_11" base="EditBoxSizer"> |
212 | <orient>wxVERTICAL</orient> |
||
213 | <object class="sizeritem"> |
||
214 | <flag>wxEXPAND</flag> |
||
215 | <border>0</border> |
||
216 | <option>1</option> |
||
217 | <object class="wxPanel" name="GraphPanel" base="EditPanel"> |
||
218 | <style>wxTAB_TRAVERSAL</style> |
||
219 | <size>800,300</size> |
||
220 | </object> |
||
221 | </object> |
||
222 | <object class="sizeritem"> |
||
223 | <border>0</border> |
||
224 | <option>0</option> |
||
225 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
226 | <height>5</height> |
||
227 | <width>20</width> |
||
228 | </object> |
||
229 | </object> |
||
230 | <object class="sizeritem"> |
||
231 | <border>0</border> |
||
232 | <option>0</option> |
||
233 | <object class="wxBoxSizer" name="sizer_12" base="EditBoxSizer"> |
||
234 | <orient>wxHORIZONTAL</orient> |
||
235 | <object class="sizeritem"> |
||
236 | <flag>wxALIGN_CENTER_VERTICAL</flag> |
||
237 | <border>0</border> |
||
238 | <option>0</option> |
||
239 | <object class="wxStaticText" name="label_40" base="EditStaticText"> |
||
240 | <attribute>1</attribute> |
||
241 | <label>Graph Type </label> |
||
242 | </object> |
||
243 | </object> |
||
244 | <object class="sizeritem"> |
||
245 | <border>0</border> |
||
246 | <option>0</option> |
||
247 | <object class="wxChoice" name="graphTypeChoice" base="EditChoice"> |
||
248 | <selection>0</selection> |
||
249 | <choices> |
||
250 | <choice>Raw Signal</choice> |
||
251 | <choice>Filtered Signal</choice> |
||
252 | <choice>Spectrum</choice> |
||
253 | </choices> |
||
254 | <events> |
||
255 | <handler event="EVT_CHOICE">onGraphTypeChange</handler> |
||
256 | </events> |
||
257 | </object> |
||
258 | </object> |
||
259 | <object class="sizeritem"> |
||
260 | <border>0</border> |
||
261 | <option>0</option> |
||
262 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
263 | <height>20</height> |
||
264 | <width>40</width> |
||
265 | </object> |
||
266 | </object> |
||
267 | <object class="sizeritem"> |
||
268 | <flag>wxALIGN_CENTER_VERTICAL</flag> |
||
269 | <border>0</border> |
||
270 | <option>0</option> |
||
271 | <object class="wxStaticText" name="label_41" base="EditStaticText"> |
||
272 | <attribute>1</attribute> |
||
273 | <label>Y Axis Range </label> |
||
274 | </object> |
||
275 | </object> |
||
276 | <object class="sizeritem"> |
||
277 | <border>0</border> |
||
278 | <option>0</option> |
||
279 | <object class="wxChoice" name="yAxisChoice" base="EditChoice"> |
||
280 | <selection>1</selection> |
||
281 | <choices> |
||
282 | <choice>25</choice> |
||
283 | <choice>50</choice> |
||
284 | <choice>100</choice> |
||
285 | <choice>200</choice> |
||
286 | </choices> |
||
287 | <events> |
||
288 | <handler event="EVT_CHOICE">onYAxisChange</handler> |
||
289 | </events> |
||
290 | </object> |
||
291 | </object> |
||
292 | </object> |
||
293 | </object> |
||
584 | FredericG | 294 | </object> |
295 | </object> |
||
296 | <object class="sizeritem"> |
||
297 | <border>0</border> |
||
298 | <option>0</option> |
||
600 | FredericG | 299 | <object class="spacer" name="spacer" base="EditSpacer"> |
300 | <height>30</height> |
||
301 | <width>20</width> |
||
584 | FredericG | 302 | </object> |
303 | </object> |
||
304 | <object class="sizeritem"> |
||
305 | <border>0</border> |
||
600 | FredericG | 306 | <option>1</option> |
307 | <object class="wxListCtrl" name="TestListCtrl" base="EditListCtrl"> |
||
308 | <style>wxLC_REPORT|wxSUNKEN_BORDER</style> |
||
309 | <size>800,300</size> |
||
584 | FredericG | 310 | </object> |
311 | </object> |
||
312 | <object class="sizeritem"> |
||
313 | <border>0</border> |
||
314 | <option>0</option> |
||
600 | FredericG | 315 | <object class="spacer" name="spacer" base="EditSpacer"> |
316 | <height>20</height> |
||
317 | <width>20</width> |
||
584 | FredericG | 318 | </object> |
319 | </object> |
||
320 | </object> |
||
321 | </object> |
||
322 | </object> |
||
323 | </object> |
||
607 | FredericG | 324 | <object class="SettingsDialog" name="SettingDialog" base="EditDialog"> |
325 | <style>wxDEFAULT_DIALOG_STYLE</style> |
||
601 | FredericG | 326 | <title>Settings</title> |
608 | FredericG | 327 | <object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer"> |
601 | FredericG | 328 | <orient>wxVERTICAL</orient> |
329 | <object class="sizeritem"> |
||
330 | <border>0</border> |
||
331 | <option>0</option> |
||
332 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
333 | <height>20</height> |
||
334 | <width>20</width> |
||
335 | </object> |
||
336 | </object> |
||
337 | <object class="sizeritem"> |
||
338 | <flag>wxEXPAND</flag> |
||
339 | <border>0</border> |
||
340 | <option>1</option> |
||
608 | FredericG | 341 | <object class="wxBoxSizer" name="sizer_6" base="EditBoxSizer"> |
601 | FredericG | 342 | <orient>wxHORIZONTAL</orient> |
343 | <object class="sizeritem"> |
||
344 | <border>0</border> |
||
345 | <option>0</option> |
||
346 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
347 | <height>20</height> |
||
348 | <width>20</width> |
||
349 | </object> |
||
350 | </object> |
||
351 | <object class="sizeritem"> |
||
352 | <border>0</border> |
||
353 | <option>0</option> |
||
608 | FredericG | 354 | <object class="wxGridSizer" name="grid_sizer_2" base="EditGridSizer"> |
601 | FredericG | 355 | <hgap>4</hgap> |
356 | <rows>1</rows> |
||
357 | <cols>2</cols> |
||
358 | <vgap>4</vgap> |
||
608 | FredericG | 359 | <object class="sizerslot" /> |
360 | <object class="sizerslot" /> |
||
601 | FredericG | 361 | </object> |
362 | </object> |
||
363 | <object class="sizeritem"> |
||
364 | <border>0</border> |
||
365 | <option>0</option> |
||
366 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
367 | <height>20</height> |
||
368 | <width>20</width> |
||
369 | </object> |
||
370 | </object> |
||
371 | </object> |
||
372 | </object> |
||
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>0</option> |
||
608 | FredericG | 385 | <object class="wxGridSizer" name="grid_sizer_3" base="EditGridSizer"> |
601 | FredericG | 386 | <hgap>0</hgap> |
387 | <rows>1</rows> |
||
388 | <cols>2</cols> |
||
389 | <vgap>0</vgap> |
||
390 | <object class="sizeritem"> |
||
391 | <flag>wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag> |
||
392 | <border>0</border> |
||
393 | <option>0</option> |
||
608 | FredericG | 394 | <object class="wxButton" name="button_5" base="EditButton"> |
601 | FredericG | 395 | <stockitem>CANCEL</stockitem> |
396 | <label>&Cancel</label> |
||
397 | </object> |
||
398 | </object> |
||
399 | <object class="sizeritem"> |
||
400 | <flag>wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag> |
||
401 | <border>0</border> |
||
402 | <option>0</option> |
||
608 | FredericG | 403 | <object class="wxButton" name="button_6" base="EditButton"> |
601 | FredericG | 404 | <stockitem>OK</stockitem> |
405 | <label>&OK</label> |
||
406 | </object> |
||
407 | </object> |
||
408 | </object> |
||
409 | </object> |
||
410 | <object class="sizeritem"> |
||
411 | <border>0</border> |
||
412 | <option>0</option> |
||
413 | <object class="spacer" name="spacer" base="EditSpacer"> |
||
414 | <height>20</height> |
||
415 | <width>20</width> |
||
416 | </object> |
||
417 | </object> |
||
418 | </object> |
||
419 | </object> |
||
584 | FredericG | 420 | </application> |