Qt 4.8
Public Types | Public Functions | Properties | Friends | List of all members
QGraphicsEffectSourcePrivate Class Referenceabstract

#include <qgraphicseffect_p.h>

Inheritance diagram for QGraphicsEffectSourcePrivate:
QObjectPrivate QObjectData QGraphicsItemEffectSourcePrivate QWidgetEffectSourcePrivate

Public Types

enum  InvalidateReason { TransformChanged, EffectRectChanged, SourceChanged }
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 

Public Functions

virtual QRectF boundingRect (Qt::CoordinateSystem system) const =0
 
QGraphicsEffect::PixmapPadMode currentCachedMode () const
 
Qt::CoordinateSystem currentCachedSystem () const
 
virtual void detach ()=0
 
virtual QRect deviceRect () const =0
 
virtual void draw (QPainter *p)=0
 
virtual void effectBoundingRectChanged ()=0
 
virtual const QGraphicsItemgraphicsItem () const =0
 
void invalidateCache (InvalidateReason reason=SourceChanged) const
 
virtual bool isPixmap () const =0
 
virtual QPixmap pixmap (Qt::CoordinateSystem system, QPoint *offset=0, QGraphicsEffect::PixmapPadMode mode=QGraphicsEffect::PadToTransparentBorder) const =0
 
 QGraphicsEffectSourcePrivate ()
 
void setCachedOffset (const QPoint &offset)
 
virtual const QStyleOptionstyleOption () const =0
 
virtual void update ()=0
 
virtual const QWidgetwidget () const =0
 
virtual ~QGraphicsEffectSourcePrivate ()
 
- Public Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Properties

QGraphicsEffect::PixmapPadMode m_cachedMode
 
QPoint m_cachedOffset
 
Qt::CoordinateSystem m_cachedSystem
 
QPixmapCache::Key m_cacheKey
 

Friends

class QGraphicsItem
 
class QGraphicsItemPrivate
 
class QGraphicsScenePrivate
 

Additional Inherited Members

- Static Public Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 
- Public Variables inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Public Variables inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Detailed Description

Definition at line 101 of file qgraphicseffect_p.h.

Enumerations

◆ InvalidateReason

Constructors and Destructors

◆ QGraphicsEffectSourcePrivate()

QGraphicsEffectSourcePrivate::QGraphicsEffectSourcePrivate ( )
inline

Definition at line 105 of file qgraphicseffect_p.h.

◆ ~QGraphicsEffectSourcePrivate()

QGraphicsEffectSourcePrivate::~QGraphicsEffectSourcePrivate ( )
virtual

Definition at line 378 of file qgraphicseffect.cpp.

379 {
380  invalidateCache();
381 }
void invalidateCache(InvalidateReason reason=SourceChanged) const

Functions

◆ boundingRect()

virtual QRectF QGraphicsEffectSourcePrivate::boundingRect ( Qt::CoordinateSystem  system) const
pure virtual

◆ currentCachedMode()

QGraphicsEffect::PixmapPadMode QGraphicsEffectSourcePrivate::currentCachedMode ( ) const
inline

Definition at line 135 of file qgraphicseffect_p.h.

Referenced by QGraphicsScenePrivate::drawSubtreeRecursive().

135 { return m_cachedMode; }
QGraphicsEffect::PixmapPadMode m_cachedMode

◆ currentCachedSystem()

Qt::CoordinateSystem QGraphicsEffectSourcePrivate::currentCachedSystem ( ) const
inline

Definition at line 134 of file qgraphicseffect_p.h.

Referenced by QGraphicsScenePrivate::drawSubtreeRecursive().

134 { return m_cachedSystem; }
Qt::CoordinateSystem m_cachedSystem

◆ detach()

virtual void QGraphicsEffectSourcePrivate::detach ( )
pure virtual

◆ deviceRect()

virtual QRect QGraphicsEffectSourcePrivate::deviceRect ( ) const
pure virtual

◆ draw()

virtual void QGraphicsEffectSourcePrivate::draw ( QPainter p)
pure virtual

◆ effectBoundingRectChanged()

virtual void QGraphicsEffectSourcePrivate::effectBoundingRectChanged ( )
pure virtual

◆ graphicsItem()

virtual const QGraphicsItem* QGraphicsEffectSourcePrivate::graphicsItem ( ) const
pure virtual

◆ invalidateCache()

void QGraphicsEffectSourcePrivate::invalidateCache ( InvalidateReason  reason = SourceChanged) const

◆ isPixmap()

virtual bool QGraphicsEffectSourcePrivate::isPixmap ( ) const
pure virtual

◆ pixmap()

virtual QPixmap QGraphicsEffectSourcePrivate::pixmap ( Qt::CoordinateSystem  system,
QPoint offset = 0,
QGraphicsEffect::PixmapPadMode  mode = QGraphicsEffect::PadToTransparentBorder 
) const
pure virtual

◆ setCachedOffset()

void QGraphicsEffectSourcePrivate::setCachedOffset ( const QPoint offset)

Definition at line 383 of file qgraphicseffect.cpp.

Referenced by QGraphicsScenePrivate::drawSubtreeRecursive().

384 {
385  m_cachedOffset = offset;
386 }

◆ styleOption()

virtual const QStyleOption* QGraphicsEffectSourcePrivate::styleOption ( ) const
pure virtual

◆ update()

virtual void QGraphicsEffectSourcePrivate::update ( )
pure virtual

◆ widget()

virtual const QWidget* QGraphicsEffectSourcePrivate::widget ( ) const
pure virtual

Friends and Related Functions

◆ QGraphicsItem

friend class QGraphicsItem
friend

Definition at line 138 of file qgraphicseffect_p.h.

◆ QGraphicsItemPrivate

friend class QGraphicsItemPrivate
friend

Definition at line 139 of file qgraphicseffect_p.h.

◆ QGraphicsScenePrivate

Definition at line 137 of file qgraphicseffect_p.h.

Properties

◆ m_cachedMode

QGraphicsEffect::PixmapPadMode QGraphicsEffectSourcePrivate::m_cachedMode
mutableprivate

Definition at line 143 of file qgraphicseffect_p.h.

◆ m_cachedOffset

QPoint QGraphicsEffectSourcePrivate::m_cachedOffset
mutableprivate

Definition at line 144 of file qgraphicseffect_p.h.

◆ m_cachedSystem

Qt::CoordinateSystem QGraphicsEffectSourcePrivate::m_cachedSystem
mutableprivate

Definition at line 142 of file qgraphicseffect_p.h.

◆ m_cacheKey

QPixmapCache::Key QGraphicsEffectSourcePrivate::m_cacheKey
mutableprivate

Definition at line 145 of file qgraphicseffect_p.h.


The documentation for this class was generated from the following files: