- 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
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionTabWidgetFrame arg__1) SeeQStyleOptionTabWidgetFrame::
operator=(QStyleOptionTabWidgetFrame) clone()
Creates and returns a copy of this object.final QSize
The size of the left-corner widgetfinal int
The line width for drawing the panelfinal int
The mid-line width for drawing the panelfinal QSize
The size of the right-corner widgetfinal QRect
The rectangle containing the selected tabfinal void
set
(QStyleOptionTabWidgetFrame arg__1) Deprecated.final void
setLeftCornerWidgetSize
(QSize leftCornerWidgetSize) The size of the left-corner widgetfinal void
setLineWidth
(int lineWidth) The line width for drawing the panelfinal void
setMidLineWidth
(int midLineWidth) The mid-line width for drawing the panelfinal void
setRightCornerWidgetSize
(QSize rightCornerWidgetSize) The size of the right-corner widgetfinal void
setSelectedTabRect
(QRect selectedTabRect) The rectangle containing the selected tabfinal void
setShape
(QTabBar.Shape shape) The tab shape used to draw the tabsfinal void
setTabBarRect
(QRect tabBarRect) The rectangle containing all the tabsfinal void
setTabBarSize
(QSize tabBarSize) The size of the tab barfinal QTabBar.Shape
shape()
The tab shape used to draw the tabsfinal QRect
The rectangle containing all the tabsfinal QSize
The size of the tab barMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, 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
-
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:
clone
in classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTabWidgetFrame)
instead.
-
assign(io.qt.widgets.QStyleOptionTabWidgetFrame)
instead.