Note
This class was introduced in Qt 4.6
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)).
Parameters: | parent – PySide.QtCore.QObject |
---|
Constructs a new PySide.QtGui.QGraphicsColorizeEffect instance. The parent parameter is passed to PySide.QtGui.QGraphicsEffect ‘s constructor.
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)).
Parameters: | color – PySide.QtGui.QColor |
---|
Parameters: | c – PySide.QtGui.QColor |
---|
This property holds the color of the effect..
By default, the color is light blue ( PySide.QtGui.QColor (0, 0, 192)).
Parameters: | strength – 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.
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.
Parameters: | strength – PySide.QtCore.qreal |
---|