Skip to content

TabBar

Base classes

Name Children Inherits
TabBarMixin
prettyqt.widgets.tabbar
QTabBar
PySide6.QtWidgets
QTabBar(self, /, parent: PySide6.QtWidgets.QWidget | None \= None, *, shape: PySide6.QtWidgets.QTabBar.Shape | None \= None, currentIndex: int | None \= None, count: int | None \= None, drawBase: bool | None \= None, iconSize: PySide6.QtCore.QSize | None \= None, elideMode: PySide6.QtCore.Qt.TextElideMode | None \= None, usesScrollButtons: bool | None \= None, tabsClosable: bool | None \= None, selectionBehaviorOnRemove: PySide6.QtWidgets.QTabBar.SelectionBehavior | None \= None, expanding: bool | None \= None, movable: bool | None \= None, documentMode: bool | None \= None, autoHide: bool | None \= None, changeCurrentOnDrag: bool | None \= None) -> None

⋔ Inheritance diagram

graph TD
  3568349667["widgets.TabBar"]
  2382896334["widgets.TabBarMixin"]
  829357528["widgets.WidgetMixin"]
  3227531497["core.ObjectMixin"]
  2751680898["builtins.object"]
  625385617["gui.PaintDeviceMixin"]
  4156639659["QtWidgets.QTabBar"]
  3620195106["QtWidgets.QWidget"]
  3984060476["QtCore.QObject"]
  37984305["Shiboken.Object"]
  673956333["QtGui.QPaintDevice"]
  2382896334 --> 3568349667
  829357528 --> 2382896334
  3227531497 --> 829357528
  2751680898 --> 3227531497
  625385617 --> 829357528
  2751680898 --> 625385617
  2751680898 --> 829357528
  2751680898 --> 2382896334
  4156639659 --> 3568349667
  3620195106 --> 4156639659
  3984060476 --> 3620195106
  37984305 --> 3984060476
  2751680898 --> 37984305
  673956333 --> 3620195106
  37984305 --> 673956333

🛈 DocStrings

Bases: TabBarMixin, QTabBar

Tab bar, e.g. for use in tabbed dialogs.

Source code in prettyqt/widgets/tabbar.py
class TabBar(TabBarMixin, widgets.QTabBar):
    """Tab bar, e.g. for use in tabbed dialogs."""

:fa-brands-github: Show source on GitHub