button = wx.Button(self, -1, buttonText)\r
self.GetSizer().Add(text, pos=(self.rowNr, 0), span=(1,1), flag=wx.LEFT)\r
self.GetSizer().Add(button, pos=(self.rowNr, 1), span=(1,1), flag=wx.LEFT)\r
+ self.rowNr += 1\r
return text, button\r
\r
def AllowNext(self):\r
# load and slice buttons.
loadButton = wx.Button(self, -1, 'Load Model')
- sliceButton = wx.Button(self, -1, 'Slice to GCode')
- printButton = wx.Button(self, -1, 'Print GCode')
+ sliceButton = wx.Button(self, -1, 'Prepare print')
+ printButton = wx.Button(self, -1, 'Print')
self.Bind(wx.EVT_BUTTON, lambda e: self._showModelLoadDialog(1), loadButton)
self.Bind(wx.EVT_BUTTON, self.OnSlice, sliceButton)
self.Bind(wx.EVT_BUTTON, self.OnPrint, printButton)
# load and slice buttons.
loadButton = wx.Button(self, -1, 'Load Model')
- sliceButton = wx.Button(self, -1, 'Slice to GCode')
- printButton = wx.Button(self, -1, 'Print GCode')
+ sliceButton = wx.Button(self, -1, 'Prepare print')
+ printButton = wx.Button(self, -1, 'Print')
self.Bind(wx.EVT_BUTTON, self.OnLoadModel, loadButton)
self.Bind(wx.EVT_BUTTON, self.OnSlice, sliceButton)
self.Bind(wx.EVT_BUTTON, self.OnPrint, printButton)