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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionFocusRect arg__1) SeeQStyleOptionFocusRect::operator=(QStyleOptionFocusRect) final QColorThe background color on which the focus rectangle is being drawnclone()Creates and returns a copy of this object.final voidset(QStyleOptionFocusRect arg__1) Deprecated.final voidsetBackgroundColor(Qt.GlobalColor backgroundColor) Overloaded function forsetBackgroundColor(io.qt.gui.QColor).final voidsetBackgroundColor(QColor backgroundColor) The background color on which the focus rectangle is being drawnfinal voidsetBackgroundColor(QRgba64 backgroundColor) Overloaded function forsetBackgroundColor(io.qt.gui.QColor).final voidsetBackgroundColor(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, toStringMethods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionFocusRect
public QStyleOptionFocusRect() -
QStyleOptionFocusRect
- Parameters:
other-
-
-
Method Details
-
assign
See
QStyleOptionFocusRect::operator=(QStyleOptionFocusRect) - Parameters:
arg__1-
-
setBackgroundColor
The background color on which the focus rectangle is being drawn
- Parameters:
backgroundColor-
-
backgroundColor
The background color on which the focus rectangle is being drawn
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionFocusRect::QStyleOptionFocusRect(QStyleOptionFocusRect) - Overrides:
clonein 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.