java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionFocusRect
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a focus rectangle with QStyle
Java wrapper for Qt class QStyleOptionFocusRect
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionFocusRect arg__1) SeeQStyleOptionFocusRect::
operator=(QStyleOptionFocusRect) final QColor
The background color on which the focus rectangle is being drawnclone()
Creates and returns a copy of this object.final QColor
Kotlin property getter.final void
set
(QStyleOptionFocusRect arg__1) Deprecated.final void
setBackgroundColor
(QColor backgroundColor) The background color on which the focus rectangle is being drawnMethods 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
-
QStyleOptionFocusRect
public QStyleOptionFocusRect() -
QStyleOptionFocusRect
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionFocusRect)
instead. -
assign
See
QStyleOptionFocusRect::
operator=(QStyleOptionFocusRect) -
setBackgroundColor
The background color on which the focus rectangle is being drawn
-
getBackgroundColor
Kotlin property getter. In Java use
backgroundColor()
instead. -
backgroundColor
The background color on which the focus rectangle is being drawn
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionFocusRect)
instead.