- All Implemented Interfaces:
QtObjectInterface,Cloneable
Used to describe the parameters for drawing the frame around a tab widget
Java wrapper for Qt class QStyleOptionTabWidgetFrame
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionTabWidgetFrame arg__1) SeeQStyleOptionTabWidgetFrame::operator=(QStyleOptionTabWidgetFrame) clone()Creates and returns a copy of this object.final QSizeThe size of the left-corner widgetfinal intThe line width for drawing the panelfinal intThe mid-line width for drawing the panelfinal QSizeThe size of the right-corner widgetfinal QRectThe rectangle containing the selected tabfinal voidset(QStyleOptionTabWidgetFrame arg__1) Deprecated.final voidsetLeftCornerWidgetSize(QSize leftCornerWidgetSize) The size of the left-corner widgetfinal voidsetLineWidth(int lineWidth) The line width for drawing the panelfinal voidsetMidLineWidth(int midLineWidth) The mid-line width for drawing the panelfinal voidsetRightCornerWidgetSize(QSize rightCornerWidgetSize) The size of the right-corner widgetfinal voidsetSelectedTabRect(QRect selectedTabRect) The rectangle containing the selected tabfinal voidsetShape(QTabBar.Shape shape) The tab shape used to draw the tabsfinal voidsetTabBarRect(QRect tabBarRect) The rectangle containing all the tabsfinal voidsetTabBarSize(QSize tabBarSize) The size of the tab barfinal QTabBar.Shapeshape()The tab shape used to draw the tabsfinal QRectThe rectangle containing all the tabsfinal QSizeThe size of the tab barMethods 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
-
QStyleOptionTabWidgetFrame
public QStyleOptionTabWidgetFrame() -
QStyleOptionTabWidgetFrame
- Parameters:
other-
-
-
Method Details
-
assign
See
QStyleOptionTabWidgetFrame::operator=(QStyleOptionTabWidgetFrame) - Parameters:
arg__1-
-
setLeftCornerWidgetSize
The size of the left-corner widget
- Parameters:
leftCornerWidgetSize-
-
leftCornerWidgetSize
The size of the left-corner widget
- Returns:
-
setLineWidth
The line width for drawing the panel
- Parameters:
lineWidth-
-
lineWidth
The line width for drawing the panel
- Returns:
-
setMidLineWidth
The mid-line width for drawing the panel
- Parameters:
midLineWidth-
-
midLineWidth
The mid-line width for drawing the panel
- Returns:
-
setRightCornerWidgetSize
The size of the right-corner widget
- Parameters:
rightCornerWidgetSize-
-
rightCornerWidgetSize
The size of the right-corner widget
- Returns:
-
setSelectedTabRect
The rectangle containing the selected tab
- Parameters:
selectedTabRect-
-
selectedTabRect
The rectangle containing the selected tab
- Returns:
-
setShape
The tab shape used to draw the tabs
- Parameters:
shape-
-
shape
The tab shape used to draw the tabs
- Returns:
-
setTabBarRect
The rectangle containing all the tabs
- Parameters:
tabBarRect-
-
tabBarRect
The rectangle containing all the tabs
- Returns:
-
setTabBarSize
The size of the tab bar
- Parameters:
tabBarSize-
-
tabBarSize
The size of the tab bar
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame) - Overrides:
clonein classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTabWidgetFrame)instead.
-
assign(io.qt.widgets.QStyleOptionTabWidgetFrame)instead.