예제 #1
0
 def edit_item(self):
     handle_excpetions(self.project_info.parent,
                       lambda: edit_product_dialog(self.project_info, self.text()),
                       ExceptionTypes.Product())
예제 #2
0
 def display_item(self):
     handle_excpetions(self.project_info.parent,
                       lambda: display_product_settings_dialog(self.text(), self.project_info),
                       ExceptionTypes.Product())
예제 #3
0
 def new_item(self):
     handle_excpetions(self.project_info.parent,
                       lambda: new_product_dialog(self.project_info),
                       ExceptionTypes.Product())