- All Implemented Interfaces:
QtObjectInterface,Cloneable
Used to describe the parameters for drawing a tab bar
Java wrapper for Qt class QStyleOptionTab
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQStyleOptionTab::CornerWidgetstatic final classQFlagstype for enumQStyleOptionTab.CornerWidgetstatic enumJava wrapper for Qt enumQStyleOptionTab::SelectedPositionstatic enumJava wrapper for Qt enumQStyleOptionTab::TabFeaturestatic final classQFlagstype for enumQStyleOptionTab.TabFeaturestatic enumJava wrapper for Qt enumQStyleOptionTab::TabPosition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionTab arg__1) SeeQStyleOptionTab::operator=(QStyleOptionTab) clone()Creates and returns a copy of this object.OR combination of CornerWidget values indicating the corner widgets of the tab barfinal booleanWhether the tabbar is in document modefeatures()SeeQStyleOptionTab::features final QIconicon()The icon for the tabfinal QSizeiconSize()The size for the iconsfinal QSizeThe size for the left widget on the tabposition()The position of the tab in the tab barfinal QSizeThe size for the right widget on the tabfinal introw()Which row the tab is currently inThe position of the selected tab in relation to this tabfinal voidset(QStyleOptionTab arg__1) Deprecated.final voidsetCornerWidgets(QStyleOptionTab.CornerWidget ... cornerWidgets) Overloaded function forsetCornerWidgets(io.qt.widgets.QStyleOptionTab.CornerWidgets).final voidsetCornerWidgets(QStyleOptionTab.CornerWidgets cornerWidgets) OR combination of CornerWidget values indicating the corner widgets of the tab barfinal voidsetDocumentMode(boolean documentMode) Whether the tabbar is in document modefinal voidsetFeatures(QStyleOptionTab.TabFeature ... features) Overloaded function forsetFeatures(io.qt.widgets.QStyleOptionTab.TabFeatures).final voidsetFeatures(QStyleOptionTab.TabFeatures features) SeeQStyleOptionTab::features final voidThe icon for the tabfinal voidOverloaded function forsetIcon(io.qt.gui.QIcon).final voidsetIconSize(QSize iconSize) The size for the iconsfinal voidsetLeftButtonSize(QSize leftButtonSize) The size for the left widget on the tabfinal voidsetPosition(QStyleOptionTab.TabPosition position) The position of the tab in the tab barfinal voidsetRightButtonSize(QSize rightButtonSize) The size for the right widget on the tabfinal voidsetRow(int row) Which row the tab is currently infinal voidsetSelectedPosition(QStyleOptionTab.SelectedPosition selectedPosition) The position of the selected tab in relation to this tabfinal voidsetShape(QTabBar.Shape shape) The tab shape used to draw the tab; by default QTabBar::RoundedNorthfinal voidsetTabIndex(int tabIndex) The index for the tab being representedfinal voidThe text of the tabfinal QTabBar.Shapeshape()The tab shape used to draw the tab; by default QTabBar::RoundedNorthfinal inttabIndex()The index for the tab being representedfinal Stringtext()The text of the tabMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toStringMethods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionTab
public QStyleOptionTab() -
QStyleOptionTab
-
-
Method Details
-
assign
See
QStyleOptionTab::operator=(QStyleOptionTab) -
setCornerWidgets
OR combination of CornerWidget values indicating the corner widgets of the tab bar
-
cornerWidgets
OR combination of CornerWidget values indicating the corner widgets of the tab bar
-
setDocumentMode
Whether the tabbar is in document mode
-
documentMode
Whether the tabbar is in document mode
-
setFeatures
See
QStyleOptionTab::features -
features
See
QStyleOptionTab::features -
setIcon
The icon for the tab
-
icon
The icon for the tab
-
setIconSize
The size for the icons
-
iconSize
The size for the icons
-
setLeftButtonSize
The size for the left widget on the tab
-
leftButtonSize
The size for the left widget on the tab
-
setPosition
The position of the tab in the tab bar
-
position
The position of the tab in the tab bar
-
setRightButtonSize
The size for the right widget on the tab
-
rightButtonSize
The size for the right widget on the tab
-
setRow
Which row the tab is currently in
-
row
Which row the tab is currently in
-
setSelectedPosition
@QtUninvokable public final void setSelectedPosition(QStyleOptionTab.SelectedPosition selectedPosition) The position of the selected tab in relation to this tab
-
selectedPosition
The position of the selected tab in relation to this tab
-
setShape
The tab shape used to draw the tab; by default QTabBar::RoundedNorth
-
shape
The tab shape used to draw the tab; by default QTabBar::RoundedNorth
-
setTabIndex
The index for the tab being represented
-
tabIndex
The index for the tab being represented
-
setText
The text of the tab
-
text
The text of the tab
-
clone
Creates and returns a copy of this object.
- Overrides:
clonein classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTab)instead. -
setCornerWidgets
Overloaded function for
setCornerWidgets(io.qt.widgets.QStyleOptionTab.CornerWidgets). -
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionTab.TabFeatures). -
setIcon
Overloaded function for
setIcon(io.qt.gui.QIcon).
-
assign(io.qt.widgets.QStyleOptionTab)instead.