QGraphicsColorizeEffect¶
The
QGraphicsColorizeEffect
class provides a colorize effect. More…

New in version 4.6.
Synopsis¶
Slots¶
def
setColor
(c)def
setStrength
(strength)
Signals¶
def
colorChanged
(color)def
strengthChanged
(strength)
Detailed Description¶
A colorize effect renders the source with a tint of its
color()
. The color can be modified using thesetColor()
function.By default, the color is light blue (
QColor
(0, 0, 192)).![]()
-
class
QGraphicsColorizeEffect
([parent=None])¶ - param parent
QObject
Constructs a new
QGraphicsColorizeEffect
instance. Theparent
parameter is passed toQGraphicsEffect
‘s constructor.
-
PySide2.QtWidgets.QGraphicsColorizeEffect.
color
()¶ - Return type
QColor
See also
-
PySide2.QtWidgets.QGraphicsColorizeEffect.
colorChanged
(color)¶ - Parameters
color –
QColor
-
PySide2.QtWidgets.QGraphicsColorizeEffect.
setStrength
(strength)¶ - Parameters
strength –
qreal
See also
-
PySide2.QtWidgets.QGraphicsColorizeEffect.
strength
()¶ - Return type
qreal
See also
-
PySide2.QtWidgets.QGraphicsColorizeEffect.
strengthChanged
(strength)¶ - Parameters
strength –
qreal