java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionButton
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing buttons
Java wrapper for Qt's class QStyleOptionButton
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QStyleOptionButton::ButtonFeaturestatic final class
QFlags type for enumQStyleOptionButton.ButtonFeature
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
features()
Bitwise OR of the features that describe this buttonfinal QIcon
icon()
The icon of the buttonfinal QSize
iconSize()
The size of the icon for the buttonfinal void
set
(QStyleOptionButton arg__1) final void
setFeatures
(QStyleOptionButton.ButtonFeature... features) Overloaded function forsetFeatures(io.qt.widgets.QStyleOptionButton.ButtonFeatures)
.final void
setFeatures
(QStyleOptionButton.ButtonFeatures features) Bitwise OR of the features that describe this buttonfinal void
The icon of the buttonfinal void
setIconSize
(QSize iconSize) The size of the icon for the buttonfinal void
The text of the buttonfinal String
text()
The text of the buttonMethods 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
-
QStyleOptionButton
public QStyleOptionButton() -
QStyleOptionButton
-
QStyleOptionButton
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionButton.ButtonFeatures)
. -
setFeatures
Bitwise OR of the features that describe this button
-
features
Bitwise OR of the features that describe this button
-
setIcon
The icon of the button
-
icon
The icon of the button
-
setIconSize
The size of the icon for the button
-
iconSize
The size of the icon for the button
-
setText
The text of the button
-
text
The text of the button
-
clone
- Overrides:
clone
in classQStyleOption
-