- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a tool button
Java wrapper for Qt class QStyleOptionToolButton
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStyleOptionToolButton::ToolButtonFeature
static final class
QFlags
type for enumQStyleOptionToolButton.ToolButtonFeature
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.ArrowType
The direction of the arrow for the tool buttonfinal void
assign
(QStyleOptionToolButton arg__1) SeeQStyleOptionToolButton::
operator=(QStyleOptionToolButton) clone()
Creates and returns a copy of this object.features()
OR combination of the tool button's featuresfinal QFont
font()
The font that is used for the textfinal QIcon
icon()
The icon for the tool buttonfinal QSize
iconSize()
The size of the icon for the tool buttonfinal QPoint
pos()
The position of the tool buttonfinal void
set
(QStyleOptionToolButton arg__1) Deprecated.final void
setArrowType
(Qt.ArrowType arrowType) The direction of the arrow for the tool buttonfinal void
setFeatures
(QStyleOptionToolButton.ToolButtonFeature ... features) Overloaded function forsetFeatures(io.qt.widgets.QStyleOptionToolButton.ToolButtonFeatures)
.final void
OR combination of the tool button's featuresfinal void
The font that is used for the textfinal void
Overloaded function forsetFont(io.qt.gui.QFont)
.final void
The icon for the tool buttonfinal void
Overloaded function forsetIcon(io.qt.gui.QIcon)
.final void
setIconSize
(QSize iconSize) The size of the icon for the tool buttonfinal void
The position of the tool buttonfinal void
The text of the tool buttonfinal void
setToolButtonStyle
(Qt.ToolButtonStyle toolButtonStyle) Qt::ToolButtonStyle value describing the appearance of the tool buttonfinal String
text()
The text of the tool buttonfinal Qt.ToolButtonStyle
Qt::ToolButtonStyle value describing the appearance of the tool buttonMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, assign, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
Methods 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
-
QStyleOptionToolButton
public QStyleOptionToolButton() -
QStyleOptionToolButton
-
-
Method Details
-
assign
See
QStyleOptionToolButton::
operator=(QStyleOptionToolButton) -
setArrowType
The direction of the arrow for the tool button
-
arrowType
The direction of the arrow for the tool button
-
setFeatures
OR combination of the tool button's features
-
features
OR combination of the tool button's features
-
setFont
The font that is used for the text
-
font
The font that is used for the text
-
setIcon
The icon for the tool button
-
icon
The icon for the tool button
-
setIconSize
The size of the icon for the tool button
-
iconSize
The size of the icon for the tool button
-
setPos
The position of the tool button
-
pos
The position of the tool button
-
setText
The text of the tool button
-
text
The text of the tool button
-
setToolButtonStyle
Qt::ToolButtonStyle value describing the appearance of the tool button
-
toolButtonStyle
Qt::ToolButtonStyle value describing the appearance of the tool button
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQStyleOptionComplex
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionToolButton)
instead. -
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionToolButton.ToolButtonFeatures)
. -
setFont
Overloaded function for
setFont(io.qt.gui.QFont)
. -
setIcon
Overloaded function for
setIcon(io.qt.gui.QIcon)
.
-
assign(io.qt.widgets.QStyleOptionToolButton)
instead.