code: def load_data(self):
          
  
          for index in reversed(self.stack_history):
              text = self.tabs.tabText(index)
              text = text.replace('&', '')
              item = QListWidgetItem(ima.icon('TextFileIcon'), text)
              self.addItem(item)
docs: Fill ListWidget with the tabs texts.
  
          Add elements in inverse order of stack_history.