happyscript 0.0.38__tar.gz → 0.0.39__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. {happyscript-0.0.38 → happyscript-0.0.39}/PKG-INFO +1 -1
  2. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/__init__.py +1 -1
  3. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/forms/form_serials.py +45 -13
  4. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/forms/formsbase.py +110 -20
  5. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript.egg-info/PKG-INFO +1 -1
  6. {happyscript-0.0.38 → happyscript-0.0.39}/pyproject.toml +1 -1
  7. {happyscript-0.0.38 → happyscript-0.0.39}/README.md +0 -0
  8. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/__init__.py +0 -0
  9. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/chart.py +0 -0
  10. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/histogram_chart.py +0 -0
  11. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/histogram_series.py +0 -0
  12. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/matplotlib_chart.py +0 -0
  13. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/panel_charts.py +0 -0
  14. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/scatter_chart.py +0 -0
  15. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/scatter_series.py +0 -0
  16. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/time_chart.py +0 -0
  17. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/charts/time_series.py +0 -0
  18. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/forms/form_askchoice.py +0 -0
  19. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/forms/form_askimage.py +0 -0
  20. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/forms/form_main.py +0 -0
  21. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/forms/form_ontestfailure.py +0 -0
  22. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/forms/form_stop.py +0 -0
  23. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/imglib.py +0 -0
  24. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/panels/panel_log.py +0 -0
  25. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/panels/panel_messages.py +0 -0
  26. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/panels/panel_scripts2.py +0 -0
  27. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/panels/panel_tests.py +0 -0
  28. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/panels/panelsbase.py +0 -0
  29. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptartwork.py +0 -0
  30. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptcontrol.py +0 -0
  31. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptexceptions.py +0 -0
  32. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptgui.py +0 -0
  33. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptinfo.py +0 -0
  34. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptmanager.py +0 -0
  35. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptparams.py +0 -0
  36. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptreader.py +0 -0
  37. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/scriptrunner.py +0 -0
  38. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/splashmenu/exit.png +0 -0
  39. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/splashmenu/forms.py +0 -0
  40. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/splashmenu/splashmenuform.py +0 -0
  41. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/splashmenu/splashmenumain.py +0 -0
  42. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/testlog/global_log_handler.py +0 -0
  43. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/testlog/log_to_text.py +0 -0
  44. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/testlog/logtoxml.py +0 -0
  45. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/testlog/printredirect.py +0 -0
  46. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/userpanel/userpanel.py +0 -0
  47. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript/userpanel/userpanelvalue.py +0 -0
  48. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript.egg-info/SOURCES.txt +0 -0
  49. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript.egg-info/dependency_links.txt +0 -0
  50. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript.egg-info/requires.txt +0 -0
  51. {happyscript-0.0.38 → happyscript-0.0.39}/happyscript.egg-info/top_level.txt +0 -0
  52. {happyscript-0.0.38 → happyscript-0.0.39}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: happyscript
3
- Version: 0.0.38
3
+ Version: 0.0.39
4
4
  Summary: Framework for running scripts
5
5
  Requires-Python: >=3.5
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  """HappyScript - handy script launcher"""
2
2
 
3
- __version__ = "0.0.38"
3
+ __version__ = "0.0.39"
4
4
 
5
5
  # With these statements, after doing 'import happyscript' you can do 'xxx = happyscript.ScriptManager()'
6
6
  #from .scriptmanager import ScriptManager
@@ -4,7 +4,7 @@ import wx
4
4
  from .formsbase import FormSerials_Base
5
5
 
6
6
  class FormSerials( FormSerials_Base):
7
- ''' Ask for up to 5 serial numbers.
7
+ ''' Ask for up to 10 serial numbers.
8
8
  A label and match pattern can be given for each number.
9
9
  Result is a list of the serials, or None if user cancelled.
10
10
  '''
@@ -15,13 +15,13 @@ class FormSerials( FormSerials_Base):
15
15
  def show(cls, count, labels = None, filters=None):
16
16
  ''' Instantiates the form (if necessary), then shows it.
17
17
 
18
- @param count how many numbers : 1 - 5 numbers
18
+ @param count how many numbers : 1 - 10 numbers
19
19
  @param labels List of strings to show left from each serial number entry field
20
20
  @param filters regular expression for each serial number. Items can be None
21
21
  @return list of serial numbers, or None if no user cancelled
22
22
  '''
23
23
 
24
- if count<1 or count>5:
24
+ if count<1 or count>10:
25
25
  return None
26
26
 
27
27
  if cls.static_item is None:
@@ -43,8 +43,10 @@ class FormSerials( FormSerials_Base):
43
43
  '''
44
44
  super().__init__(None)
45
45
 
46
- self.labels = [ self.m_lblSerial1, self.m_lblSerial2, self.m_lblSerial3, self.m_lblSerial4, self.m_lblSerial5 ]
47
- self.texts = [ self.m_txtSerial1, self.m_txtSerial2, self.m_txtSerial3, self.m_txtSerial4, self.m_txtSerial5 ]
46
+ self.labels = [ self.m_lblSerial1, self.m_lblSerial2, self.m_lblSerial3, self.m_lblSerial4, self.m_lblSerial5,
47
+ self.m_lblSerial6, self.m_lblSerial7, self.m_lblSerial8, self.m_lblSerial9, self.m_lblSerial10 ]
48
+ self.texts = [ self.m_txtSerial1, self.m_txtSerial2, self.m_txtSerial3, self.m_txtSerial4, self.m_txtSerial5,
49
+ self.m_txtSerial6, self.m_txtSerial7, self.m_txtSerial8, self.m_txtSerial9, self.m_txtSerial10 ]
48
50
 
49
51
  self.result = False
50
52
 
@@ -53,16 +55,16 @@ class FormSerials( FormSerials_Base):
53
55
  Initializes everything, shows the dialog, and then determines the result to return.
54
56
  '''
55
57
 
56
- if count<1 or count>5:
58
+ if count<1 or count>10:
57
59
  return None
58
60
 
59
61
  self.initializing = True # to silence event handlers on editboxes
60
62
 
61
63
  if labels is None: # default labels
62
- labels = [ "Board 1", "Board 2", "Board 3", "Board 4", "Board 5" ]
64
+ labels = [ "Board 1", "Board 2", "Board 3", "Board 4", "Board 5", "Board 6", "Board 7", "Board 8", "Board 9", "Board 10" ]
63
65
 
64
66
  if filters is None: # default filters = all None
65
- self.filters = [ None, None, None, None, None ]
67
+ self.filters = [ None, None, None, None, None, None, None, None, None, None ]
66
68
  else:
67
69
  self.filters = filters
68
70
 
@@ -80,7 +82,7 @@ class FormSerials( FormSerials_Base):
80
82
 
81
83
  self.valid.append(False) # init list with validity
82
84
 
83
- for i in range(count,5): # hide unused serials
85
+ for i in range(count,10): # hide unused serials
84
86
  self.texts[i].Hide()
85
87
  self.labels[i].Hide()
86
88
 
@@ -102,7 +104,7 @@ class FormSerials( FormSerials_Base):
102
104
  Color will be updated to green or red to indicate validity.
103
105
  'OK' button is enabled accordingly.
104
106
  '''
105
- if self.initializing or num<0 or num>4:
107
+ if self.initializing or num<0 or num>9:
106
108
  return
107
109
 
108
110
  txt = self.texts[num].Value.strip()
@@ -141,13 +143,28 @@ class FormSerials( FormSerials_Base):
141
143
  def OnText5( self, event ):
142
144
  self.handle_ontext(4)
143
145
 
146
+ def OnText6( self, event ):
147
+ self.handle_ontext(5)
148
+
149
+ def OnText7( self, event ):
150
+ self.handle_ontext(6)
151
+
152
+ def OnText8( self, event ):
153
+ self.handle_ontext(7)
154
+
155
+ def OnText9( self, event ):
156
+ self.handle_ontext(8)
157
+
158
+ def OnText10( self, event ):
159
+ self.handle_ontext(9)
160
+
144
161
  def handle_enter(self, num):
145
162
  ''' Moves to next field upon pressing enter in a serial number text field.
146
163
  '''
147
- if self.initializing or num<0 or num>4:
164
+ if self.initializing or num<0 or num>9:
148
165
  return
149
166
 
150
- if num==4 or not self.texts[num+1].IsShown():
167
+ if num==9 or not self.texts[num+1].IsShown():
151
168
  self.m_btnOK.SetFocus()
152
169
  else:
153
170
  self.texts[num+1].SetFocus()
@@ -167,6 +184,21 @@ class FormSerials( FormSerials_Base):
167
184
  def OnEnter5( self, event ):
168
185
  self.handle_enter(4)
169
186
 
187
+ def OnEnter6( self, event ):
188
+ self.handle_enter(5)
189
+
190
+ def OnEnter7( self, event ):
191
+ self.handle_enter(6)
192
+
193
+ def OnEnter8( self, event ):
194
+ self.handle_enter(7)
195
+
196
+ def OnEnter9( self, event ):
197
+ self.handle_enter(8)
198
+
199
+ def OnEnter10( self, event ):
200
+ self.handle_enter(9)
201
+
170
202
  def OnBtnCancel( self, event ):
171
203
  self.EndModal(wx.ID_CANCEL)
172
204
 
@@ -181,6 +213,6 @@ if __name__=="__main__":
181
213
  app = wx.App()
182
214
 
183
215
  result = FormSerials.show(3, ["Logic Board", "Power board", "Micro ZED"],
184
- ['([0-9])\w+', None, '([0-9])\w+'] )
216
+ [r'([0-9])\w+', None, r'([0-9])\w+'] )
185
217
 
186
218
  print(result)
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ###########################################################################
4
- ## Python code generated with wxFormBuilder (version Oct 26 2018)
4
+ ## Python code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
5
5
  ## http://www.wxformbuilder.org/
6
6
  ##
7
7
  ## PLEASE DO *NOT* EDIT THIS FILE!
@@ -11,13 +11,13 @@ import wx
11
11
  import wx.xrc
12
12
  import wx.aui
13
13
 
14
- ID_BTN_TESTLIST = 1000
15
- ID_BTN_MESSAGES = 1001
16
- ID_BTN_LOGGING = 1002
17
- ID_BTN_SCRIPTS = 1003
18
- ID_BTN_PYTHON = 1004
19
- ID_BTN_CONTROLS = 1005
20
- ID_BTN_CHARTS = 1006
14
+ ID_BTN_TESTLIST = 6000
15
+ ID_BTN_MESSAGES = 6001
16
+ ID_BTN_LOGGING = 6002
17
+ ID_BTN_SCRIPTS = 6003
18
+ ID_BTN_PYTHON = 6004
19
+ ID_BTN_CONTROLS = 6005
20
+ ID_BTN_CHARTS = 6006
21
21
 
22
22
  ###########################################################################
23
23
  ## Class FormMain_Base
@@ -34,7 +34,7 @@ class FormMain_Base ( wx.Frame ):
34
34
  self.m_mgr.SetFlags(wx.aui.AUI_MGR_ALLOW_FLOATING|wx.aui.AUI_MGR_RECTANGLE_HINT|wx.aui.AUI_MGR_TRANSPARENT_HINT)
35
35
 
36
36
  self.m_guiTimer = wx.Timer()
37
- self.m_guiTimer.SetOwner( self, wx.ID_ANY )
37
+ self.m_guiTimer.SetOwner( self, self.m_guiTimer.GetId() )
38
38
  self.m_mnuToolbar = wx.aui.AuiToolBar( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.aui.AUI_TB_TEXT )
39
39
  self.m_mnuToolbar.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOW ) )
40
40
  self.m_mnuToolbar.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOW ) )
@@ -62,7 +62,7 @@ class FormMain_Base ( wx.Frame ):
62
62
  self.m_btnExit = self.m_mnuToolbar.AddTool( wx.ID_ANY, u"Exit", wx.ArtProvider.GetBitmap( wx.ART_QUIT, ), wx.NullBitmap, wx.ITEM_NORMAL, wx.EmptyString, wx.EmptyString, None )
63
63
 
64
64
  self.m_mnuToolbar.Realize()
65
- self.m_mgr.AddPane( self.m_mnuToolbar, wx.aui.AuiPaneInfo().Name( u"dfasdf" ).Top().Caption( u"ZXcZXcZXcZXC" ).CaptionVisible( False ).CloseButton( False ).PaneBorder( False ).Movable( False ).Dock().Resizable().FloatingSize( wx.DefaultSize ).BottomDockable( False ).TopDockable( False ).LeftDockable( False ).RightDockable( False ).Floatable( False ).Layer( 3 ) )
65
+ self.m_mgr.AddPane( self.m_mnuToolbar, wx.aui.AuiPaneInfo() .Name( u"dfasdf" ).Top() .Caption( u"ZXcZXcZXcZXC" ).CaptionVisible( False ).CloseButton( False ).PaneBorder( False ).Movable( False ).Dock().Resizable().FloatingSize( wx.DefaultSize ).BottomDockable( False ).TopDockable( False ).LeftDockable( False ).RightDockable( False ).Floatable( False ).Layer( 3 ) )
66
66
 
67
67
  self.m_statusBar1 = self.CreateStatusBar( 1, wx.STB_SIZEGRIP, wx.ID_ANY )
68
68
  self.m_mnuLayout = wx.Menu()
@@ -96,7 +96,7 @@ class FormMain_Base ( wx.Frame ):
96
96
 
97
97
  # Connect Events
98
98
  self.Bind( wx.EVT_CLOSE, self.OnFormClose )
99
- self.Bind( wx.EVT_TIMER, self.OnGuiTimer, id=wx.ID_ANY )
99
+ self.Bind( wx.EVT_TIMER, self.OnGuiTimer, id=self.m_guiTimer.GetId() )
100
100
  self.Bind( wx.EVT_TOOL, self.OnMnuLayoutClicked, id = self.m_btnLayout.GetId() )
101
101
  self.Bind( wx.EVT_TOOL, self.OnBtnTestList, id = self.m_btnTestList.GetId() )
102
102
  self.Bind( wx.EVT_TOOL, self.OnBtnMessages, id = self.m_btnMessages.GetId() )
@@ -117,7 +117,7 @@ class FormMain_Base ( wx.Frame ):
117
117
 
118
118
 
119
119
 
120
- # Virtual event handlers, overide them in your derived class
120
+ # Virtual event handlers, override them in your derived class
121
121
  def OnFormClose( self, event ):
122
122
  event.Skip()
123
123
 
@@ -174,9 +174,9 @@ class FormMain_Base ( wx.Frame ):
174
174
  class FormSerials_Base ( wx.Dialog ):
175
175
 
176
176
  def __init__( self, parent ):
177
- wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Scan serial numbers", pos = wx.DefaultPosition, size = wx.Size( 400,287 ), style = wx.STAY_ON_TOP )
177
+ wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Scan serial numbers", pos = wx.DefaultPosition, size = wx.Size( 400,431 ), style = wx.STAY_ON_TOP )
178
178
 
179
- self.SetSizeHints( wx.DefaultSize, wx.Size( 400,290 ) )
179
+ self.SetSizeHints( wx.DefaultSize, wx.Size( 400,500 ) )
180
180
 
181
181
  bSizer10 = wx.BoxSizer( wx.VERTICAL )
182
182
 
@@ -237,6 +237,56 @@ class FormSerials_Base ( wx.Dialog ):
237
237
 
238
238
  gSizer1.Add( self.m_txtSerial5, 1, wx.ALL|wx.EXPAND, 5 )
239
239
 
240
+ self.m_lblSerial6 = wx.StaticText( self, wx.ID_ANY, u"Board 6", wx.DefaultPosition, wx.DefaultSize, 0 )
241
+ self.m_lblSerial6.Wrap( -1 )
242
+
243
+ gSizer1.Add( self.m_lblSerial6, 2, wx.ALL|wx.EXPAND, 5 )
244
+
245
+ self.m_txtSerial6 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_PROCESS_ENTER )
246
+ self.m_txtSerial6.SetForegroundColour( wx.Colour( 0, 0, 0 ) )
247
+
248
+ gSizer1.Add( self.m_txtSerial6, 1, wx.ALL|wx.EXPAND, 5 )
249
+
250
+ self.m_lblSerial7 = wx.StaticText( self, wx.ID_ANY, u"Board 7", wx.DefaultPosition, wx.DefaultSize, 0 )
251
+ self.m_lblSerial7.Wrap( -1 )
252
+
253
+ gSizer1.Add( self.m_lblSerial7, 2, wx.ALL|wx.EXPAND, 5 )
254
+
255
+ self.m_txtSerial7 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_PROCESS_ENTER )
256
+ self.m_txtSerial7.SetForegroundColour( wx.Colour( 0, 0, 0 ) )
257
+
258
+ gSizer1.Add( self.m_txtSerial7, 1, wx.ALL|wx.EXPAND, 5 )
259
+
260
+ self.m_lblSerial8 = wx.StaticText( self, wx.ID_ANY, u"Board 8", wx.DefaultPosition, wx.DefaultSize, 0 )
261
+ self.m_lblSerial8.Wrap( -1 )
262
+
263
+ gSizer1.Add( self.m_lblSerial8, 2, wx.ALL|wx.EXPAND, 5 )
264
+
265
+ self.m_txtSerial8 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_PROCESS_ENTER )
266
+ self.m_txtSerial8.SetForegroundColour( wx.Colour( 0, 0, 0 ) )
267
+
268
+ gSizer1.Add( self.m_txtSerial8, 1, wx.ALL|wx.EXPAND, 5 )
269
+
270
+ self.m_lblSerial9 = wx.StaticText( self, wx.ID_ANY, u"Board 9", wx.DefaultPosition, wx.DefaultSize, 0 )
271
+ self.m_lblSerial9.Wrap( -1 )
272
+
273
+ gSizer1.Add( self.m_lblSerial9, 2, wx.ALL|wx.EXPAND, 5 )
274
+
275
+ self.m_txtSerial9 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_PROCESS_ENTER )
276
+ self.m_txtSerial9.SetForegroundColour( wx.Colour( 0, 0, 0 ) )
277
+
278
+ gSizer1.Add( self.m_txtSerial9, 1, wx.ALL|wx.EXPAND, 5 )
279
+
280
+ self.m_lblSerial10 = wx.StaticText( self, wx.ID_ANY, u"Board 10", wx.DefaultPosition, wx.DefaultSize, 0 )
281
+ self.m_lblSerial10.Wrap( -1 )
282
+
283
+ gSizer1.Add( self.m_lblSerial10, 2, wx.ALL|wx.EXPAND, 5 )
284
+
285
+ self.m_txtSerial10 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_PROCESS_ENTER )
286
+ self.m_txtSerial10.SetForegroundColour( wx.Colour( 0, 0, 0 ) )
287
+
288
+ gSizer1.Add( self.m_txtSerial10, 1, wx.ALL|wx.EXPAND, 5 )
289
+
240
290
 
241
291
  bSizer10.Add( gSizer1, 1, wx.EXPAND, 5 )
242
292
 
@@ -274,6 +324,16 @@ class FormSerials_Base ( wx.Dialog ):
274
324
  self.m_txtSerial4.Bind( wx.EVT_TEXT_ENTER, self.OnEnter4 )
275
325
  self.m_txtSerial5.Bind( wx.EVT_TEXT, self.OnText5 )
276
326
  self.m_txtSerial5.Bind( wx.EVT_TEXT_ENTER, self.OnEnter5 )
327
+ self.m_txtSerial6.Bind( wx.EVT_TEXT, self.OnText6 )
328
+ self.m_txtSerial6.Bind( wx.EVT_TEXT_ENTER, self.OnEnter6 )
329
+ self.m_txtSerial7.Bind( wx.EVT_TEXT, self.OnText7 )
330
+ self.m_txtSerial7.Bind( wx.EVT_TEXT_ENTER, self.OnEnter7 )
331
+ self.m_txtSerial8.Bind( wx.EVT_TEXT, self.OnText8 )
332
+ self.m_txtSerial8.Bind( wx.EVT_TEXT_ENTER, self.OnEnter8 )
333
+ self.m_txtSerial9.Bind( wx.EVT_TEXT, self.OnText9 )
334
+ self.m_txtSerial9.Bind( wx.EVT_TEXT_ENTER, self.OnEnter9 )
335
+ self.m_txtSerial10.Bind( wx.EVT_TEXT, self.OnText10 )
336
+ self.m_txtSerial10.Bind( wx.EVT_TEXT_ENTER, self.OnEnter10 )
277
337
  self.m_btnOK.Bind( wx.EVT_BUTTON, self.OnBtnOK )
278
338
  self.m_btnCancel.Bind( wx.EVT_BUTTON, self.OnBtnCancel )
279
339
 
@@ -281,7 +341,7 @@ class FormSerials_Base ( wx.Dialog ):
281
341
  pass
282
342
 
283
343
 
284
- # Virtual event handlers, overide them in your derived class
344
+ # Virtual event handlers, override them in your derived class
285
345
  def OnText1( self, event ):
286
346
  event.Skip()
287
347
 
@@ -312,6 +372,36 @@ class FormSerials_Base ( wx.Dialog ):
312
372
  def OnEnter5( self, event ):
313
373
  event.Skip()
314
374
 
375
+ def OnText6( self, event ):
376
+ event.Skip()
377
+
378
+ def OnEnter6( self, event ):
379
+ event.Skip()
380
+
381
+ def OnText7( self, event ):
382
+ event.Skip()
383
+
384
+ def OnEnter7( self, event ):
385
+ event.Skip()
386
+
387
+ def OnText8( self, event ):
388
+ event.Skip()
389
+
390
+ def OnEnter8( self, event ):
391
+ event.Skip()
392
+
393
+ def OnText9( self, event ):
394
+ event.Skip()
395
+
396
+ def OnEnter9( self, event ):
397
+ event.Skip()
398
+
399
+ def OnText10( self, event ):
400
+ event.Skip()
401
+
402
+ def OnEnter10( self, event ):
403
+ event.Skip()
404
+
315
405
  def OnBtnOK( self, event ):
316
406
  event.Skip()
317
407
 
@@ -386,7 +476,7 @@ class FormAskImage_Base ( wx.Dialog ):
386
476
  pass
387
477
 
388
478
 
389
- # Virtual event handlers, overide them in your derived class
479
+ # Virtual event handlers, override them in your derived class
390
480
  def OnButtonOK( self, event ):
391
481
  event.Skip()
392
482
 
@@ -457,7 +547,7 @@ class FormAskChoice_Base ( wx.Dialog ):
457
547
  pass
458
548
 
459
549
 
460
- # Virtual event handlers, overide them in your derived class
550
+ # Virtual event handlers, override them in your derived class
461
551
  def OnButtonOK( self, event ):
462
552
  event.Skip()
463
553
 
@@ -518,7 +608,7 @@ class FormOnTestFailure_Base ( wx.Dialog ):
518
608
  pass
519
609
 
520
610
 
521
- # Virtual event handlers, overide them in your derived class
611
+ # Virtual event handlers, override them in your derived class
522
612
  def OnBtnRetry( self, event ):
523
613
  event.Skip()
524
614
 
@@ -648,7 +738,7 @@ class Test_Panel ( wx.Panel ):
648
738
  pass
649
739
 
650
740
 
651
- # Virtual event handlers, overide them in your derived class
741
+ # Virtual event handlers, override them in your derived class
652
742
  def OnBinaryOff( self, event ):
653
743
  event.Skip()
654
744
 
@@ -702,7 +792,7 @@ class FormStop_base ( wx.Dialog ):
702
792
  pass
703
793
 
704
794
 
705
- # Virtual event handlers, overide them in your derived class
795
+ # Virtual event handlers, override them in your derived class
706
796
  def OnBtnStop( self, event ):
707
797
  event.Skip()
708
798
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: happyscript
3
- Version: 0.0.38
3
+ Version: 0.0.39
4
4
  Summary: Framework for running scripts
5
5
  Requires-Python: >=3.5
6
6
  Description-Content-Type: text/markdown
@@ -17,7 +17,7 @@ build-backend = "setuptools.build_meta"
17
17
  [project]
18
18
  name = "happyscript"
19
19
  description = "Framework for running scripts"
20
- version = "0.0.38"
20
+ version = "0.0.39"
21
21
  readme = "README.md"
22
22
  requires-python = ">=3.5"
23
23
  dependencies = [ "wxpython", "numpy" ]
File without changes
File without changes