java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionRubberBand
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters needed for drawing a rubber band
Java wrapper for Qt's class QStyleOptionRubberBand
-
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
(QStyleOptionRubberBand arg__1) clone()
final boolean
Kotlin property getter.final QRubberBand.Shape
getShape()
Kotlin property getter.final boolean
opaque()
Whether the rubber band is required to be drawn in an opaque stylefinal void
set
(QStyleOptionRubberBand arg__1) Deprecated.final void
setOpaque
(boolean opaque) Whether the rubber band is required to be drawn in an opaque stylefinal void
setShape
(QRubberBand.Shape shape) The shape of the rubber bandfinal QRubberBand.Shape
shape()
The shape of the rubber bandMethods 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
-
QStyleOptionRubberBand
public QStyleOptionRubberBand() -
QStyleOptionRubberBand
-
QStyleOptionRubberBand
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionRubberBand)
instead. -
assign
-
setOpaque
Whether the rubber band is required to be drawn in an opaque style
-
getOpaque
Kotlin property getter. In Java use
opaque()
instead. -
opaque
Whether the rubber band is required to be drawn in an opaque style
-
setShape
The shape of the rubber band
-
getShape
Kotlin property getter. In Java use
shape()
instead. -
shape
The shape of the rubber band
-
clone
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionRubberBand)
instead.