GlueTabBar

class glue.utils.qt.GlueTabBar(parent: QWidget = None)

Bases: PyQt5.QtWidgets.QTabBar

Methods Summary

choose_rename_tab([index])

Prompt user to rename a tab

mouseDoubleClickEvent(self, QMouseEvent)

rename_tab(index, label)

Updates the name used for given tab

Methods Documentation

choose_rename_tab(index=None)

Prompt user to rename a tab

Parameters
indexint

Index of tab to edit. Defaults to current index

mouseDoubleClickEvent(self, QMouseEvent)
rename_tab(index, label)

Updates the name used for given tab

Parameters
indexint

Index of tab to edit. Defaults to current index

labelstr

New label to use for this tab