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'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 TypeMethodDescriptionfinal void
assign
(QStyleOptionToolBox arg__1) clone()
final QIcon
getIcon()
Kotlin property getter.Kotlin property getter.Kotlin property getter.final String
getText()
Kotlin property getter.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) Deprecated.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
assign, direction, fontMetrics, getDirection, getFontMetrics, getPalette, getRect, getState, getStyleObject, 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
Deprecated.Useassign(io.qt.widgets.QStyleOptionToolBox)
instead. -
assign
-
setIcon
The icon for the tool box tab
-
getIcon
Kotlin property getter. In Java use
icon()
instead. -
icon
The icon for the tool box tab
-
setPosition
-
getPosition
Kotlin property getter. In Java use
position()
instead. -
position
-
setSelectedPosition
@QtUninvokable public final void setSelectedPosition(QStyleOptionToolBox.SelectedPosition selectedPosition) The position of the selected tab in relation to this tab
-
getSelectedPosition
Kotlin property getter. In Java use
selectedPosition()
instead. -
selectedPosition
The position of the selected tab in relation to this tab
-
setText
The text for the tool box tab
-
getText
Kotlin property getter. In Java use
text()
instead. -
text
The text for the tool box tab
-
clone
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionToolBox)
instead.