QtGui/qgraphicsitem.h File Reference

qgraphicsitem.h File Reference
#include <QtCore/qglobal.h>
#include <QtCore/qobject.h>
#include <QtCore/qvariant.h>
#include <QtCore/qrect.h>
#include <QtCore/qscopedpointer.h>
#include <QtGui/qpainterpath.h>
#include <QtGui/qpixmap.h>

Classes

class  QGraphicsItem
 
class  QGraphicsObject
 
class  QAbstractGraphicsShapeItem
 
class  QGraphicsPathItem
 
class  QGraphicsRectItem
 
class  QGraphicsEllipseItem
 
class  QGraphicsPolygonItem
 
class  QGraphicsLineItem
 
class  QGraphicsPixmapItem
 
class  QGraphicsTextItem
 
class  QGraphicsSimpleTextItem
 
class  QGraphicsItemGroup
 

Functions

template<class T >
qgraphicsitem_cast (QGraphicsItem *item)
 
template<class T >
qgraphicsitem_cast (const QGraphicsItem *item)
 
Q_GUI_EXPORT QDebug operator<< (QDebug debug, QGraphicsItem *item)
 
Q_GUI_EXPORT QDebug operator<< (QDebug debug, QGraphicsObject *item)
 
Q_GUI_EXPORT QDebug operator<< (QDebug debug, QGraphicsItem::GraphicsItemChange change)
 
Q_GUI_EXPORT QDebug operator<< (QDebug debug, QGraphicsItem::GraphicsItemFlag flag)
 
Q_GUI_EXPORT QDebug operator<< (QDebug debug, QGraphicsItem::GraphicsItemFlags flags)
 

Function Documentation

T qgraphicsitem_cast ( QGraphicsItem item)
inline

Definition at line 1139 of file qgraphicsitem.h.

1140 {
1141  return int(static_cast<T>(0)->Type) == int(QGraphicsItem::Type)
1142  || (item && int(static_cast<T>(0)->Type) == item->type()) ? static_cast<T>(item) : 0;
1143 }
unsigned int(APIENTRYP PFNGLXGETAGPOFFSETMESAPROC)(const void *pointer)
Definition: GLee.h:10762
virtual int type() const
T qgraphicsitem_cast ( const QGraphicsItem item)
inline

Definition at line 1145 of file qgraphicsitem.h.

1146 {
1147  return int(static_cast<T>(0)->Type) == int(QGraphicsItem::Type)
1148  || (item && int(static_cast<T>(0)->Type) == item->type()) ? static_cast<T>(item) : 0;
1149 }
unsigned int(APIENTRYP PFNGLXGETAGPOFFSETMESAPROC)(const void *pointer)
Definition: GLee.h:10762
virtual int type() const
Q_GUI_EXPORT QDebug operator<< ( QDebug  debug,
QGraphicsItem item 
)
Q_GUI_EXPORT QDebug operator<< ( QDebug  debug,
QGraphicsObject item 
)
Q_GUI_EXPORT QDebug operator<< ( QDebug  debug,
QGraphicsItem::GraphicsItemChange  change 
)
Q_GUI_EXPORT QDebug operator<< ( QDebug  debug,
QGraphicsItem::GraphicsItemFlag  flag 
)
Q_GUI_EXPORT QDebug operator<< ( QDebug  debug,
QGraphicsItem::GraphicsItemFlags  flags 
)

Go to the source code of this file.