java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionTabBarBase
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the base of a tab bar, i.e. the part that the tab bar usually overlaps with
Java wrapper for Qt class QStyleOptionTabBarBase
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionTabBarBase arg__1) SeeQStyleOptionTabBarBase::
operator=(QStyleOptionTabBarBase) clone()
Creates and returns a copy of this object.final boolean
Whether the tabbar is in document modefinal QRect
The rectangle containing the selected tabfinal void
set
(QStyleOptionTabBarBase arg__1) Deprecated.final void
setDocumentMode
(boolean documentMode) Whether the tabbar is in document modefinal void
setSelectedTabRect
(QRect selectedTabRect) The rectangle containing the selected tabfinal void
setShape
(QTabBar.Shape shape) The shape of the tab barfinal void
setTabBarRect
(QRect tabBarRect) The rectangle containing all the tabsfinal QTabBar.Shape
shape()
The shape of the tab barfinal QRect
The rectangle containing all the tabsMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, 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
-
QStyleOptionTabBarBase
public QStyleOptionTabBarBase() -
QStyleOptionTabBarBase
- Parameters:
other
-
-
-
Method Details
-
assign
See
QStyleOptionTabBarBase::
operator=(QStyleOptionTabBarBase) - Parameters:
arg__1
-
-
setDocumentMode
Whether the tabbar is in document mode
- Parameters:
documentMode
-
-
documentMode
Whether the tabbar is in document mode
- Returns:
-
setSelectedTabRect
The rectangle containing the selected tab
- Parameters:
selectedTabRect
-
-
selectedTabRect
The rectangle containing the selected tab
- Returns:
-
setShape
The shape of the tab bar
- Parameters:
shape
-
-
shape
The shape of the tab bar
- Returns:
-
setTabBarRect
The rectangle containing all the tabs
- Parameters:
tabBarRect
-
-
tabBarRect
The rectangle containing all the tabs
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionTabBarBase::
QStyleOptionTabBarBase(QStyleOptionTabBarBase) - Overrides:
clone
in classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTabBarBase)
instead.
-
assign(io.qt.widgets.QStyleOptionTabBarBase)
instead.