def execute(self): print(self) try: self.select_image() except Exception as e: exceptionhandler.ExceptionHandler(e, self.gui).handle() pass
def execute(self): print(self) try: self.get_audio_file() except Exception as e: exceptionhandler.ExceptionHandler(e, self.gui).handle() pass
def execute(self): print(self) try: print(self) _selected_page = str( self.gui.tab2_page_listwidget.currentItem().text()) print(_selected_page) _page = self.get_selected_page(_selected_page) print("chapter", _page.page_name) self.context.current_page = _page assert _page is not None self.load_label_list_to_ui() except Exception as e: exceptionhandler.ExceptionHandler(e, self.gui).handle() pass
def execute(self): print(self) try: print(self) _selected_label_index = str( self.gui.tab2_label_listwidget.currentRow()) print(_selected_label_index) _label = self.get_selected_label(_selected_label_index) self.context.current_label = _label assert _label is not None self.load_label_info_to_ui() except Exception as e: exceptionhandler.ExceptionHandler(e, self.gui).handle() pass
def execute(self): try: print(self) #self.gui.tab2_page_listwidget.clear() _selected_chapter = str( self.gui.tab2_chapter_select_combobox.currentText()) print("_selected chapter", _selected_chapter) _chapter = self.get_selected_chapter(_selected_chapter) print("chapter returned", len(_chapter.page_list)) self.context.current_chapter = _chapter #assert _chapter is not None self.load_page_list_to_ui() self.reset_context() except Exception as e: exceptionhandler.ExceptionHandler(e, self.gui).handle() pass
def execute(self): try: self.identify_label() except Exception as e: exceptionhandler.ExceptionHandler(e,self.gui).handle() pass