java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionToolBox
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters needed for drawing a tool box
Java wrapper for Qt class QStyleOptionToolBox
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStyleOptionToolBox::SelectedPosition
static enum
Java wrapper for Qt enumQStyleOptionToolBox::TabPosition
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionToolBox arg__1) SeeQStyleOptionToolBox::
operator=(QStyleOptionToolBox) clone()
Creates and returns a copy of this object.final QIcon
icon()
The icon for the tool box tabposition()
SeeQStyleOptionToolBox::
position The position of the selected tab in relation to this tabfinal void
set
(QStyleOptionToolBox arg__1) Deprecated.final void
The icon for the tool box tabfinal void
Overloaded function forsetIcon(io.qt.gui.QIcon)
.final void
setPosition
(QStyleOptionToolBox.TabPosition position) SeeQStyleOptionToolBox::
position final void
setSelectedPosition
(QStyleOptionToolBox.SelectedPosition selectedPosition) The position of the selected tab in relation to this tabfinal void
The text for the tool box tabfinal String
text()
The text for the tool box tabMethods 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
-
QStyleOptionToolBox
public QStyleOptionToolBox() -
QStyleOptionToolBox
- Parameters:
other
-
-
-
Method Details
-
assign
See
QStyleOptionToolBox::
operator=(QStyleOptionToolBox) - Parameters:
arg__1
-
-
setIcon
The icon for the tool box tab
- Parameters:
icon
-
-
icon
The icon for the tool box tab
- Returns:
-
setPosition
See
QStyleOptionToolBox::
position - Parameters:
position
-
-
position
See
QStyleOptionToolBox::
position - Returns:
-
setSelectedPosition
@QtUninvokable public final void setSelectedPosition(QStyleOptionToolBox.SelectedPosition selectedPosition) The position of the selected tab in relation to this tab
- Parameters:
selectedPosition
-
-
selectedPosition
The position of the selected tab in relation to this tab
- Returns:
-
setText
The text for the tool box tab
- Parameters:
text
-
-
text
The text for the tool box tab
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionToolBox::
QStyleOptionToolBox(QStyleOptionToolBox) - Overrides:
clone
in classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionToolBox)
instead. -
setIcon
Overloaded function for
setIcon(io.qt.gui.QIcon)
.
-
assign(io.qt.widgets.QStyleOptionToolBox)
instead.