java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionToolBox
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionToolBox extends QStyleOption implements Cloneable
Used to describe the parameters needed for drawing a tool box
Java wrapper for Qt class QStyleOptionToolBox
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QStyleOptionToolBox.SelectedPosition
Java wrapper for Qt enum QStyleOptionToolBox::SelectedPositionstatic class
QStyleOptionToolBox.TabPosition
Java wrapper for Qt enum QStyleOptionToolBox::TabPosition -
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionToolBox()
protected
QStyleOptionToolBox(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionToolBox(QStyleOptionToolBox other)
-
Method Summary
Modifier and Type Method Description QStyleOptionToolBox
clone()
QIcon
icon()
The icon for the tool box tabQStyleOptionToolBox.TabPosition
position()
QStyleOptionToolBox.SelectedPosition
selectedPosition()
The position of the selected tab in relation to this tabvoid
set(QStyleOptionToolBox arg__1)
void
setIcon(QIcon icon)
The icon for the tool box tabvoid
setPosition(QStyleOptionToolBox.TabPosition position)
void
setSelectedPosition(QStyleOptionToolBox.SelectedPosition selectedPosition)
The position of the selected tab in relation to this tabvoid
setText(String text)
The text for the tool box tabString
text()
The text for the tool box tabMethods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
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
-