- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a tab bar
Java wrapper for Qt class QStyleOptionTab
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStyleOptionTab::CornerWidget
static final class
QFlags
type for enumQStyleOptionTab.CornerWidget
static enum
Java wrapper for Qt enumQStyleOptionTab::SelectedPosition
static enum
Java wrapper for Qt enumQStyleOptionTab::TabFeature
static final class
QFlags
type for enumQStyleOptionTab.TabFeature
static enum
Java wrapper for Qt enumQStyleOptionTab::TabPosition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(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 boolean
Whether the tabbar is in document modefeatures()
SeeQStyleOptionTab::
features 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) Deprecated.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) SeeQStyleOptionTab::
features final void
The icon for the tabfinal void
Overloaded function forsetIcon(io.qt.gui.QIcon)
.final 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
assign, 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
-
-
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:
clone
in 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.