java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionFocusRect
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionFocusRect extends QStyleOption implements Cloneable
Used to describe the parameters for drawing a focus rectangle with QStyle
Java wrapper for Qt class QStyleOptionFocusRect
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionFocusRect()
protected
QStyleOptionFocusRect(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionFocusRect(QStyleOptionFocusRect other)
-
Method Summary
Modifier and Type Method Description QColor
backgroundColor()
The background color on which the focus rectangle is being drawnQStyleOptionFocusRect
clone()
void
set(QStyleOptionFocusRect arg__1)
void
setBackgroundColor(QColor backgroundColor)
The background color on which the focus rectangle is being drawnMethods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
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
-