def tab_name_editor(self):
        """Trigger the tab name editor."""
        index = self.tabwidget.currentIndex()
        self.tabwidget.tabBar().tab_name_editor.edit_tab(index)
def tab_name_editor ( self ) : index = self . tabwidget . currentIndex ( ) self . tabwidget . tabBar ( ) . tab_name_editor . edit_tab ( index )
Trigger the tab name editor.