code: def _add_log_tab(self):
          
  
          # text_tab = "Log (Alt+&{})".format(len(self.pages)+1)
          text_tab = "Log"
  
          self.pages.append(MyPage(text_tab=text_tab))
  
          # ### Log tab
          te = self.textEdit_log = self.keep_ref(QTextEdit())
          te.setReadOnly(True)
          self.tabWidget.addTab(te, text_tab)
docs: Adds element to pages and new tab