Home · All Classes · Modules

QGraphicsEffect Class Reference
[QtGui module]

Inherits QObject.

Inherited by QGraphicsBlurEffect, QGraphicsColorizeEffect, QGraphicsDropShadowEffect and QGraphicsOpacityEffect.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QGraphicsEffect.ChangeFlag

QGraphicsEffect.PixmapPadMode


Method Documentation

QGraphicsEffect.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QRectF QGraphicsEffect.boundingRect (self)

QRectF QGraphicsEffect.boundingRectFor (self, QRectF)

QGraphicsEffect.draw (self, QPainter)

This method is abstract and should be reimplemented in any sub-class.

QGraphicsEffect.drawSource (self, QPainter)

bool QGraphicsEffect.isEnabled (self)

QGraphicsEffect.setEnabled (self, bool)

This method is also a Qt slot with the C++ signature void setEnabled(bool).

QRectF QGraphicsEffect.sourceBoundingRect (self, Qt.CoordinateSystem system = Qt.LogicalCoordinates)

QGraphicsEffect.sourceChanged (self, ChangeFlags)

bool QGraphicsEffect.sourceIsPixmap (self)

(QPixmap, QPoint offset) QGraphicsEffect.sourcePixmap (self, Qt.CoordinateSystem system = Qt.LogicalCoordinates, PixmapPadMode mode = QGraphicsEffect.PadToEffectiveBoundingRect)

QGraphicsEffect.update (self)

This method is also a Qt slot with the C++ signature void update().

QGraphicsEffect.updateBoundingRect (self)


Qt Signal Documentation

void enabledChanged (bool)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0