pyleecan.GUI.Dialog.DMachineSetup.DMachineSetup module¶
- class DMachineSetup(machine=None, material_dict=None, machine_path='')[source]¶
Bases:
Ui_DMachineSetup
,QWidget
Main windows of the Machine Setup Tools
- machineChanged¶
- rejected¶
- closeEvent(event)[source]¶
Display a message before leaving
- Parameters:
self (DMachineSetup) – A DMachineSetup object
event – The closing event
- s_save()[source]¶
Slot for saving the current machine to a json file
- Parameters:
self (DMachineSetup) – A DMachineSetup object
- s_save_close()[source]¶
Signal to save and close
- Parameters:
self (DMachineSetup) – A DMachineSetup object
- s_load()[source]¶
Slot to load a machine from a .json file (triggered by b_load)
- Parameters:
self (DMachineSetup) – A DMachineSetup object
Update the nav list to match the step of the current machine
Select the current widget according to the current machine type and the current nav index
- Parameters:
self (DMachineSetup) – A DMachineSetup object
index (int) – Current index of nav_step
- s_next()[source]¶
Signal to set the next step as accessible (and selected)
- Parameters:
self (DMachineSetup) – A DMachineSetup object
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- s_previous()[source]¶
Signal to set the previous page of w_page_stack as accessible (and selected)
- Parameters:
self (DMachineSetup) – A DMachineSetup object