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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionTabBarBase arg__1) SeeQStyleOptionTabBarBase::operator=(QStyleOptionTabBarBase) clone()Creates and returns a copy of this object.final booleanWhether the tabbar is in document modefinal QRectThe rectangle containing the selected tabfinal voidset(QStyleOptionTabBarBase arg__1) Deprecated.final voidsetDocumentMode(boolean documentMode) Whether the tabbar is in document modefinal voidsetSelectedTabRect(QRect selectedTabRect) The rectangle containing the selected tabfinal voidsetShape(QTabBar.Shape shape) The shape of the tab barfinal voidsetTabBarRect(QRect tabBarRect) The rectangle containing all the tabsfinal QTabBar.Shapeshape()The shape of the tab barfinal QRectThe 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, toStringMethods 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:
clonein classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTabBarBase)instead.
-
assign(io.qt.widgets.QStyleOptionTabBarBase)instead.