QGraphicsColorizeEffect

Note

This class was introduced in Qt 4.6

Synopsis

Functions

Slots

Signals

Detailed Description

The PySide.QtGui.QGraphicsColorizeEffect class provides a colorize effect.

A colorize effect renders the source with a tint of its PySide.QtGui.QGraphicsColorizeEffect.color() . The color can be modified using the PySide.QtGui.QGraphicsColorizeEffect.setColor() function.

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

../../_images/graphicseffect-colorize.png
class PySide.QtGui.QGraphicsColorizeEffect([parent=None])
Parameters:parentPySide.QtCore.QObject

Constructs a new PySide.QtGui.QGraphicsColorizeEffect instance. The parent parameter is passed to PySide.QtGui.QGraphicsEffect ‘s constructor.

PySide.QtGui.QGraphicsColorizeEffect.color()
Return type:PySide.QtGui.QColor

This property holds the color of the effect..

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

PySide.QtGui.QGraphicsColorizeEffect.colorChanged(color)
Parameters:colorPySide.QtGui.QColor
PySide.QtGui.QGraphicsColorizeEffect.setColor(c)
Parameters:cPySide.QtGui.QColor

This property holds the color of the effect..

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

PySide.QtGui.QGraphicsColorizeEffect.setStrength(strength)
Parameters:strengthPySide.QtCore.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.

PySide.QtGui.QGraphicsColorizeEffect.strength()
Return type:PySide.QtCore.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.

PySide.QtGui.QGraphicsColorizeEffect.strengthChanged(strength)
Parameters:strengthPySide.QtCore.qreal