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
-
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 void
set
(QStyleOptionFocusRect arg__1) Deprecated.final void
setBackgroundColor
(Qt.GlobalColor backgroundColor) Overloaded function forsetBackgroundColor(io.qt.gui.QColor)
.final void
setBackgroundColor
(QColor backgroundColor) The background color on which the focus rectangle is being drawnfinal void
setBackgroundColor
(QRgba64 backgroundColor) Overloaded function forsetBackgroundColor(io.qt.gui.QColor)
.final void
setBackgroundColor
(String backgroundColor) Overloaded function forsetBackgroundColor(io.qt.gui.QColor)
.Methods 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
-
QStyleOptionFocusRect
public QStyleOptionFocusRect() -
QStyleOptionFocusRect
-
-
Method Details
-
assign
See
QStyleOptionFocusRect::
operator=(QStyleOptionFocusRect) -
setBackgroundColor
The background color on which the focus rectangle is being drawn
-
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
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionFocusRect)
instead. -
setBackgroundColor
Overloaded function for
setBackgroundColor(io.qt.gui.QColor)
. -
setBackgroundColor
Overloaded function for
setBackgroundColor(io.qt.gui.QColor)
. -
setBackgroundColor
Overloaded function for
setBackgroundColor(io.qt.gui.QColor)
.
-
assign(io.qt.widgets.QStyleOptionFocusRect)
instead.