Example #1
0
 def onWizard(self, event):
     self.GetParent().GetParent().Hide()
     self.GetParent().GetParent().parent.controlWorkbench.videoView.stop()
     self.GetParent().GetParent().parent.calibrationWorkbench.videoView.stop()
     self.GetParent().GetParent().parent.scanningWorkbench.videoView.stop()
     self.GetParent().GetParent().parent.controlWorkbench.Disable()
     self.GetParent().GetParent().parent.calibrationWorkbench.Disable()
     self.GetParent().GetParent().parent.scanningWorkbench.Disable()
     wizard = Wizard(self.GetParent().GetParent().parent)
     self.GetParent().GetParent().parent.controlWorkbench.Enable()
     self.GetParent().GetParent().parent.calibrationWorkbench.Enable()
     self.GetParent().GetParent().parent.scanningWorkbench.Enable()
     self.GetParent().GetParent().Close()
Example #2
0
 def on_launch_wizard(self, event):
     self.workbench[profile.settings['workbench']].on_close()
     Wizard(self)
Example #3
0
 def on_wizard(self, event):
     parent = self.GetParent().GetParent()
     parent.Hide()
     Wizard(parent.parent)
     parent.Close()