Home · All Classes · Modules |
The QGraphicsColorizeEffect class provides a colorize effect. More...
Inherits QGraphicsEffect.
The QGraphicsColorizeEffect class provides a colorize effect.
A colorize effect renders the source with a tint of its color(). The color can be modified using the setColor() function.
By default, the color is light blue (QColor(0, 0, 192)).
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
Constructs a new QGraphicsColorizeEffect instance. The parent parameter is passed to QGraphicsEffect's constructor.
Reimplemented from QGraphicsEffect.draw().
This method is also a Qt slot with the C++ signature void setColor(const QColor&).
This method is also a Qt slot with the C++ signature void setStrength(qreal).
This is the default overload of this signal.
This signal is emitted whenever the effect's color changes. The color parameter holds the effect's new color.
This is the default overload of this signal.
This signal is emitted whenever setStrength() changes the colorize strength property. strength contains the new strength value of the colorize effect.
PyQt 4.9.4 for Windows | Copyright © Riverbank Computing Ltd and Nokia 2012 | Qt 4.8.2 |