java.lang.Object
io.qt.internal.NativeUtility.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's class QStyleOptionToolBox
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QStyleOptionToolBox::SelectedPositionstatic enum
Java wrapper for Qt enum QStyleOptionToolBox::TabPositionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QIcon
icon()
The icon for the tool box tabposition()
The position of the selected tab in relation to this tabfinal void
set
(QStyleOptionToolBox arg__1) final void
The icon for the tool box tabfinal void
setPosition
(QStyleOptionToolBox.TabPosition 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
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
-
QStyleOptionToolBox
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setIcon
The icon for the tool box tab
-
icon
The icon for the tool box tab
-
setPosition
-
position
-
setSelectedPosition
@QtUninvokable public final void setSelectedPosition(QStyleOptionToolBox.SelectedPosition selectedPosition) The position of the selected tab in relation to this tab
-
selectedPosition
The position of the selected tab in relation to this tab
-
setText
The text for the tool box tab
-
text
The text for the tool box tab
-
clone
- Overrides:
clone
in classQStyleOption
-