KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QTabBar

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QTabBar

Class hierarchy: QTabBar » QWidget » QObject

Sub-classes: ButtonPosition, QFlags_ButtonPosition, SelectionBehavior, QFlags_SelectionBehavior, Shape, QFlags_Shape

Public constructors

new QTabBarnew(QWidget ptr parent = nullptr)Constructor QTabBar::QTabBar(QWidget *parent)

Public methods

[const]QTabBar ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]stringaccessibleTabName(int index)Method QString QTabBar::accessibleTabName(int index)
intaddTab(string text)Method int QTabBar::addTab(const QString &text)
intaddTab(const QIcon icon,
string text)
Method int QTabBar::addTab(const QIcon &icon, const QString &text)
[const]boolautoHideMethod bool QTabBar::autoHide()
voidautoHide=(bool hide)Method void QTabBar::setAutoHide(bool hide)
[const]boolchangeCurrentOnDragMethod bool QTabBar::changeCurrentOnDrag()
voidchangeCurrentOnDrag=(bool change)Method void QTabBar::setChangeCurrentOnDrag(bool change)
[const]intcountMethod int QTabBar::count()
[signal]voidcurrentChanged(int index)Signal declaration for QTabBar::currentChanged(int index)
[const]intcurrentIndexMethod int QTabBar::currentIndex()
voidcurrentIndex=(int index)Method void QTabBar::setCurrentIndex(int index)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QTabBar::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QTabBar::destroyed(QObject *)
[const]booldocumentModeMethod bool QTabBar::documentMode()
voiddocumentMode=(bool set)Method void QTabBar::setDocumentMode(bool set)
[const]booldrawBaseMethod bool QTabBar::drawBase()
voiddrawBase=(bool drawTheBase)Method void QTabBar::setDrawBase(bool drawTheBase)
[const]Qt_TextElideModeelideModeMethod Qt::TextElideMode QTabBar::elideMode()
voidelideMode=(const Qt_TextElideMode arg1)Method void QTabBar::setElideMode(Qt::TextElideMode)
voidemit_currentChanged(int index)Emitter for signal void QTabBar::currentChanged(int index)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QTabBar::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QTabBar::destroyed(QObject *)
voidemit_objectNameChanged(string objectName)Emitter for signal void QTabBar::objectNameChanged(const QString &objectName)
voidemit_tabBarClicked(int index)Emitter for signal void QTabBar::tabBarClicked(int index)
voidemit_tabBarDoubleClicked(int index)Emitter for signal void QTabBar::tabBarDoubleClicked(int index)
voidemit_tabCloseRequested(int index)Emitter for signal void QTabBar::tabCloseRequested(int index)
voidemit_tabMoved(int from,
int to)
Emitter for signal void QTabBar::tabMoved(int from, int to)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QTabBar::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QTabBar::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QTabBar::windowTitleChanged(const QString &title)
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QTabBar::eventFilter(QObject *watched, QEvent *event)
[const]boolexpandingMethod bool QTabBar::expanding()
voidexpanding=(bool enabled)Method void QTabBar::setExpanding(bool enabled)
[const]boolhasHeightForWidthVirtual method bool QTabBar::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QTabBar::heightForWidth(int)
[const]QSizeiconSizeMethod QSize QTabBar::iconSize()
voidiconSize=(const QSize size)Method void QTabBar::setIconSize(const QSize &size)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QTabBar::inputMethodQuery(Qt::InputMethodQuery)
intinsertTab(int index,
string text)
Method int QTabBar::insertTab(int index, const QString &text)
intinsertTab(int index,
const QIcon icon,
string text)
Method int QTabBar::insertTab(int index, const QIcon &icon, const QString &text)
[const]boolisMovable?Method bool QTabBar::isMovable()
[const]boolisTabEnabled?(int index)Method bool QTabBar::isTabEnabled(int index)
[const]QSizeminimumSizeHintVirtual method QSize QTabBar::minimumSizeHint()
[const]boolmovableMethod bool QTabBar::isMovable()
voidmovable=(bool movable)Method void QTabBar::setMovable(bool movable)
voidmoveTab(int from,
int to)
Method void QTabBar::moveTab(int from, int to)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QTabBar::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QTabBar::paintEngine()
voidremoveTab(int index)Method void QTabBar::removeTab(int index)
[const]QTabBar_SelectionBehaviorselectionBehaviorOnRemoveMethod QTabBar::SelectionBehavior QTabBar::selectionBehaviorOnRemove()
voidselectionBehaviorOnRemove=(const QTabBar_SelectionBehavior behavior)Method void QTabBar::setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior)
voidsetAccessibleTabName(int index,
string name)
Method void QTabBar::setAccessibleTabName(int index, const QString &name)
voidsetAutoHide(bool hide)Method void QTabBar::setAutoHide(bool hide)
voidsetChangeCurrentOnDrag(bool change)Method void QTabBar::setChangeCurrentOnDrag(bool change)
voidsetCurrentIndex(int index)Method void QTabBar::setCurrentIndex(int index)
voidsetDocumentMode(bool set)Method void QTabBar::setDocumentMode(bool set)
voidsetDrawBase(bool drawTheBase)Method void QTabBar::setDrawBase(bool drawTheBase)
voidsetElideMode(const Qt_TextElideMode arg1)Method void QTabBar::setElideMode(Qt::TextElideMode)
voidsetExpanding(bool enabled)Method void QTabBar::setExpanding(bool enabled)
voidsetIconSize(const QSize size)Method void QTabBar::setIconSize(const QSize &size)
voidsetMovable(bool movable)Method void QTabBar::setMovable(bool movable)
voidsetSelectionBehaviorOnRemove(const QTabBar_SelectionBehavior behavior)Method void QTabBar::setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior)
voidsetShape(const QTabBar_Shape shape)Method void QTabBar::setShape(QTabBar::Shape shape)
voidsetTabButton(int index,
const QTabBar_ButtonPosition position,
QWidget ptr widget)
Method void QTabBar::setTabButton(int index, QTabBar::ButtonPosition position, QWidget *widget)
voidsetTabData(int index,
variant data)
Method void QTabBar::setTabData(int index, const QVariant &data)
voidsetTabEnabled(int index,
bool arg2)
Method void QTabBar::setTabEnabled(int index, bool)
voidsetTabIcon(int index,
const QIcon icon)
Method void QTabBar::setTabIcon(int index, const QIcon &icon)
voidsetTabText(int index,
string text)
Method void QTabBar::setTabText(int index, const QString &text)
voidsetTabTextColor(int index,
const QColor color)
Method void QTabBar::setTabTextColor(int index, const QColor &color)
voidsetTabToolTip(int index,
string tip)
Method void QTabBar::setTabToolTip(int index, const QString &tip)
voidsetTabWhatsThis(int index,
string text)
Method void QTabBar::setTabWhatsThis(int index, const QString &text)
voidsetTabsClosable(bool closable)Method void QTabBar::setTabsClosable(bool closable)
voidsetUsesScrollButtons(bool useButtons)Method void QTabBar::setUsesScrollButtons(bool useButtons)
voidsetVisible(bool visible)Virtual method void QTabBar::setVisible(bool visible)
[const]QTabBar_ShapeshapeMethod QTabBar::Shape QTabBar::shape()
voidshape=(const QTabBar_Shape shape)Method void QTabBar::setShape(QTabBar::Shape shape)
[const]QSizesizeHintVirtual method QSize QTabBar::sizeHint()
[const]inttabAt(const QPoint pos)Method int QTabBar::tabAt(const QPoint &pos)
[signal]voidtabBarClicked(int index)Signal declaration for QTabBar::tabBarClicked(int index)
[signal]voidtabBarDoubleClicked(int index)Signal declaration for QTabBar::tabBarDoubleClicked(int index)
[const]QWidget ptrtabButton(int index,
const QTabBar_ButtonPosition position)
Method QWidget *QTabBar::tabButton(int index, QTabBar::ButtonPosition position)
[signal]voidtabCloseRequested(int index)Signal declaration for QTabBar::tabCloseRequested(int index)
[const]varianttabData(int index)Method QVariant QTabBar::tabData(int index)
[const]QIcontabIcon(int index)Method QIcon QTabBar::tabIcon(int index)
[signal]voidtabMoved(int from,
int to)
Signal declaration for QTabBar::tabMoved(int from, int to)
[const]QRecttabRect(int index)Method QRect QTabBar::tabRect(int index)
[const]stringtabText(int index)Method QString QTabBar::tabText(int index)
[const]QColortabTextColor(int index)Method QColor QTabBar::tabTextColor(int index)
[const]stringtabToolTip(int index)Method QString QTabBar::tabToolTip(int index)
[const]stringtabWhatsThis(int index)Method QString QTabBar::tabWhatsThis(int index)
[const]booltabsClosableMethod bool QTabBar::tabsClosable()
voidtabsClosable=(bool closable)Method void QTabBar::setTabsClosable(bool closable)
[const]boolusesScrollButtonsMethod bool QTabBar::usesScrollButtons()
voidusesScrollButtons=(bool useButtons)Method void QTabBar::setUsesScrollButtons(bool useButtons)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QTabBar::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QTabBar::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QTabBar::windowTitleChanged(const QString &title)

Public static methods and constants

[static,const]QTabBar_ButtonPositionLeftSideEnum constant QTabBar::LeftSide
[static,const]QTabBar_ButtonPositionRightSideEnum constant QTabBar::RightSide
[static,const]QTabBar_ShapeRoundedEastEnum constant QTabBar::RoundedEast
[static,const]QTabBar_ShapeRoundedNorthEnum constant QTabBar::RoundedNorth
[static,const]QTabBar_ShapeRoundedSouthEnum constant QTabBar::RoundedSouth
[static,const]QTabBar_ShapeRoundedWestEnum constant QTabBar::RoundedWest
[static,const]QTabBar_SelectionBehaviorSelectLeftTabEnum constant QTabBar::SelectLeftTab
[static,const]QTabBar_SelectionBehaviorSelectPreviousTabEnum constant QTabBar::SelectPreviousTab
[static,const]QTabBar_SelectionBehaviorSelectRightTabEnum constant QTabBar::SelectRightTab
[static,const]QTabBar_ShapeTriangularEastEnum constant QTabBar::TriangularEast
[static,const]QTabBar_ShapeTriangularNorthEnum constant QTabBar::TriangularNorth
[static,const]QTabBar_ShapeTriangularSouthEnum constant QTabBar::TriangularSouth
[static,const]QTabBar_ShapeTriangularWestEnum constant QTabBar::TriangularWest
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QTabBar::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QTabBar::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QTabBar::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr arg1)Virtual method void QTabBar::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr event)Virtual method void QTabBar::childEvent(QChildEvent *event)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QTabBar::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QContextMenuEvent ptr event)Virtual method void QTabBar::contextMenuEvent(QContextMenuEvent *event)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTabBar::create(WId, bool initializeWindow, bool destroyOldWindow)
voidcustomEvent(QEvent ptr event)Virtual method void QTabBar::customEvent(QEvent *event)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTabBar::destroy(bool destroyWindow, bool destroySubWindows)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QTabBar::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QTabBar::dragEnterEvent(QDragEnterEvent *event)
voiddragLeaveEvent(QDragLeaveEvent ptr event)Virtual method void QTabBar::dragLeaveEvent(QDragLeaveEvent *event)
voiddragMoveEvent(QDragMoveEvent ptr event)Virtual method void QTabBar::dragMoveEvent(QDragMoveEvent *event)
voiddropEvent(QDropEvent ptr event)Virtual method void QTabBar::dropEvent(QDropEvent *event)
voidenterEvent(QEvent ptr event)Virtual method void QTabBar::enterEvent(QEvent *event)
boolevent(QEvent ptr arg1)Virtual method bool QTabBar::event(QEvent *)
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QTabBar::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QTabBar::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QTabBar::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QTabBar::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QTabBar::focusPreviousChild()
voidhideEvent(QHideEvent ptr arg1)Virtual method void QTabBar::hideEvent(QHideEvent *)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QTabBar::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionTab ptr option,
int tabIndex)
Method void QTabBar::initStyleOption(QStyleOptionTab *option, int tabIndex)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QTabBar::inputMethodEvent(QInputMethodEvent *)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QTabBar::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr arg1)Virtual method void QTabBar::keyPressEvent(QKeyEvent *)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QTabBar::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr event)Virtual method void QTabBar::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QTabBar::metric(QPaintDevice::PaintDeviceMetric)
[const]QSizeminimumTabSizeHint(int index)Virtual method QSize QTabBar::minimumTabSizeHint(int index)
voidmouseDoubleClickEvent(QMouseEvent ptr event)Virtual method void QTabBar::mouseDoubleClickEvent(QMouseEvent *event)
voidmouseMoveEvent(QMouseEvent ptr arg1)Virtual method void QTabBar::mouseMoveEvent(QMouseEvent *)
voidmousePressEvent(QMouseEvent ptr arg1)Virtual method void QTabBar::mousePressEvent(QMouseEvent *)
voidmouseReleaseEvent(QMouseEvent ptr arg1)Virtual method void QTabBar::mouseReleaseEvent(QMouseEvent *)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QTabBar::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QTabBar::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr arg1)Virtual method void QTabBar::paintEvent(QPaintEvent *)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTabBar::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTabBar::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QTabBar::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QTabBar::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr arg1)Virtual method void QTabBar::resizeEvent(QResizeEvent *)
[const]QObject ptrsenderMethod QObject *QTabBar::sender()
[const]intsenderSignalIndexMethod int QTabBar::senderSignalIndex()
[const]QPainter ptrsharedPainterVirtual method QPainter *QTabBar::sharedPainter()
voidshowEvent(QShowEvent ptr arg1)Virtual method void QTabBar::showEvent(QShowEvent *)
voidtabInserted(int index)Virtual method void QTabBar::tabInserted(int index)
voidtabLayoutChangeVirtual method void QTabBar::tabLayoutChange()
voidtabRemoved(int index)Virtual method void QTabBar::tabRemoved(int index)
[const]QSizetabSizeHint(int index)Virtual method QSize QTabBar::tabSizeHint(int index)
voidtabletEvent(QTabletEvent ptr event)Virtual method void QTabBar::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QTabBar::timerEvent(QTimerEvent *event)
voidupdateMicroFocusMethod void QTabBar::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr event)Virtual method void QTabBar::wheelEvent(QWheelEvent *event)

Detailed description

LeftSide

Signature: [static,const] QTabBar_ButtonPosition LeftSide

Description: Enum constant QTabBar::LeftSide

Python specific notes:
The object exposes a readable attribute 'LeftSide'. This is the getter.

RightSide

Signature: [static,const] QTabBar_ButtonPosition RightSide

Description: Enum constant QTabBar::RightSide

Python specific notes:
The object exposes a readable attribute 'RightSide'. This is the getter.

RoundedEast

Signature: [static,const] QTabBar_Shape RoundedEast

Description: Enum constant QTabBar::RoundedEast

Python specific notes:
The object exposes a readable attribute 'RoundedEast'. This is the getter.

RoundedNorth

Signature: [static,const] QTabBar_Shape RoundedNorth

Description: Enum constant QTabBar::RoundedNorth

Python specific notes:
The object exposes a readable attribute 'RoundedNorth'. This is the getter.

RoundedSouth

Signature: [static,const] QTabBar_Shape RoundedSouth

Description: Enum constant QTabBar::RoundedSouth

Python specific notes:
The object exposes a readable attribute 'RoundedSouth'. This is the getter.

RoundedWest

Signature: [static,const] QTabBar_Shape RoundedWest

Description: Enum constant QTabBar::RoundedWest

Python specific notes:
The object exposes a readable attribute 'RoundedWest'. This is the getter.

SelectLeftTab

Signature: [static,const] QTabBar_SelectionBehavior SelectLeftTab

Description: Enum constant QTabBar::SelectLeftTab

Python specific notes:
The object exposes a readable attribute 'SelectLeftTab'. This is the getter.

SelectPreviousTab

Signature: [static,const] QTabBar_SelectionBehavior SelectPreviousTab

Description: Enum constant QTabBar::SelectPreviousTab

Python specific notes:
The object exposes a readable attribute 'SelectPreviousTab'. This is the getter.

SelectRightTab

Signature: [static,const] QTabBar_SelectionBehavior SelectRightTab

Description: Enum constant QTabBar::SelectRightTab

Python specific notes:
The object exposes a readable attribute 'SelectRightTab'. This is the getter.

TriangularEast

Signature: [static,const] QTabBar_Shape TriangularEast

Description: Enum constant QTabBar::TriangularEast

Python specific notes:
The object exposes a readable attribute 'TriangularEast'. This is the getter.

TriangularNorth

Signature: [static,const] QTabBar_Shape TriangularNorth

Description: Enum constant QTabBar::TriangularNorth

Python specific notes:
The object exposes a readable attribute 'TriangularNorth'. This is the getter.

TriangularSouth

Signature: [static,const] QTabBar_Shape TriangularSouth

Description: Enum constant QTabBar::TriangularSouth

Python specific notes:
The object exposes a readable attribute 'TriangularSouth'. This is the getter.

TriangularWest

Signature: [static,const] QTabBar_Shape TriangularWest

Description: Enum constant QTabBar::TriangularWest

Python specific notes:
The object exposes a readable attribute 'TriangularWest'. This is the getter.

_const_cast

Signature: [const] QTabBar ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

accessibleTabName

Signature: [const] string accessibleTabName (int index)

Description: Method QString QTabBar::accessibleTabName(int index)

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QTabBar::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

addTab

(1) Signature: int addTab (string text)

Description: Method int QTabBar::addTab(const QString &text)

(2) Signature: int addTab (const QIcon icon, string text)

Description: Method int QTabBar::addTab(const QIcon &icon, const QString &text)

autoHide

Signature: [const] bool autoHide

Description: Method bool QTabBar::autoHide()

Python specific notes:
The object exposes a readable attribute 'autoHide'. This is the getter.

autoHide=

Signature: void autoHide= (bool hide)

Description: Method void QTabBar::setAutoHide(bool hide)

Python specific notes:
The object exposes a writable attribute 'autoHide'. This is the setter.

changeCurrentOnDrag

Signature: [const] bool changeCurrentOnDrag

Description: Method bool QTabBar::changeCurrentOnDrag()

Python specific notes:
The object exposes a readable attribute 'changeCurrentOnDrag'. This is the getter.

changeCurrentOnDrag=

Signature: void changeCurrentOnDrag= (bool change)

Description: Method void QTabBar::setChangeCurrentOnDrag(bool change)

Python specific notes:
The object exposes a writable attribute 'changeCurrentOnDrag'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QTabBar::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QTabBar::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QTabBar::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr event)

Description: Virtual method void QTabBar::contextMenuEvent(QContextMenuEvent *event)

This method can be reimplemented in a derived class.

count

Signature: [const] int count

Description: Method int QTabBar::count()

Python specific notes:
The object exposes a readable attribute 'count'. This is the getter.

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTabBar::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

currentChanged

Signature: [signal] void currentChanged (int index)

Description: Signal declaration for QTabBar::currentChanged(int index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentChanged'. This is the getter.
The object exposes a writable attribute 'currentChanged'. This is the setter.

currentIndex

Signature: [const] int currentIndex

Description: Method int QTabBar::currentIndex()

Python specific notes:
The object exposes a readable attribute 'currentIndex'. This is the getter.

currentIndex=

Signature: void currentIndex= (int index)

Description: Method void QTabBar::setCurrentIndex(int index)

Python specific notes:
The object exposes a writable attribute 'currentIndex'. This is the setter.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QTabBar::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QTabBar::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTabBar::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QTabBar::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QTabBar::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

documentMode

Signature: [const] bool documentMode

Description: Method bool QTabBar::documentMode()

Python specific notes:
The object exposes a readable attribute 'documentMode'. This is the getter.

documentMode=

Signature: void documentMode= (bool set)

Description: Method void QTabBar::setDocumentMode(bool set)

Python specific notes:
The object exposes a writable attribute 'documentMode'. This is the setter.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr event)

Description: Virtual method void QTabBar::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr event)

Description: Virtual method void QTabBar::dragLeaveEvent(QDragLeaveEvent *event)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr event)

Description: Virtual method void QTabBar::dragMoveEvent(QDragMoveEvent *event)

This method can be reimplemented in a derived class.

drawBase

Signature: [const] bool drawBase

Description: Method bool QTabBar::drawBase()

Python specific notes:
The object exposes a readable attribute 'drawBase'. This is the getter.

drawBase=

Signature: void drawBase= (bool drawTheBase)

Description: Method void QTabBar::setDrawBase(bool drawTheBase)

Python specific notes:
The object exposes a writable attribute 'drawBase'. This is the setter.

dropEvent

Signature: void dropEvent (QDropEvent ptr event)

Description: Virtual method void QTabBar::dropEvent(QDropEvent *event)

This method can be reimplemented in a derived class.

elideMode

Signature: [const] Qt_TextElideMode elideMode

Description: Method Qt::TextElideMode QTabBar::elideMode()

Python specific notes:
The object exposes a readable attribute 'elideMode'. This is the getter.

elideMode=

Signature: void elideMode= (const Qt_TextElideMode arg1)

Description: Method void QTabBar::setElideMode(Qt::TextElideMode)

Python specific notes:
The object exposes a writable attribute 'elideMode'. This is the setter.

emit_currentChanged

Signature: void emit_currentChanged (int index)

Description: Emitter for signal void QTabBar::currentChanged(int index)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QTabBar::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QTabBar::destroyed(QObject *)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QTabBar::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_tabBarClicked

Signature: void emit_tabBarClicked (int index)

Description: Emitter for signal void QTabBar::tabBarClicked(int index)

Call this method to emit this signal.

emit_tabBarDoubleClicked

Signature: void emit_tabBarDoubleClicked (int index)

Description: Emitter for signal void QTabBar::tabBarDoubleClicked(int index)

Call this method to emit this signal.

emit_tabCloseRequested

Signature: void emit_tabCloseRequested (int index)

Description: Emitter for signal void QTabBar::tabCloseRequested(int index)

Call this method to emit this signal.

emit_tabMoved

Signature: void emit_tabMoved (int from, int to)

Description: Emitter for signal void QTabBar::tabMoved(int from, int to)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QTabBar::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QTabBar::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QTabBar::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QTabBar::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr arg1)

Description: Virtual method bool QTabBar::event(QEvent *)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr watched, QEvent ptr event)

Description: Virtual method bool QTabBar::eventFilter(QObject *watched, QEvent *event)

This method can be reimplemented in a derived class.

expanding

Signature: [const] bool expanding

Description: Method bool QTabBar::expanding()

Python specific notes:
The object exposes a readable attribute 'expanding'. This is the getter.

expanding=

Signature: void expanding= (bool enabled)

Description: Method void QTabBar::setExpanding(bool enabled)

Python specific notes:
The object exposes a writable attribute 'expanding'. This is the setter.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QTabBar::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QTabBar::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QTabBar::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QTabBar::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QTabBar::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QTabBar::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QTabBar::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

Description: Virtual method void QTabBar::hideEvent(QHideEvent *)

This method can be reimplemented in a derived class.

iconSize

Signature: [const] QSize iconSize

Description: Method QSize QTabBar::iconSize()

Python specific notes:
The object exposes a readable attribute 'iconSize'. This is the getter.

iconSize=

Signature: void iconSize= (const QSize size)

Description: Method void QTabBar::setIconSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'iconSize'. This is the setter.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QTabBar::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionTab ptr option, int tabIndex)

Description: Method void QTabBar::initStyleOption(QStyleOptionTab *option, int tabIndex)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QTabBar::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QTabBar::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

insertTab

(1) Signature: int insertTab (int index, string text)

Description: Method int QTabBar::insertTab(int index, const QString &text)

(2) Signature: int insertTab (int index, const QIcon icon, string text)

Description: Method int QTabBar::insertTab(int index, const QIcon &icon, const QString &text)

isMovable?

Signature: [const] bool isMovable?

Description: Method bool QTabBar::isMovable()

Python specific notes:
The object exposes a readable attribute 'movable'. This is the getter.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QTabBar::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

isTabEnabled?

Signature: [const] bool isTabEnabled? (int index)

Description: Method bool QTabBar::isTabEnabled(int index)

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr arg1)

Description: Virtual method void QTabBar::keyPressEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QTabBar::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QTabBar::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QTabBar::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QTabBar::minimumSizeHint()

This method can be reimplemented in a derived class.

minimumTabSizeHint

Signature: [const] QSize minimumTabSizeHint (int index)

Description: Virtual method QSize QTabBar::minimumTabSizeHint(int index)

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

Description: Virtual method void QTabBar::mouseDoubleClickEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr arg1)

Description: Virtual method void QTabBar::mouseMoveEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr arg1)

Description: Virtual method void QTabBar::mousePressEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr arg1)

Description: Virtual method void QTabBar::mouseReleaseEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

movable

Signature: [const] bool movable

Description: Method bool QTabBar::isMovable()

Python specific notes:
The object exposes a readable attribute 'movable'. This is the getter.

movable=

Signature: void movable= (bool movable)

Description: Method void QTabBar::setMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'movable'. This is the setter.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QTabBar::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

moveTab

Signature: void moveTab (int from, int to)

Description: Method void QTabBar::moveTab(int from, int to)

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QTabBar::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QTabBar new (QWidget ptr parent = nullptr)

Description: Constructor QTabBar::QTabBar(QWidget *parent)

This method creates an object of class QTabBar.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QTabBar::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QTabBar::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr arg1)

Description: Virtual method void QTabBar::paintEvent(QPaintEvent *)

This method can be reimplemented in a derived class.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTabBar::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTabBar::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QTabBar::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QTabBar::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

removeTab

Signature: void removeTab (int index)

Description: Method void QTabBar::removeTab(int index)

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr arg1)

Description: Virtual method void QTabBar::resizeEvent(QResizeEvent *)

This method can be reimplemented in a derived class.

selectionBehaviorOnRemove

Signature: [const] QTabBar_SelectionBehavior selectionBehaviorOnRemove

Description: Method QTabBar::SelectionBehavior QTabBar::selectionBehaviorOnRemove()

Python specific notes:
The object exposes a readable attribute 'selectionBehaviorOnRemove'. This is the getter.

selectionBehaviorOnRemove=

Signature: void selectionBehaviorOnRemove= (const QTabBar_SelectionBehavior behavior)

Description: Method void QTabBar::setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior)

Python specific notes:
The object exposes a writable attribute 'selectionBehaviorOnRemove'. This is the setter.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QTabBar::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QTabBar::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setAccessibleTabName

Signature: void setAccessibleTabName (int index, string name)

Description: Method void QTabBar::setAccessibleTabName(int index, const QString &name)

setAutoHide

Signature: void setAutoHide (bool hide)

Description: Method void QTabBar::setAutoHide(bool hide)

Python specific notes:
The object exposes a writable attribute 'autoHide'. This is the setter.

setChangeCurrentOnDrag

Signature: void setChangeCurrentOnDrag (bool change)

Description: Method void QTabBar::setChangeCurrentOnDrag(bool change)

Python specific notes:
The object exposes a writable attribute 'changeCurrentOnDrag'. This is the setter.

setCurrentIndex

Signature: void setCurrentIndex (int index)

Description: Method void QTabBar::setCurrentIndex(int index)

Python specific notes:
The object exposes a writable attribute 'currentIndex'. This is the setter.

setDocumentMode

Signature: void setDocumentMode (bool set)

Description: Method void QTabBar::setDocumentMode(bool set)

Python specific notes:
The object exposes a writable attribute 'documentMode'. This is the setter.

setDrawBase

Signature: void setDrawBase (bool drawTheBase)

Description: Method void QTabBar::setDrawBase(bool drawTheBase)

Python specific notes:
The object exposes a writable attribute 'drawBase'. This is the setter.

setElideMode

Signature: void setElideMode (const Qt_TextElideMode arg1)

Description: Method void QTabBar::setElideMode(Qt::TextElideMode)

Python specific notes:
The object exposes a writable attribute 'elideMode'. This is the setter.

setExpanding

Signature: void setExpanding (bool enabled)

Description: Method void QTabBar::setExpanding(bool enabled)

Python specific notes:
The object exposes a writable attribute 'expanding'. This is the setter.

setIconSize

Signature: void setIconSize (const QSize size)

Description: Method void QTabBar::setIconSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'iconSize'. This is the setter.

setMovable

Signature: void setMovable (bool movable)

Description: Method void QTabBar::setMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'movable'. This is the setter.

setSelectionBehaviorOnRemove

Signature: void setSelectionBehaviorOnRemove (const QTabBar_SelectionBehavior behavior)

Description: Method void QTabBar::setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior)

Python specific notes:
The object exposes a writable attribute 'selectionBehaviorOnRemove'. This is the setter.

setShape

Signature: void setShape (const QTabBar_Shape shape)

Description: Method void QTabBar::setShape(QTabBar::Shape shape)

Python specific notes:
The object exposes a writable attribute 'shape'. This is the setter.

setTabButton

Signature: void setTabButton (int index, const QTabBar_ButtonPosition position, QWidget ptr widget)

Description: Method void QTabBar::setTabButton(int index, QTabBar::ButtonPosition position, QWidget *widget)

setTabData

Signature: void setTabData (int index, variant data)

Description: Method void QTabBar::setTabData(int index, const QVariant &data)

setTabEnabled

Signature: void setTabEnabled (int index, bool arg2)

Description: Method void QTabBar::setTabEnabled(int index, bool)

setTabIcon

Signature: void setTabIcon (int index, const QIcon icon)

Description: Method void QTabBar::setTabIcon(int index, const QIcon &icon)

setTabText

Signature: void setTabText (int index, string text)

Description: Method void QTabBar::setTabText(int index, const QString &text)

setTabTextColor

Signature: void setTabTextColor (int index, const QColor color)

Description: Method void QTabBar::setTabTextColor(int index, const QColor &color)

setTabToolTip

Signature: void setTabToolTip (int index, string tip)

Description: Method void QTabBar::setTabToolTip(int index, const QString &tip)

setTabWhatsThis

Signature: void setTabWhatsThis (int index, string text)

Description: Method void QTabBar::setTabWhatsThis(int index, const QString &text)

setTabsClosable

Signature: void setTabsClosable (bool closable)

Description: Method void QTabBar::setTabsClosable(bool closable)

Python specific notes:
The object exposes a writable attribute 'tabsClosable'. This is the setter.

setUsesScrollButtons

Signature: void setUsesScrollButtons (bool useButtons)

Description: Method void QTabBar::setUsesScrollButtons(bool useButtons)

Python specific notes:
The object exposes a writable attribute 'usesScrollButtons'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QTabBar::setVisible(bool visible)

This method can be reimplemented in a derived class.

shape

Signature: [const] QTabBar_Shape shape

Description: Method QTabBar::Shape QTabBar::shape()

Python specific notes:
The object exposes a readable attribute 'shape'. This is the getter.

shape=

Signature: void shape= (const QTabBar_Shape shape)

Description: Method void QTabBar::setShape(QTabBar::Shape shape)

Python specific notes:
The object exposes a writable attribute 'shape'. This is the setter.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QTabBar::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

Description: Virtual method void QTabBar::showEvent(QShowEvent *)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QTabBar::sizeHint()

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

tabAt

Signature: [const] int tabAt (const QPoint pos)

Description: Method int QTabBar::tabAt(const QPoint &pos)

tabBarClicked

Signature: [signal] void tabBarClicked (int index)

Description: Signal declaration for QTabBar::tabBarClicked(int index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'tabBarClicked'. This is the getter.
The object exposes a writable attribute 'tabBarClicked'. This is the setter.

tabBarDoubleClicked

Signature: [signal] void tabBarDoubleClicked (int index)

Description: Signal declaration for QTabBar::tabBarDoubleClicked(int index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'tabBarDoubleClicked'. This is the getter.
The object exposes a writable attribute 'tabBarDoubleClicked'. This is the setter.

tabButton

Signature: [const] QWidget ptr tabButton (int index, const QTabBar_ButtonPosition position)

Description: Method QWidget *QTabBar::tabButton(int index, QTabBar::ButtonPosition position)

tabCloseRequested

Signature: [signal] void tabCloseRequested (int index)

Description: Signal declaration for QTabBar::tabCloseRequested(int index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'tabCloseRequested'. This is the getter.
The object exposes a writable attribute 'tabCloseRequested'. This is the setter.

tabData

Signature: [const] variant tabData (int index)

Description: Method QVariant QTabBar::tabData(int index)

tabIcon

Signature: [const] QIcon tabIcon (int index)

Description: Method QIcon QTabBar::tabIcon(int index)

tabInserted

Signature: void tabInserted (int index)

Description: Virtual method void QTabBar::tabInserted(int index)

This method can be reimplemented in a derived class.

tabLayoutChange

Signature: void tabLayoutChange

Description: Virtual method void QTabBar::tabLayoutChange()

This method can be reimplemented in a derived class.

tabMoved

Signature: [signal] void tabMoved (int from, int to)

Description: Signal declaration for QTabBar::tabMoved(int from, int to)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'tabMoved'. This is the getter.
The object exposes a writable attribute 'tabMoved'. This is the setter.

tabRect

Signature: [const] QRect tabRect (int index)

Description: Method QRect QTabBar::tabRect(int index)

tabRemoved

Signature: void tabRemoved (int index)

Description: Virtual method void QTabBar::tabRemoved(int index)

This method can be reimplemented in a derived class.

tabSizeHint

Signature: [const] QSize tabSizeHint (int index)

Description: Virtual method QSize QTabBar::tabSizeHint(int index)

This method can be reimplemented in a derived class.

tabText

Signature: [const] string tabText (int index)

Description: Method QString QTabBar::tabText(int index)

tabTextColor

Signature: [const] QColor tabTextColor (int index)

Description: Method QColor QTabBar::tabTextColor(int index)

tabToolTip

Signature: [const] string tabToolTip (int index)

Description: Method QString QTabBar::tabToolTip(int index)

tabWhatsThis

Signature: [const] string tabWhatsThis (int index)

Description: Method QString QTabBar::tabWhatsThis(int index)

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QTabBar::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

tabsClosable

Signature: [const] bool tabsClosable

Description: Method bool QTabBar::tabsClosable()

Python specific notes:
The object exposes a readable attribute 'tabsClosable'. This is the getter.

tabsClosable=

Signature: void tabsClosable= (bool closable)

Description: Method void QTabBar::setTabsClosable(bool closable)

Python specific notes:
The object exposes a writable attribute 'tabsClosable'. This is the setter.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QTabBar::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QTabBar::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QTabBar::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QTabBar::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

usesScrollButtons

Signature: [const] bool usesScrollButtons

Description: Method bool QTabBar::usesScrollButtons()

Python specific notes:
The object exposes a readable attribute 'usesScrollButtons'. This is the getter.

usesScrollButtons=

Signature: void usesScrollButtons= (bool useButtons)

Description: Method void QTabBar::setUsesScrollButtons(bool useButtons)

Python specific notes:
The object exposes a writable attribute 'usesScrollButtons'. This is the setter.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr event)

Description: Virtual method void QTabBar::wheelEvent(QWheelEvent *event)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QTabBar::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QTabBar::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QTabBar::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.