java.lang.Object
io.qt.internal.NativeUtility.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 QColor
The background color on which the focus rectangle is being drawnclone()
final void
set
(QStyleOptionFocusRect arg__1) final void
setBackgroundColor
(QColor backgroundColor) The background color on which the focus rectangle is being drawnMethods inherited from class io.qt.widgets.QStyleOption
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
-
QStyleOptionFocusRect
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
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
- Overrides:
clone
in classQStyleOption
-