QGraphicsColorizeEffect 类提供彩色化效果。 更多...
继承 QGraphicsEffect .
The QGraphicsColorizeEffect class provides a colorize 效果。
彩色化效果渲染源采用色调为其 color (). The color can be modified using the setColor () 函数。
默认情况下,颜色是浅蓝色 ( QColor (0, 0, 192)).
parent argument, if not None, causes self to be owned by Qt instead of PyQt.
构造新 QGraphicsColorizeEffect instance. The parent 参数会被传递给 QGraphicsEffect 的构造函数。
重实现自 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.
此信号被发射,每当效果的颜色改变时。 color 参数保持效果的新颜色。
This is the default overload of this signal.
此信号被发射每当 setStrength () changes the colorize strength property. strength contains the new strength value of the colorize effect.