Skip to content

PythonQt.QtGui.QGraphicsDropShadowEffect · declarations 001

Back to PythonQt.QtGui.QGraphicsDropShadowEffect

blurRadius instance-attribute

blurRadius: float

Qt 5 reference:

blurRadius : qreal

This property holds the blur radius in pixels of the drop shadow.

Using a smaller radius results in a sharper shadow, whereas using a bigger radius results in a more blurred shadow.

By default, the blur radius is 1 pixel.

Access functions:

qreal blurRadius() const
void setBlurRadius(qreal blurRadius)

Notifier signal:

void blurRadiusChanged(qreal blurRadius)

See also color() and offset().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#blurRadius

blurRadiusChanged

blurRadiusChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsDropShadowEffect.blurRadiusChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsDropShadowEffect::blurRadiusChanged(qreal blurRadius)

This signal is emitted whenever the effect's blur radius changes. The blurRadius parameter holds the effect's new blur radius.

Note: Notifier signal for property blurRadius.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#blurRadiusChanged

boundingRectFor

boundingRectFor(rect: Any) -> Any

X.boundingRectFor(rect) -> PythonQt.QtCore.QRectF

Supplemental documentation: Qt 5 reference:

[override virtual] QRectF QGraphicsDropShadowEffect::boundingRectFor(const QRectF \&rect) const

Reimplements: QGraphicsEffect::boundingRectFor(const QRectF \&rect) const.

Upstream PySide2 reference signatures (binding differences may apply):

boundingRectFor(self, rect: PySide2.QtCore.QRectF) -> PySide2.QtCore.QRectF

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#boundingRectFor

color instance-attribute

color: QColor

Qt 5 reference:

color : QColor

This property holds the color of the drop shadow.

By default, the drop color is a semi-transparent dark gray (QColor(63, 63, 63, 180)).

Access functions:

QColor color() const
void setColor(const QColor \&color)

Notifier signal:

void colorChanged(const QColor \&color)

See also offset() and blurRadius().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#color

colorChanged

colorChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsDropShadowEffect.colorChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsDropShadowEffect::colorChanged(const QColor \&color)

This signal is emitted whenever the effect's color changes. The color parameter holds the effect's new color.

Note: Notifier signal for property color.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#colorChanged

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsDropShadowEffect.destroyed; argument details are not documented.

draw

draw(painter: Any) -> None

X.draw(painter)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QGraphicsDropShadowEffect::draw(QPainter *painter)

Reimplements: QGraphicsEffect::draw(QPainter *painter).

Upstream PySide2 reference signatures (binding differences may apply):

draw(self, painter: PySide2.QtGui.QPainter) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#draw

enabledChanged

enabledChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsDropShadowEffect.enabledChanged; argument details are not documented.

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsDropShadowEffect.objectNameChanged; argument details are not documented.

offset instance-attribute

offset: QPointF

Qt 5 reference:

offset : QPointF

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF \&ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF \&offset)

See also xOffset(), yOffset(), blurRadius(), and color().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#offset

offsetChanged

offsetChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsDropShadowEffect.offsetChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsDropShadowEffect::offsetChanged(const QPointF \&offset)

This signal is emitted whenever the effect's shadow offset changes. The offset parameter holds the effect's new shadow offset.

Note: Notifier signal for property offset. Notifier signal for property xOffset. Notifier signal for property yOffset.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#offsetChanged

setBlurRadius

setBlurRadius(blurRadius: float) -> None

X.setBlurRadius(blurRadius)

Upstream PySide2 reference signatures (binding differences may apply):

setBlurRadius(self, blurRadius: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#setBlurRadius

setColor

setColor(color: Any) -> None

X.setColor(color)

Upstream PySide2 reference signatures (binding differences may apply):

setColor(self, color: PySide2.QtGui.QColor) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#setColor

setOffset

setOffset(dx: Any, dy: Any) -> None

X.setOffset(dx, dy)

Upstream PySide2 reference signatures (binding differences may apply):

setOffset(self, d: float) -> None
setOffset(self, dx: float, dy: float) -> None
setOffset(self, ofs: PySide2.QtCore.QPointF) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#setOffset

setXOffset

setXOffset(dx: float) -> None

X.setXOffset(dx)

Upstream PySide2 reference signatures (binding differences may apply):

setXOffset(self, dx: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#setXOffset

setYOffset

setYOffset(dy: float) -> None

X.setYOffset(dy)

Upstream PySide2 reference signatures (binding differences may apply):

setYOffset(self, dy: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#setYOffset

xOffset instance-attribute

xOffset: float

Qt 5 reference:

xOffset : qreal

This property holds the horizontal shadow offset in pixels.

By default, the horizontal shadow offset is 8 pixels.

Access functions:

qreal xOffset() const
void setXOffset(qreal dx)

Notifier signal:

void offsetChanged(const QPointF \&offset)

See also yOffset() and offset().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#xOffset

yOffset instance-attribute

yOffset: float

Qt 5 reference:

yOffset : qreal

This property holds the vertical shadow offset in pixels.

By default, the vertical shadow offset is 8 pixels.

Access functions:

qreal yOffset() const
void setYOffset(qreal dy)

Notifier signal:

void offsetChanged(const QPointF \&offset)

See also xOffset() and offset().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsdropshadoweffect.html#yOffset