- 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 enum QStyleOptionToolButton::ToolButtonFeaturestatic final class
QFlags type for enumQStyleOptionToolButton.ToolButtonFeature
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.ArrowType
The direction of the arrow for the tool buttonclone()
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) 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
The icon for the tool buttonfinal 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, set, setActiveSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, 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
-
QStyleOptionToolButton
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setArrowType
The direction of the arrow for the tool button
-
arrowType
The direction of the arrow for the tool button
-
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionToolButton.ToolButtonFeatures)
. -
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
- Overrides:
clone
in classQStyleOptionComplex
-