Exemplo n.º 1
0
 def edit_item(self):
     handle_excpetions(self.project_info.parent,
                       lambda: edit_hardwaresetup_dialog(self.project_info, self.text()),
                       ExceptionTypes.Hardware())
Exemplo n.º 2
0
 def display_item(self):
     handle_excpetions(self.project_info.parent,
                       lambda: display_hardware_settings_dialog(self.text(), self.project_info),
                       ExceptionTypes.Hardware())
Exemplo n.º 3
0
 def new_item(self):
     handle_excpetions(self.project_info.parent,
                       lambda: new_hardwaresetup_dialog(self.project_info),
                       ExceptionTypes.Hardware())