Skip to content

PythonQt.QtGui.QGraphicsColorizeEffect · declarations 001

Back to PythonQt.QtGui.QGraphicsColorizeEffect

boundingRectFor

boundingRectFor(sourceRect: Any) -> Any

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

color instance-attribute

color: QColor

Qt 5 reference:

color : QColor

This property holds the color of the effect.

By default, the color is light blue (QColor(0, 0, 192)).

Access functions:

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

Notifier signal:

void colorChanged(const QColor \&color)

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

colorChanged

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

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

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsColorizeEffect::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/qgraphicscolorizeeffect.html#colorChanged

destroyed

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

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

draw

draw(painter: Any) -> None

X.draw(painter)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QGraphicsColorizeEffect::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/qgraphicscolorizeeffect.html#draw

enabledChanged

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

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

objectNameChanged

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

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

setColor

setColor(c: Any) -> None

X.setColor(c)

Upstream PySide2 reference signatures (binding differences may apply):

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

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

setStrength

setStrength(strength: float) -> None

X.setStrength(strength)

Upstream PySide2 reference signatures (binding differences may apply):

setStrength(self, strength: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicscolorizeeffect.html#setStrength

strength instance-attribute

strength: float

Qt 5 reference:

strength : qreal

This property holds the strength of the effect.

By default, the strength is 1.0. A strength 0.0 equals to no effect, while 1.0 means full colorization.

Access functions:

qreal strength() const
void setStrength(qreal strength)

Notifier signal:

void strengthChanged(qreal strength)

Source: https://doc.qt.io/archives/qt-5.15/qgraphicscolorizeeffect.html#strength

strengthChanged

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

Native PythonQt.QtGui.QGraphicsColorizeEffect.strengthChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsColorizeEffect::strengthChanged(qreal strength)

This signal is emitted whenever setStrength() changes the colorize strength property. strength contains the new strength value of the colorize effect.

Note: Notifier signal for property strength.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicscolorizeeffect.html#strengthChanged