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 class QStyleOptionRubberBand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionRubberBand arg__1) SeeQStyleOptionRubberBand::operator=(QStyleOptionRubberBand) clone()Creates and returns a copy of this object.final booleanopaque()Whether the rubber band is required to be drawn in an opaque stylefinal voidset(QStyleOptionRubberBand arg__1) Deprecated.final voidsetOpaque(boolean opaque) Whether the rubber band is required to be drawn in an opaque stylefinal voidsetShape(QRubberBand.Shape shape) The shape of the rubber bandfinal QRubberBand.Shapeshape()The shape of the rubber bandMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, init, 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
-
QStyleOptionRubberBand
public QStyleOptionRubberBand() -
QStyleOptionRubberBand
- Parameters:
other-
-
-
Method Details
-
assign
See
QStyleOptionRubberBand::operator=(QStyleOptionRubberBand) - Parameters:
arg__1-
-
setOpaque
Whether the rubber band is required to be drawn in an opaque style
- Parameters:
opaque-
-
opaque
Whether the rubber band is required to be drawn in an opaque style
- Returns:
-
setShape
The shape of the rubber band
- Parameters:
shape-
-
shape
The shape of the rubber band
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionRubberBand::QStyleOptionRubberBand(QStyleOptionRubberBand) - Overrides:
clonein classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionRubberBand)instead.
-
assign(io.qt.widgets.QStyleOptionRubberBand)instead.