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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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 buttonKotlin property getter.final QIcon
getIcon()
Kotlin property getter.final QSize
Kotlin property getter.final String
getText()
Kotlin property getter.final 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
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, 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
-
QStyleOptionButton
public QStyleOptionButton() -
QStyleOptionButton
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionButton)
instead. -
assign
See
QStyleOptionButton::
operator=(QStyleOptionButton) -
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionButton.ButtonFeatures)
. -
setFeatures
Bitwise OR of the features that describe this button
-
getFeatures
Kotlin property getter. In Java use
features()
instead. -
features
Bitwise OR of the features that describe this button
-
setIcon
The icon of the button
-
getIcon
Kotlin property getter. In Java use
icon()
instead. -
icon
The icon of the button
-
setIconSize
The size of the icon for the button
-
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
iconSize
The size of the icon for the button
-
setText
The text of the button
-
getText
Kotlin property getter. In Java use
text()
instead. -
text
The text of the button
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionButton)
instead.