- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QStyleOptionTabV4
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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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 Kotlin property getter.final boolean
Kotlin property getter.Kotlin property getter.final QIcon
getIcon()
Kotlin property getter.final QSize
Kotlin property getter.final QSize
Kotlin property getter.Kotlin property getter.final QSize
Kotlin property getter.final int
getRow()
Kotlin property getter.Kotlin property getter.final QTabBar.Shape
getShape()
Kotlin property getter.final String
getText()
Kotlin property getter.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
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
The text of the tabfinal QTabBar.Shape
shape()
The tab shape used to draw the tab; by default QTabBar::RoundedNorthfinal String
text()
The text of the tabMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, getDirection, getFontMetrics, getPalette, getRect, getState, getStyleObject, init, 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
-
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)
. -
getCornerWidgets
Kotlin property getter. In Java use
cornerWidgets()
instead. -
getDocumentMode
Kotlin property getter. In Java use
documentMode()
instead. -
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionTab.TabFeatures)
. -
getFeatures
Kotlin property getter. In Java use
features()
instead. -
getIcon
Kotlin property getter. In Java use
icon()
instead. -
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
getLeftButtonSize
Kotlin property getter. In Java use
leftButtonSize()
instead. -
getPosition
Kotlin property getter. In Java use
position()
instead. -
getRightButtonSize
Kotlin property getter. In Java use
rightButtonSize()
instead. -
getRow
Kotlin property getter. In Java use
row()
instead. -
getSelectedPosition
Kotlin property getter. In Java use
selectedPosition()
instead. -
getShape
Kotlin property getter. In Java use
shape()
instead. -
getText
Kotlin property getter. In Java use
text()
instead.
-
assign(io.qt.widgets.QStyleOptionTab)
instead.