java.lang.Object
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 class QStyleOptionButton
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStyleOptionButton::ButtonFeature
static final class
QFlags
type for enumQStyleOptionButton.ButtonFeature
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionButton arg__1) SeeQStyleOptionButton::
operator=(QStyleOptionButton) clone()
Creates and returns a copy of this object.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) Deprecated.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
Overloaded function forsetIcon(io.qt.gui.QIcon)
.final 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
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
-
QStyleOptionButton
public QStyleOptionButton() -
QStyleOptionButton
-
-
Method Details
-
assign
See
QStyleOptionButton::
operator=(QStyleOptionButton) -
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
Creates and returns a copy of this object.
- Overrides:
clone
in classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionButton)
instead. -
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionButton.ButtonFeatures)
. -
setIcon
Overloaded function for
setIcon(io.qt.gui.QIcon)
.
-
assign(io.qt.widgets.QStyleOptionButton)
instead.