- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a tool button
Java wrapper for Qt's 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 buttonfinal void
assign
(QStyleOptionToolButton arg__1) clone()
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
-
QStyleOptionToolButton
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionToolButton)
instead. -
assign
-
setArrowType
The direction of the arrow for the tool button
-
getArrowType
Kotlin property getter. In Java use
arrowType()
instead. -
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
-
getFeatures
Kotlin property getter. In Java use
features()
instead. -
features
OR combination of the tool button's features
-
setFont
The font that is used for the text
-
getFont
Kotlin property getter. In Java use
font()
instead. -
font
The font that is used for the text
-
setIcon
The icon for the tool button
-
getIcon
Kotlin property getter. In Java use
icon()
instead. -
icon
The icon for the tool button
-
setIconSize
The size of the icon for the tool button
-
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
iconSize
The size of the icon for the tool button
-
setPos
The position of the tool button
-
getPos
Kotlin property getter. In Java use
pos()
instead. -
pos
The position of the tool button
-
setText
The text of the tool button
-
getText
Kotlin property getter. In Java use
text()
instead. -
text
The text of the tool button
-
setToolButtonStyle
Qt::ToolButtonStyle value describing the appearance of the tool button
-
getToolButtonStyle
Kotlin property getter. In Java use
toolButtonStyle()
instead. -
toolButtonStyle
Qt::ToolButtonStyle value describing the appearance of the tool button
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-
assign(io.qt.widgets.QStyleOptionToolButton)
instead.