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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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 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, 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)
. -
getFeatures
Kotlin property getter. In Java use
features()
instead. -
getIcon
Kotlin property getter. In Java use
icon()
instead. -
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
getText
Kotlin property getter. In Java use
text()
instead.
-
assign(io.qt.widgets.QStyleOptionButton)
instead.