java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionTabBarBase
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionTabBarBase extends QStyleOption implements 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
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionTabBarBase()
protected
QStyleOptionTabBarBase(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionTabBarBase(QStyleOptionTabBarBase other)
-
Method Summary
Modifier and Type Method Description QStyleOptionTabBarBase
clone()
boolean
documentMode()
Whether the tabbar is in document modeQRect
selectedTabRect()
The rectangle containing the selected tabvoid
set(QStyleOptionTabBarBase arg__1)
void
setDocumentMode(boolean documentMode)
Whether the tabbar is in document modevoid
setSelectedTabRect(QRect selectedTabRect)
The rectangle containing the selected tabvoid
setShape(QTabBar.Shape shape)
The shape of the tab barvoid
setTabBarRect(QRect tabBarRect)
The rectangle containing all the tabsQTabBar.Shape
shape()
The shape of the tab barQRect
tabBarRect()
The rectangle containing all the tabsMethods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
Constructor Details
-
QStyleOptionTabBarBase
public QStyleOptionTabBarBase() -
QStyleOptionTabBarBase
-
QStyleOptionTabBarBase
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setDocumentMode
Whether the tabbar is in document mode
-
documentMode
Whether the tabbar is in document mode
-
setSelectedTabRect
The rectangle containing the selected tab
-
selectedTabRect
The rectangle containing the selected tab
-
setShape
The shape of the tab bar
-
shape
The shape of the tab bar
-
setTabBarRect
The rectangle containing all the tabs
-
tabBarRect
The rectangle containing all the tabs
-
clone
- Overrides:
clone
in classQStyleOption
-