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
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStyleOptionButton::ButtonFeature
static final class
QFlags
type for enumQStyleOptionButton.ButtonFeature
-
Constructor Summary
ConstructorDescription -
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, 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
- Parameters:
other
-
-
-
Method Details
-
assign
See
QStyleOptionButton::
operator=(QStyleOptionButton) - Parameters:
arg__1
-
-
setFeatures
Bitwise OR of the features that describe this button
- Parameters:
features
-
-
features
Bitwise OR of the features that describe this button
- Returns:
-
setIcon
The icon of the button
- Parameters:
icon
-
-
icon
The icon of the button
- Returns:
-
setIconSize
The size of the icon for the button
- Parameters:
iconSize
-
-
iconSize
The size of the icon for the button
- Returns:
-
setText
The text of the button
- Parameters:
text
-
-
text
The text of the button
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionButton::
QStyleOptionButton(QStyleOptionButton) - 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.