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