java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionGraphicsItem
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters needed to draw a QGraphicsItem
Java wrapper for Qt's class QStyleOptionGraphicsItem
-
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
(QStyleOptionGraphicsItem arg__1) clone()
final QRectF
The exposed rectangle, in item coordinatesfinal QRectF
Kotlin property getter.final double
Kotlin property getter.final double
static double
levelOfDetailFromTransform
(QTransform worldTransform) final void
set
(QStyleOptionGraphicsItem arg__1) Deprecated.final void
setExposedRect
(QRectF exposedRect) The exposed rectangle, in item coordinatesfinal void
setLevelOfDetail
(double levelOfDetail) Methods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, getDirection, getFontMetrics, getPalette, getRect, getState, getStyleObject, init, 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
-
QStyleOptionGraphicsItem
public QStyleOptionGraphicsItem() -
QStyleOptionGraphicsItem
-
QStyleOptionGraphicsItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionGraphicsItem)
instead. -
assign
-
levelOfDetailFromTransform
-
setExposedRect
The exposed rectangle, in item coordinates
-
getExposedRect
Kotlin property getter. In Java use
exposedRect()
instead. -
exposedRect
The exposed rectangle, in item coordinates
-
setLevelOfDetail
-
getLevelOfDetail
Kotlin property getter. In Java use
levelOfDetail()
instead. -
levelOfDetail
-
clone
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionGraphicsItem)
instead.