- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a tab bar
Java wrapper for Qt's class QStyleOptionTab
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QStyleOptionTab::CornerWidgetstatic final class
QFlags type for enumQStyleOptionTab.CornerWidget
static enum
Java wrapper for Qt enum QStyleOptionTab::SelectedPositionstatic enum
Java wrapper for Qt enum QStyleOptionTab::TabFeaturestatic final class
QFlags type for enumQStyleOptionTab.TabFeature
static enum
Java wrapper for Qt enum QStyleOptionTab::TabPositionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QStyleOptionTab
(QStyleOptionTab other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
OR combination of CornerWidget values indicating the corner widgets of the tab barfinal boolean
Whether the tabbar is in document modefeatures()
final QIcon
icon()
The icon for the tabfinal QSize
iconSize()
The size for the iconsfinal QSize
The size for the left widget on the tabposition()
The position of the tab in the tab barfinal QSize
The size for the right widget on the tabfinal int
row()
Which row the tab is currently inThe position of the selected tab in relation to this tabfinal void
set
(QStyleOptionTab arg__1) final void
setCornerWidgets
(QStyleOptionTab.CornerWidget... cornerWidgets) Overloaded function forsetCornerWidgets(io.qt.widgets.QStyleOptionTab.CornerWidgets)
.final void
setCornerWidgets
(QStyleOptionTab.CornerWidgets cornerWidgets) OR combination of CornerWidget values indicating the corner widgets of the tab barfinal void
setDocumentMode
(boolean documentMode) Whether the tabbar is in document modefinal void
setFeatures
(QStyleOptionTab.TabFeature... features) Overloaded function forsetFeatures(io.qt.widgets.QStyleOptionTab.TabFeatures)
.final void
setFeatures
(QStyleOptionTab.TabFeatures features) final void
The icon for the tabfinal void
setIconSize
(QSize iconSize) The size for the iconsfinal void
setLeftButtonSize
(QSize leftButtonSize) The size for the left widget on the tabfinal void
setPosition
(QStyleOptionTab.TabPosition position) The position of the tab in the tab barfinal void
setRightButtonSize
(QSize rightButtonSize) The size for the right widget on the tabfinal void
setRow
(int row) Which row the tab is currently infinal void
setSelectedPosition
(QStyleOptionTab.SelectedPosition selectedPosition) The position of the selected tab in relation to this tabfinal void
setShape
(QTabBar.Shape shape) The tab shape used to draw the tab; by default QTabBar::RoundedNorthfinal void
setTabIndex
(int tabIndex) The index for the tab being representedfinal void
The text of the tabfinal QTabBar.Shape
shape()
The tab shape used to draw the tab; by default QTabBar::RoundedNorthfinal int
tabIndex()
The index for the tab being representedfinal String
text()
The text of the tabMethods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionTab
public QStyleOptionTab() -
QStyleOptionTab
-
QStyleOptionTab
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setCornerWidgets
Overloaded function for
setCornerWidgets(io.qt.widgets.QStyleOptionTab.CornerWidgets)
. -
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
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionTab.TabFeatures)
. -
setFeatures
-
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
- Overrides:
clone
in classQStyleOption
-