forked from meerk40t/gui-files-meerk40t
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meerk40t-op-properties.py
375 lines (329 loc) · 20.7 KB
/
meerk40t-op-properties.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# generated by wxGlade 0.9.6 on Mon Jul 6 13:24:33 2020
#
import wx
# begin wxGlade: dependencies
# end wxGlade
# begin wxGlade: extracode
# end wxGlade
class OperationProperty(wx.Frame):
def __init__(self, *args, **kwds):
# begin wxGlade: OperationProperty.__init__
kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE | wx.FRAME_FLOAT_ON_PARENT | wx.TAB_TRAVERSAL
wx.Frame.__init__(self, *args, **kwds)
self.SetSize((612, 500))
# Menu Bar
self.RasterProperty_menubar = wx.MenuBar()
wxglade_tmp_menu = wx.Menu()
item = wxglade_tmp_menu.Append(wx.ID_ANY, "Clear", "Delete all the layers")
self.Bind(wx.EVT_MENU, self.on_menu_clear, id=item.GetId())
item = wxglade_tmp_menu.Append(wx.ID_ANY, "Other/Blue/Red", "Set layers to the default")
self.Bind(wx.EVT_MENU, self.on_menu_default0, id=item.GetId())
item = wxglade_tmp_menu.Append(wx.ID_ANY, "Basic", "")
self.Bind(wx.EVT_MENU, self.on_menu_default1, id=item.GetId())
wxglade_tmp_menu.AppendSeparator()
item = wxglade_tmp_menu.Append(wx.ID_ANY, "Save", "Save the current layer set")
self.Bind(wx.EVT_MENU, self.on_menu_save, id=item.GetId())
item = wxglade_tmp_menu.Append(wx.ID_ANY, "Load", "Load existing layer sets")
self.Bind(wx.EVT_MENU, self.on_menu_load, id=item.GetId())
item = wxglade_tmp_menu.Append(wx.ID_ANY, "Import", "Import existing layers")
self.Bind(wx.EVT_MENU, self.on_menu_import, id=item.GetId())
self.RasterProperty_menubar.Append(wxglade_tmp_menu, "Layers")
self.SetMenuBar(self.RasterProperty_menubar)
# Menu Bar end
self.main_panel = wx.Panel(self, wx.ID_ANY)
self.button_add_layer = wx.BitmapButton(self.main_panel, wx.ID_ANY, wx.Bitmap("C:\\Users\\Tat\\PycharmProjects\\meerk40t\\icons8-level-1-50.png", wx.BITMAP_TYPE_ANY))
self.listbox_layer = wx.ListBox(self.main_panel, wx.ID_ANY, choices=[], style=wx.LB_ALWAYS_SB | wx.LB_SINGLE)
self.button_remove_layer = wx.BitmapButton(self.main_panel, wx.ID_ANY, wx.Bitmap("C:\\Users\\Tat\\PycharmProjects\\meerk40t\\icons8-level-1-50.png", wx.BITMAP_TYPE_ANY))
self.button_layer_color = wx.Button(self.main_panel, wx.ID_ANY, "")
self.combo_type = wx.ComboBox(self.main_panel, wx.ID_ANY, choices=["Engrave", "Cut", "Raster", "Image"], style=wx.CB_DROPDOWN)
self.checkbox_output = wx.CheckBox(self.main_panel, wx.ID_ANY, "Output")
self.checkbox_show = wx.CheckBox(self.main_panel, wx.ID_ANY, "Show")
self.text_speed = wx.TextCtrl(self.main_panel, wx.ID_ANY, "20.0")
self.text_power = wx.TextCtrl(self.main_panel, wx.ID_ANY, "1000.0")
self.raster_panel = wx.Panel(self.main_panel, wx.ID_ANY)
self.text_raster_step = wx.TextCtrl(self.raster_panel, wx.ID_ANY, "1")
self.text_overscan = wx.TextCtrl(self.raster_panel, wx.ID_ANY, "20")
self.combo_raster_direction = wx.ComboBox(self.raster_panel, wx.ID_ANY, choices=["Top To Bottom", "Bottom To Top", "Right To Left", "Left To Right", "Crosshatch"], style=wx.CB_DROPDOWN)
self.radio_directional_raster = wx.RadioBox(self.raster_panel, wx.ID_ANY, "Directional Raster", choices=["Bidirectional", "Unidirectional"], majorDimension=1, style=wx.RA_SPECIFY_ROWS)
self.slider_top = wx.Slider(self.raster_panel, wx.ID_ANY, 1, 0, 2)
self.slider_left = wx.Slider(self.raster_panel, wx.ID_ANY, 1, 0, 2, style=wx.SL_VERTICAL)
self.display_panel = wx.Panel(self.raster_panel, wx.ID_ANY)
self.slider_right = wx.Slider(self.raster_panel, wx.ID_ANY, 1, 0, 2, style=wx.SL_VERTICAL)
self.slider_bottom = wx.Slider(self.raster_panel, wx.ID_ANY, 1, 0, 2)
self.checkbox_advanced = wx.CheckBox(self.main_panel, wx.ID_ANY, "Advanced")
self.advanced_panel = wx.Panel(self.main_panel, wx.ID_ANY)
self.checkbox_custom_d_ratio = wx.CheckBox(self.advanced_panel, wx.ID_ANY, "Custom D-Ratio")
self.text_dratio = wx.TextCtrl(self.advanced_panel, wx.ID_ANY, "0.261")
self.checkbox_custom_accel = wx.CheckBox(self.advanced_panel, wx.ID_ANY, "Acceleration")
self.slider_accel = wx.Slider(self.advanced_panel, wx.ID_ANY, 1, 1, 4, style=wx.SL_AUTOTICKS | wx.SL_LABELS)
self.check_dot_enable = wx.CheckBox(self.advanced_panel, wx.ID_ANY, "Dot Length (mils)")
self.text_dot_length = wx.TextCtrl(self.advanced_panel, wx.ID_ANY, "1")
self.check_group_pulse = wx.CheckBox(self.advanced_panel, wx.ID_ANY, "Group Pulses")
self.check_passes = wx.CheckBox(self.advanced_panel, wx.ID_ANY, "Passes")
self.text_passes = wx.TextCtrl(self.advanced_panel, wx.ID_ANY, "1")
self.__set_properties()
self.__do_layout()
self.Bind(wx.EVT_BUTTON, self.on_button_add, self.button_add_layer)
self.Bind(wx.EVT_LISTBOX, self.on_list_layer_click, self.listbox_layer)
self.Bind(wx.EVT_LISTBOX_DCLICK, self.on_list_layer_dclick, self.listbox_layer)
self.Bind(wx.EVT_BUTTON, self.on_button_remove, self.button_remove_layer)
self.Bind(wx.EVT_BUTTON, self.on_button_layer, self.button_layer_color)
self.Bind(wx.EVT_COMBOBOX, self.on_combo_operation, self.combo_type)
self.Bind(wx.EVT_CHECKBOX, self.on_check_output, self.checkbox_output)
self.Bind(wx.EVT_CHECKBOX, self.on_check_show, self.checkbox_show)
self.Bind(wx.EVT_TEXT, self.on_text_speed, self.text_speed)
self.Bind(wx.EVT_TEXT_ENTER, self.on_text_speed, self.text_speed)
self.Bind(wx.EVT_TEXT, self.on_text_power, self.text_power)
self.Bind(wx.EVT_TEXT_ENTER, self.on_text_power, self.text_power)
self.Bind(wx.EVT_TEXT, self.on_text_raster_step, self.text_raster_step)
self.Bind(wx.EVT_TEXT_ENTER, self.on_text_raster_step, self.text_raster_step)
self.Bind(wx.EVT_TEXT, self.on_text_overscan, self.text_overscan)
self.Bind(wx.EVT_TEXT_ENTER, self.on_text_overscan, self.text_overscan)
self.Bind(wx.EVT_COMBOBOX, self.on_combo_raster_direction, self.combo_raster_direction)
self.Bind(wx.EVT_RADIOBOX, self.on_radio_directional, self.radio_directional_raster)
self.Bind(wx.EVT_SLIDER, self.on_slider_top, self.slider_top)
self.Bind(wx.EVT_SLIDER, self.on_slider_left, self.slider_left)
self.Bind(wx.EVT_SLIDER, self.on_slider_right, self.slider_right)
self.Bind(wx.EVT_SLIDER, self.on_slider_bottom, self.slider_bottom)
self.Bind(wx.EVT_CHECKBOX, self.on_check_advanced, self.checkbox_advanced)
self.Bind(wx.EVT_CHECKBOX, self.on_check_dratio, self.checkbox_custom_d_ratio)
self.Bind(wx.EVT_TEXT, self.on_text_dratio, self.text_dratio)
self.Bind(wx.EVT_TEXT_ENTER, self.on_text_dratio, self.text_dratio)
self.Bind(wx.EVT_CHECKBOX, self.on_check_acceleration, self.checkbox_custom_accel)
self.Bind(wx.EVT_COMMAND_SCROLL, self.on_slider_accel, self.slider_accel)
self.Bind(wx.EVT_CHECKBOX, self.on_check_dot_length, self.check_dot_enable)
self.Bind(wx.EVT_TEXT, self.on_text_dot_length, self.text_dot_length)
self.Bind(wx.EVT_TEXT_ENTER, self.on_text_dot_length, self.text_dot_length)
self.Bind(wx.EVT_CHECKBOX, self.on_check_group_pulses, self.check_group_pulse)
# end wxGlade
def __set_properties(self):
# begin wxGlade: OperationProperty.__set_properties
self.SetTitle("Operation Properties")
self.button_add_layer.SetSize(self.button_add_layer.GetBestSize())
self.listbox_layer.SetMinSize((40, -1))
self.button_remove_layer.SetSize(self.button_remove_layer.GetBestSize())
self.button_layer_color.SetBackgroundColour(wx.Colour(0, 0, 0))
self.button_layer_color.SetToolTip("Change/View color of this layer")
self.combo_type.SetToolTip("Default Operation Mode Type")
self.combo_type.SetSelection(0)
self.checkbox_output.SetToolTip("Output This Layer")
self.checkbox_output.SetValue(1)
self.checkbox_show.SetToolTip("Show This Layer")
self.checkbox_show.SetValue(1)
self.text_speed.SetToolTip("Speed at which to perform the action in mm/s.")
self.text_power.SetToolTip("1000 always on. 500 it's half power (fire every other step). This is software PPI control.")
self.text_raster_step.SetToolTip("Scan gap / step size, is the distance between scanlines in a raster engrave. Distance here is in 1/1000th of an inch.")
self.text_overscan.SetToolTip("Overscan amount")
self.combo_raster_direction.SetToolTip("Direction to perform a raster")
self.combo_raster_direction.SetSelection(0)
self.radio_directional_raster.SetToolTip("Rastering on forward and backswing or only forward swing?")
self.radio_directional_raster.SetSelection(0)
self.checkbox_advanced.SetToolTip("Turn on advanced options?")
self.checkbox_custom_d_ratio.SetToolTip("Enables the ability to modify the diagonal ratio.")
self.text_dratio.SetToolTip("Diagonal ratio is the ratio of additional time needed to perform a diagonal step rather than an orthogonal step. (0.261 default)")
self.checkbox_custom_accel.SetToolTip("Enables the ability to modify the acceleration factor.")
self.slider_accel.SetToolTip("Acceleration Factor Override")
self.check_dot_enable.SetToolTip("Enable Dot Length Feature")
self.text_dot_length.SetToolTip("PPI minimum on length for making dash patterns")
self.check_group_pulse.SetToolTip("Attempts to adjust the pulse grouping for data efficiency.")
self.check_passes.SetToolTip("Enable Passes")
self.text_passes.SetToolTip("Run operation how many times?")
# end wxGlade
def __do_layout(self):
# begin wxGlade: OperationProperty.__do_layout
sizer_1 = wx.BoxSizer(wx.HORIZONTAL)
sizer_main = wx.BoxSizer(wx.HORIZONTAL)
extras_sizer = wx.BoxSizer(wx.VERTICAL)
passes_sizer = wx.StaticBoxSizer(wx.StaticBox(self.advanced_panel, wx.ID_ANY, "Passes"), wx.VERTICAL)
sizer_22 = wx.BoxSizer(wx.HORIZONTAL)
advanced_ppi_sizer = wx.StaticBoxSizer(wx.StaticBox(self.advanced_panel, wx.ID_ANY, "PPI Advanced"), wx.HORIZONTAL)
sizer_19 = wx.BoxSizer(wx.VERTICAL)
sizer_20 = wx.BoxSizer(wx.HORIZONTAL)
advanced_sizer = wx.StaticBoxSizer(wx.StaticBox(self.advanced_panel, wx.ID_ANY, "Speedcode Advanced"), wx.VERTICAL)
sizer_12 = wx.BoxSizer(wx.HORIZONTAL)
sizer_11 = wx.BoxSizer(wx.HORIZONTAL)
param_sizer = wx.BoxSizer(wx.VERTICAL)
raster_sizer = wx.StaticBoxSizer(wx.StaticBox(self.raster_panel, wx.ID_ANY, "Raster"), wx.VERTICAL)
sizer_2 = wx.StaticBoxSizer(wx.StaticBox(self.raster_panel, wx.ID_ANY, "Start Preference"), wx.VERTICAL)
sizer_7 = wx.BoxSizer(wx.HORIZONTAL)
sizer_4 = wx.BoxSizer(wx.HORIZONTAL)
sizer_6 = wx.BoxSizer(wx.HORIZONTAL)
sizer_3 = wx.BoxSizer(wx.HORIZONTAL)
speed_power_sizer = wx.BoxSizer(wx.HORIZONTAL)
power_sizer = wx.StaticBoxSizer(wx.StaticBox(self.main_panel, wx.ID_ANY, "Power (ppi)"), wx.HORIZONTAL)
speed_sizer = wx.StaticBoxSizer(wx.StaticBox(self.main_panel, wx.ID_ANY, "Speed (mm/s)"), wx.HORIZONTAL)
layer_sizer = wx.StaticBoxSizer(wx.StaticBox(self.main_panel, wx.ID_ANY, "Layer"), wx.HORIZONTAL)
layers_sizer = wx.BoxSizer(wx.VERTICAL)
layers_sizer.Add(self.button_add_layer, 0, 0, 0)
layers_sizer.Add(self.listbox_layer, 1, wx.EXPAND, 0)
layers_sizer.Add(self.button_remove_layer, 0, 0, 0)
sizer_main.Add(layers_sizer, 0, wx.EXPAND, 0)
layer_sizer.Add(self.button_layer_color, 0, 0, 0)
layer_sizer.Add(self.combo_type, 1, 0, 0)
layer_sizer.Add(self.checkbox_output, 1, 0, 0)
layer_sizer.Add(self.checkbox_show, 1, 0, 0)
param_sizer.Add(layer_sizer, 0, wx.EXPAND, 0)
speed_sizer.Add(self.text_speed, 1, 0, 0)
speed_power_sizer.Add(speed_sizer, 1, wx.EXPAND, 0)
power_sizer.Add(self.text_power, 1, 0, 0)
speed_power_sizer.Add(power_sizer, 1, wx.EXPAND, 0)
param_sizer.Add(speed_power_sizer, 0, wx.EXPAND, 0)
label_7 = wx.StaticText(self.raster_panel, wx.ID_ANY, "Raster Step (mils)")
sizer_3.Add(label_7, 1, 0, 0)
sizer_3.Add(self.text_raster_step, 1, 0, 0)
raster_sizer.Add(sizer_3, 0, wx.EXPAND, 0)
label_6 = wx.StaticText(self.raster_panel, wx.ID_ANY, "Overscan (mils/%)")
sizer_6.Add(label_6, 1, 0, 0)
sizer_6.Add(self.text_overscan, 1, 0, 0)
raster_sizer.Add(sizer_6, 0, wx.EXPAND, 0)
label_5 = wx.StaticText(self.raster_panel, wx.ID_ANY, "Raster Direction")
sizer_4.Add(label_5, 1, 0, 0)
sizer_4.Add(self.combo_raster_direction, 1, 0, 0)
raster_sizer.Add(sizer_4, 0, wx.EXPAND, 0)
raster_sizer.Add(self.radio_directional_raster, 0, wx.EXPAND, 0)
sizer_2.Add(self.slider_top, 0, wx.EXPAND, 0)
sizer_7.Add(self.slider_left, 0, wx.EXPAND, 0)
sizer_7.Add(self.display_panel, 1, wx.EXPAND, 0)
sizer_7.Add(self.slider_right, 0, 0, 0)
sizer_2.Add(sizer_7, 0, wx.EXPAND, 0)
sizer_2.Add(self.slider_bottom, 0, wx.EXPAND, 0)
raster_sizer.Add(sizer_2, 1, wx.EXPAND, 0)
self.raster_panel.SetSizer(raster_sizer)
param_sizer.Add(self.raster_panel, 1, wx.EXPAND, 0)
param_sizer.Add(self.checkbox_advanced, 0, 0, 0)
sizer_main.Add(param_sizer, 0, wx.EXPAND, 0)
sizer_11.Add(self.checkbox_custom_d_ratio, 1, 0, 0)
sizer_11.Add(self.text_dratio, 1, 0, 0)
advanced_sizer.Add(sizer_11, 0, wx.EXPAND, 0)
sizer_12.Add(self.checkbox_custom_accel, 1, wx.ALIGN_CENTER_VERTICAL, 0)
sizer_12.Add(self.slider_accel, 1, wx.EXPAND, 0)
advanced_sizer.Add(sizer_12, 0, wx.EXPAND, 0)
extras_sizer.Add(advanced_sizer, 0, wx.EXPAND, 0)
sizer_20.Add(self.check_dot_enable, 1, 0, 0)
sizer_20.Add(self.text_dot_length, 1, 0, 0)
sizer_19.Add(sizer_20, 1, wx.EXPAND, 0)
sizer_19.Add(self.check_group_pulse, 0, 0, 0)
advanced_ppi_sizer.Add(sizer_19, 1, wx.EXPAND, 0)
extras_sizer.Add(advanced_ppi_sizer, 0, wx.EXPAND, 0)
sizer_22.Add(self.check_passes, 1, 0, 0)
sizer_22.Add(self.text_passes, 1, 0, 0)
passes_sizer.Add(sizer_22, 0, wx.EXPAND, 0)
extras_sizer.Add(passes_sizer, 0, wx.EXPAND, 0)
self.advanced_panel.SetSizer(extras_sizer)
sizer_main.Add(self.advanced_panel, 1, wx.EXPAND, 0)
self.main_panel.SetSizer(sizer_main)
sizer_1.Add(self.main_panel, 1, wx.EXPAND, 0)
self.SetSizer(sizer_1)
self.Layout()
self.Centre()
# end wxGlade
def on_menu_clear(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_menu_clear' not implemented!")
event.Skip()
def on_menu_default0(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_menu_default0' not implemented!")
event.Skip()
def on_menu_default1(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_menu_default1' not implemented!")
event.Skip()
def on_menu_save(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_menu_save' not implemented!")
event.Skip()
def on_menu_load(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_menu_load' not implemented!")
event.Skip()
def on_menu_import(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_menu_import' not implemented!")
event.Skip()
def on_button_add(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_button_add' not implemented!")
event.Skip()
def on_list_layer_click(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_list_layer_click' not implemented!")
event.Skip()
def on_list_layer_dclick(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_list_layer_dclick' not implemented!")
event.Skip()
def on_button_remove(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_button_remove' not implemented!")
event.Skip()
def on_button_layer(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_button_layer' not implemented!")
event.Skip()
def on_combo_operation(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_combo_operation' not implemented!")
event.Skip()
def on_check_output(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_check_output' not implemented!")
event.Skip()
def on_check_show(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_check_show' not implemented!")
event.Skip()
def on_text_speed(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_text_speed' not implemented!")
event.Skip()
def on_text_power(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_text_power' not implemented!")
event.Skip()
def on_text_raster_step(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_text_raster_step' not implemented!")
event.Skip()
def on_text_overscan(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_text_overscan' not implemented!")
event.Skip()
def on_combo_raster_direction(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_combo_raster_direction' not implemented!")
event.Skip()
def on_radio_directional(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_radio_directional' not implemented!")
event.Skip()
def on_slider_top(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_slider_top' not implemented!")
event.Skip()
def on_slider_left(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_slider_left' not implemented!")
event.Skip()
def on_slider_right(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_slider_right' not implemented!")
event.Skip()
def on_slider_bottom(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_slider_bottom' not implemented!")
event.Skip()
def on_check_advanced(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_check_advanced' not implemented!")
event.Skip()
def on_check_dratio(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_check_dratio' not implemented!")
event.Skip()
def on_text_dratio(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_text_dratio' not implemented!")
event.Skip()
def on_check_acceleration(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_check_acceleration' not implemented!")
event.Skip()
def on_slider_accel(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_slider_accel' not implemented!")
event.Skip()
def on_check_dot_length(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_check_dot_length' not implemented!")
event.Skip()
def on_text_dot_length(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_text_dot_length' not implemented!")
event.Skip()
def on_check_group_pulses(self, event): # wxGlade: OperationProperty.<event_handler>
print("Event handler 'on_check_group_pulses' not implemented!")
event.Skip()
# end of class OperationProperty
class MyApp(wx.App):
def OnInit(self):
self.OperationProperty = OperationProperty(None, wx.ID_ANY, "")
self.SetTopWindow(self.OperationProperty)
self.OperationProperty.Show()
return True
# end of class MyApp
if __name__ == "__main__":
app = MyApp(0)
app.MainLoop()