Example #1
0
 def edit_item(self):
     handle_excpetions(
         self.project_info.parent,
         lambda: edit_device_dialog(self.project_info, self.text()),
         ExceptionTypes.Device())
Example #2
0
 def display_item(self):
     handle_excpetions(
         self.project_info.parent, lambda: display_device_settings_dialog(
             self.text(), self.project_info), ExceptionTypes.Device())
Example #3
0
 def new_item(self):
     handle_excpetions(self.project_info.parent,
                       lambda: new_device_dialog(self.project_info),
                       ExceptionTypes.Device())