- 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
Nested ClassesModifier 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
Constructors -
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
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTab)
instead. -
assign
See
QStyleOptionTab::
operator=(QStyleOptionTab) -
setCornerWidgets
Overloaded function for
setCornerWidgets(io.qt.widgets.QStyleOptionTab.CornerWidgets)
. -
setCornerWidgets
OR combination of CornerWidget values indicating the corner widgets of the tab bar
-
getCornerWidgets
Kotlin property getter. In Java use
cornerWidgets()
instead. -
cornerWidgets
OR combination of CornerWidget values indicating the corner widgets of the tab bar
-
setDocumentMode
Whether the tabbar is in document mode
-
getDocumentMode
Kotlin property getter. In Java use
documentMode()
instead. -
documentMode
Whether the tabbar is in document mode
-
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionTab.TabFeatures)
. -
setFeatures
See
QStyleOptionTab::
features -
getFeatures
Kotlin property getter. In Java use
features()
instead. -
features
See
QStyleOptionTab::
features -
setIcon
The icon for the tab
-
getIcon
Kotlin property getter. In Java use
icon()
instead. -
icon
The icon for the tab
-
setIconSize
The size for the icons
-
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
iconSize
The size for the icons
-
setLeftButtonSize
The size for the left widget on the tab
-
getLeftButtonSize
Kotlin property getter. In Java use
leftButtonSize()
instead. -
leftButtonSize
The size for the left widget on the tab
-
setPosition
The position of the tab in the tab bar
-
getPosition
Kotlin property getter. In Java use
position()
instead. -
position
The position of the tab in the tab bar
-
setRightButtonSize
The size for the right widget on the tab
-
getRightButtonSize
Kotlin property getter. In Java use
rightButtonSize()
instead. -
rightButtonSize
The size for the right widget on the tab
-
setRow
Which row the tab is currently in
-
getRow
Kotlin property getter. In Java use
row()
instead. -
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
-
getSelectedPosition
Kotlin property getter. In Java use
selectedPosition()
instead. -
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
-
getShape
Kotlin property getter. In Java use
shape()
instead. -
shape
The tab shape used to draw the tab; by default QTabBar::RoundedNorth
-
setText
The text of the tab
-
getText
Kotlin property getter. In Java use
text()
instead. -
text
The text of the tab
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionTab)
instead.