- 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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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 Qt.ArrowType
Kotlin property getter.Kotlin property getter.final QFont
getFont()
Kotlin property getter.final QIcon
getIcon()
Kotlin property getter.final QSize
Kotlin property getter.final QPoint
getPos()
Kotlin property getter.final String
getText()
Kotlin property getter.final Qt.ToolButtonStyle
Kotlin property getter.final 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
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, assign, getActiveSubControls, getSubControls, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
Methods 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
-
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. -
getArrowType
Kotlin property getter. In Java use
arrowType()
instead. -
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionToolButton.ToolButtonFeatures)
. -
getFeatures
Kotlin property getter. In Java use
features()
instead. -
getFont
Kotlin property getter. In Java use
font()
instead. -
getIcon
Kotlin property getter. In Java use
icon()
instead. -
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
getPos
Kotlin property getter. In Java use
pos()
instead. -
getText
Kotlin property getter. In Java use
text()
instead. -
getToolButtonStyle
Kotlin property getter. In Java use
toolButtonStyle()
instead.
-
assign(io.qt.widgets.QStyleOptionToolButton)
instead.