Home · All Classes · Modules |
The QGraphicsOpacityEffect class provides an opacity effect. More...
Inherits QGraphicsEffect.
The QGraphicsOpacityEffect class provides an opacity effect.
An opacity effect renders the source with an opacity. This effect is useful for making the source semi-transparent, similar to a fade-in/fade-out sequence. The opacity can be modified using the setOpacity() function.
By default, the opacity is 0.7.
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
Constructs a new QGraphicsOpacityEffect 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 setOpacity( ::qreal).
This method is also a Qt slot with the C++ signature void setOpacityMask(const ::QBrush&).
This is the default overload of this signal.
This signal is emitted whenever the effect's opacity changes. The opacity parameter holds the effect's new opacity.
This is the default overload of this signal.
This signal is emitted whenever the effect's opacity mask changes. The mask parameter holds the effect's new opacity mask.
PyQt 4.12.1 for X11 | Copyright © Riverbank Computing Ltd and The Qt Company 2015 | Qt 4.8.7 |