183 |
183 |
184 updownsizer = wx.BoxSizer(wx.VERTICAL) |
184 updownsizer = wx.BoxSizer(wx.VERTICAL) |
185 baseparamseditor_sizer.AddSizer(updownsizer, 0, border=5, |
185 baseparamseditor_sizer.AddSizer(updownsizer, 0, border=5, |
186 flag=wx.LEFT|wx.ALIGN_CENTER_VERTICAL) |
186 flag=wx.LEFT|wx.ALIGN_CENTER_VERTICAL) |
187 |
187 |
|
188 ieccupbutton_id = wx.NewId() |
|
189 self.IECCUpButton = wx.lib.buttons.GenBitmapTextButton( |
|
190 id=ieccupbutton_id, bitmap=wx.Bitmap(opjimg('IECCDown')), |
|
191 name='IECUpButton', parent=self.ParamsEditor, pos=wx.Point(0, 0), |
|
192 size=wx.Size(16, 16), style=wx.NO_BORDER) |
|
193 self.IECCUpButton.Bind(wx.EVT_BUTTON, self.GetItemChannelChangedFunction(1), |
|
194 id=ieccupbutton_id) |
|
195 updownsizer.AddWindow(self.IECCUpButton, 0, border=0, flag=wx.ALIGN_LEFT) |
|
196 |
188 ieccdownbutton_id = wx.NewId() |
197 ieccdownbutton_id = wx.NewId() |
189 self.IECCDownButton = wx.lib.buttons.GenBitmapButton( |
198 self.IECCDownButton = wx.lib.buttons.GenBitmapButton( |
190 id=ieccdownbutton_id, bitmap=wx.Bitmap(opjimg('IECCDown')), |
199 id=ieccdownbutton_id, bitmap=wx.Bitmap(opjimg('IECCUp')), |
191 name='IECDownButton', parent=self.ParamsEditor, pos=wx.Point(0, 0), |
200 name='IECDownButton', parent=self.ParamsEditor, pos=wx.Point(0, 0), |
192 size=wx.Size(16, 16), style=wx.NO_BORDER) |
201 size=wx.Size(16, 16), style=wx.NO_BORDER) |
193 self.IECCDownButton.Bind(wx.EVT_BUTTON, self.GetItemChannelChangedFunction(-1), |
202 self.IECCDownButton.Bind(wx.EVT_BUTTON, self.GetItemChannelChangedFunction(-1), |
194 id=ieccdownbutton_id) |
203 id=ieccdownbutton_id) |
195 updownsizer.AddWindow(self.IECCDownButton, 0, border=0, flag=wx.ALIGN_LEFT) |
204 updownsizer.AddWindow(self.IECCDownButton, 0, border=0, flag=wx.ALIGN_LEFT) |
196 |
|
197 ieccupbutton_id = wx.NewId() |
|
198 self.IECCUpButton = wx.lib.buttons.GenBitmapTextButton( |
|
199 id=ieccupbutton_id, bitmap=wx.Bitmap(opjimg('IECCUp')), |
|
200 name='IECUpButton', parent=self.ParamsEditor, pos=wx.Point(0, 0), |
|
201 size=wx.Size(16, 16), style=wx.NO_BORDER) |
|
202 self.IECCUpButton.Bind(wx.EVT_BUTTON, self.GetItemChannelChangedFunction(1), |
|
203 id=ieccupbutton_id) |
|
204 updownsizer.AddWindow(self.IECCUpButton, 0, border=0, flag=wx.ALIGN_LEFT) |
|
205 |
205 |
206 confnodename_id = wx.NewId() |
206 confnodename_id = wx.NewId() |
207 self.ConfNodeName = wx.TextCtrl( |
207 self.ConfNodeName = wx.TextCtrl( |
208 self.ParamsEditor, confnodename_id, |
208 self.ParamsEditor, confnodename_id, |
209 size=wx.Size(150, 25), style=wx.NO_BORDER) |
209 size=wx.Size(150, 25), style=wx.NO_BORDER) |