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's class QStyleOptionFocusRect
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionFocusRect arg__1) final QColor
The background color on which the focus rectangle is being drawnclone()
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
-
QStyleOptionFocusRect
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionFocusRect)
instead. -
assign
-
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
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionFocusRect)
instead.