Skip to content

PythonQt.QtGui.QStyleOptionTab

QStyleOptionTab

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

The QStyleOptionTab class is used for drawing several built-in Qt widgets including QTabBar and the panel for QTabWidget.

An instance of the QStyleOptionTab class has type SO_Tab and version 3. The type is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleOption subclass and your own styles. The version is used by QStyleOption subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally do not need to check it.

For an example demonstrating how style options can be used, see the Styles example.

Source: https://doc.qt.io/archives/qt-5.15/qstyleoptiontab.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
Beginning attribute Any (shared captured text)
CornerWidget attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
CornerWidgets attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
End attribute Any (shared captured text)
HasFrame attribute Any
LeftCornerWidget attribute Any
Middle attribute Any (shared captured text)
NextIsSelected attribute Any (shared captured text)
NoCornerWidgets attribute Any
None_ attribute Any (shared captured text)
NotAdjacent attribute Any (shared captured text)
OnlyOneTab attribute Any
OptionType attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
PreviousIsSelected attribute Any (shared captured text)
RightCornerWidget attribute Any
SO_Button attribute Any (shared captured text)
SO_ComboBox attribute Any (shared captured text)
SO_Complex attribute Any (shared captured text)
SO_ComplexCustomBase attribute Any (shared captured text)
SO_CustomBase attribute Any (shared captured text)
SO_Default attribute Any (shared captured text)
SO_DockWidget attribute Any (shared captured text)
SO_FocusRect attribute Any (shared captured text)
SO_Frame attribute Any (shared captured text)
SO_GraphicsItem attribute Any (shared captured text)
SO_GroupBox attribute Any (shared captured text)
SO_Header attribute Any (shared captured text)
SO_MenuItem attribute Any (shared captured text)
SO_ProgressBar attribute Any (shared captured text)
SO_RubberBand attribute Any (shared captured text)
SO_SizeGrip attribute Any (shared captured text)
SO_Slider attribute Any (shared captured text)
SO_SpinBox attribute Any (shared captured text)
SO_Tab attribute Any (shared captured text)
SO_TabBarBase attribute Any (shared captured text)
SO_TabWidgetFrame attribute Any (shared captured text)
SO_TitleBar attribute Any (shared captured text)
SO_ToolBar attribute Any (shared captured text)
SO_ToolBox attribute Any (shared captured text)
SO_ToolButton attribute Any (shared captured text)
SO_ViewItem attribute Any (shared captured text)
SelectedPosition attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
StyleOptionType attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
StyleOptionVersion attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
TabFeature attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
TabFeatures attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
TabPosition attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
Type attribute Any (shared captured text)
Version attribute Any (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
cornerWidgets attribute Any
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
direction attribute Any (shared captured text)
documentMode attribute Any
features attribute Any (shared captured text)
fontMetrics attribute QFontMetrics (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
icon attribute QIcon (shared captured text)
iconSize attribute QSize (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
initFrom function (self, w: Any) -> Any (shared captured text)
leftButtonSize attribute QSize
palette attribute QPalette (shared captured text)
position attribute Any (shared captured text)
rect attribute QRect (shared captured text)
rightButtonSize attribute QSize
row attribute Any
selectedPosition attribute Any (shared captured text)
shape attribute Any (shared captured text)
state attribute Any (shared captured text)
styleObject attribute QObject (shared captured text)
text attribute Any (shared captured text)
type attribute Any (shared captured text)
version attribute Any (shared captured text)