Logo Search packages:      
Sourcecode: qt4-x11 version File versions

ImageItem Class Reference

#include <imageitem.h>

Inheritance diagram for ImageItem:

QObject QGraphicsPixmapItem QGraphicsRectItem QGraphicsItem QAbstractGraphicsShapeItem QGraphicsItem QGraphicsItem

List of all members.


Detailed Description

[0]

Definition at line 50 of file imageitem.h.

QBrush brush () const
void installSceneEventFilter (QGraphicsItem *filterItem)
void installSceneEventFilter (QGraphicsItem *filterItem)
void installSceneEventFilter (QGraphicsItem *filterItem)
QPen pen () const
void removeSceneEventFilter (QGraphicsItem *filterItem)
void removeSceneEventFilter (QGraphicsItem *filterItem)
void removeSceneEventFilter (QGraphicsItem *filterItem)
void setOffset (qreal x, qreal y)
void setOffset (const QPointF &offset)
void setRect (const QRectF &rect)
void setTransformationMode (Qt::TransformationMode mode)
ShapeMode shapeMode () const
Qt::TransformationMode transformationMode () const
void addToIndex ()
void addToIndex ()
void addToIndex ()
virtual void dragMoveEvent (QGraphicsSceneDragDropEvent *event)
virtual void hoverMoveEvent (QGraphicsSceneHoverEvent *event)
void prepareGeometryChange ()
void prepareGeometryChange ()
void prepareGeometryChange ()
void removeFromIndex ()
void removeFromIndex ()
void removeFromIndex ()
virtual bool sceneEvent (QEvent *event)
bool _qt_movableAncestorIsSelected (const QGraphicsItem *item)
bool _qt_movableAncestorIsSelected (const QGraphicsItem *item)
bool _qt_movableAncestorIsSelected (const QGraphicsItem *item)
 openExternalLinks
 openExternalLinks
 openExternalLinks
QDebug operator<< (QDebug debug, QGraphicsItem::GraphicsItemChange change)
QDebug operator<< (QDebug debug, QGraphicsItem *item)
QDebug operator<< (QDebug debug, QGraphicsItem::GraphicsItemChange change)
QDebug operator<< (QDebug debug, QGraphicsItem *item)
QDebug operator<< (QDebug debug, QGraphicsItem::GraphicsItemChange change)
QDebug operator<< (QDebug debug, QGraphicsItem *item)
 QGraphicsEllipseItem (qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent)
 QGraphicsEllipseItem (qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent)
 QGraphicsEllipseItem (qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent)
qgraphicsitem_cast (QGraphicsItem *item)
qgraphicsitem_cast (QGraphicsItem *item)
qgraphicsitem_cast (QGraphicsItem *item)
 QGraphicsRectItem (qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent)
 QGraphicsRectItem (qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent)
 QGraphicsRectItem (qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent)
static void qt_graphicsItem_highlightSelected (QGraphicsItem *item, QPainter *painter, const QStyleOptionGraphicsItem *option)
static void qt_graphicsItem_highlightSelected (QGraphicsItem *item, QPainter *painter, const QStyleOptionGraphicsItem *option)
static void qt_graphicsItem_highlightSelected (QGraphicsItem *item, QPainter *painter, const QStyleOptionGraphicsItem *option)
void setShapeMode (ShapeMode mode)
void setShapeMode (ShapeMode mode)
void setShapeMode (ShapeMode mode)
static QRectF setupTextLayout (QTextLayout *layout)
static QRectF setupTextLayout (QTextLayout *layout)
static QRectF setupTextLayout (QTextLayout *layout)
 textCursor
 textCursor
 textCursor
enum  ShapeMode { MaskShape, BoundingRectShape, HeuristicMaskShape }

Public Types

enum  { Type = 1, UserType = 65536 }
enum  { Type = 1, UserType = 65536 }
enum  { Type = 1, UserType = 65536 }
enum  { Type = 3 }
enum  { Type = 7 }
enum  CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache }
enum  CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache }
enum  CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache }
enum  GraphicsItemChange {
  ItemPositionChange, ItemMatrixChange, ItemVisibleChange, ItemEnabledChange,
  ItemSelectedChange, ItemParentChange, ItemChildAddedChange, ItemChildRemovedChange,
  ItemTransformChange, ItemPositionHasChanged, ItemTransformHasChanged, ItemSceneChange,
  ItemVisibleHasChanged, ItemEnabledHasChanged, ItemSelectedHasChanged, ItemParentHasChanged,
  ItemSceneHasChanged, ItemCursorChange, ItemCursorHasChanged, ItemToolTipChange,
  ItemToolTipHasChanged, ItemFlagsChange, ItemFlagsHaveChanged, ItemZValueChange,
  ItemZValueHasChanged
}
enum  GraphicsItemChange {
  ItemPositionChange, ItemMatrixChange, ItemVisibleChange, ItemEnabledChange,
  ItemSelectedChange, ItemParentChange, ItemChildAddedChange, ItemChildRemovedChange,
  ItemTransformChange, ItemPositionHasChanged, ItemTransformHasChanged, ItemSceneChange,
  ItemVisibleHasChanged, ItemEnabledHasChanged, ItemSelectedHasChanged, ItemParentHasChanged,
  ItemSceneHasChanged, ItemCursorChange, ItemCursorHasChanged, ItemToolTipChange,
  ItemToolTipHasChanged, ItemFlagsChange, ItemFlagsHaveChanged, ItemZValueChange,
  ItemZValueHasChanged
}
enum  GraphicsItemChange {
  ItemPositionChange, ItemMatrixChange, ItemVisibleChange, ItemEnabledChange,
  ItemSelectedChange, ItemParentChange, ItemChildAddedChange, ItemChildRemovedChange,
  ItemTransformChange, ItemPositionHasChanged, ItemTransformHasChanged, ItemSceneChange,
  ItemVisibleHasChanged, ItemEnabledHasChanged, ItemSelectedHasChanged, ItemParentHasChanged,
  ItemSceneHasChanged, ItemCursorChange, ItemCursorHasChanged, ItemToolTipChange,
  ItemToolTipHasChanged, ItemFlagsChange, ItemFlagsHaveChanged, ItemZValueChange,
  ItemZValueHasChanged
}
enum  GraphicsItemFlag {
  ItemIsMovable = 0x1, ItemIsSelectable = 0x2, ItemIsFocusable = 0x4, ItemClipsToShape = 0x8,
  ItemClipsChildrenToShape = 0x10, ItemIgnoresTransformations = 0x20
}
enum  GraphicsItemFlag {
  ItemIsMovable = 0x1, ItemIsSelectable = 0x2, ItemIsFocusable = 0x4, ItemClipsToShape = 0x8,
  ItemClipsChildrenToShape = 0x10, ItemIgnoresTransformations = 0x20
}
enum  GraphicsItemFlag {
  ItemIsMovable = 0x1, ItemIsSelectable = 0x2, ItemIsFocusable = 0x4, ItemClipsToShape = 0x8,
  ItemClipsChildrenToShape = 0x10, ItemIgnoresTransformations = 0x20
}

Public Slots

void deleteLater ()

Signals

void destroyed (QObject *=0)

Public Member Functions

bool acceptDrops () const
bool acceptDrops () const
bool acceptDrops () const
Qt::MouseButtons acceptedMouseButtons () const
Qt::MouseButtons acceptedMouseButtons () const
Qt::MouseButtons acceptedMouseButtons () const
bool acceptHoverEvents () const
bool acceptHoverEvents () const
bool acceptHoverEvents () const
bool acceptsHoverEvents () const
bool acceptsHoverEvents () const
bool acceptsHoverEvents () const
void adjust ()
 [3]
virtual void advance (int phase)
virtual void animationStarted (int id=0)
virtual void animationStopped (int id=0)
bool blockSignals (bool b)
virtual QRectF boundingRect () const
QRectF boundingRect () const
QRectF boundingRect () const
QRegion boundingRegion (const QTransform &itemToDeviceTransform) const
QRegion boundingRegion (const QTransform &itemToDeviceTransform) const
QRegion boundingRegion (const QTransform &itemToDeviceTransform) const
qreal boundingRegionGranularity () const
qreal boundingRegionGranularity () const
qreal boundingRegionGranularity () const
CacheMode cacheMode () const
CacheMode cacheMode () const
CacheMode cacheMode () const
QList< QGraphicsItem * > childItems () const
QList< QGraphicsItem * > childItems () const
QList< QGraphicsItem * > childItems () const
QList< QGraphicsItem * > children () const
QList< QGraphicsItem * > children () const
QList< QGraphicsItem * > children () const
const QObjectListchildren () const
QRectF childrenBoundingRect () const
QRectF childrenBoundingRect () const
QRectF childrenBoundingRect () const
void clearFocus ()
void clearFocus ()
void clearFocus ()
virtual bool collidesWithItem (const QGraphicsItem *other, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
virtual bool collidesWithPath (const QPainterPath &path, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
QList< QGraphicsItem * > collidingItems (Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
QList< QGraphicsItem * > collidingItems (Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
QList< QGraphicsItem * > collidingItems (Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
QGraphicsItemcommonAncestorItem (const QGraphicsItem *other) const
QGraphicsItemcommonAncestorItem (const QGraphicsItem *other) const
QGraphicsItemcommonAncestorItem (const QGraphicsItem *other) const
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
bool contains (const QPointF &point) const
bool contains (const QPointF &point) const
QCursor cursor () const
QCursor cursor () const
QCursor cursor () const
QVariant data (int key) const
QVariant data (int key) const
QVariant data (int key) const
QTransform deviceTransform (const QTransform &viewportTransform) const
QTransform deviceTransform (const QTransform &viewportTransform) const
QTransform deviceTransform (const QTransform &viewportTransform) const
bool disconnect (const QObject *receiver, const char *member=0)
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
void dumpObjectInfo ()
void dumpObjectTree ()
QList< QByteArraydynamicPropertyNames () const
void ensureVisible (qreal x, qreal y, qreal w, qreal h, int xmargin=50, int ymargin=50)
void ensureVisible (const QRectF &rect=QRectF(), int xmargin=50, int ymargin=50)
void ensureVisible (qreal x, qreal y, qreal w, qreal h, int xmargin=50, int ymargin=50)
void ensureVisible (const QRectF &rect=QRectF(), int xmargin=50, int ymargin=50)
void ensureVisible (qreal x, qreal y, qreal w, qreal h, int xmargin=50, int ymargin=50)
void ensureVisible (const QRectF &rect=QRectF(), int xmargin=50, int ymargin=50)
virtual bool event (QEvent *)
virtual bool eventFilter (QObject *, QEvent *)
template<typename T>
findChild (const QString &aName=QString()) const
template<typename T>
QList< T > findChildren (const QRegExp &re) const
template<typename T>
QList< T > findChildren (const QString &aName=QString()) const
GraphicsItemFlags flags () const
GraphicsItemFlags flags () const
GraphicsItemFlags flags () const
QPointF getGuidedPos ()
void grabKeyboard ()
void grabKeyboard ()
void grabKeyboard ()
void grabMouse ()
void grabMouse ()
void grabMouse ()
QGraphicsItemGroupgroup () const
QGraphicsItemGroupgroup () const
QGraphicsItemGroupgroup () const
void guideAdvance (float distance)
void guideMove (float moveSpeed)
bool handlesChildEvents () const
bool handlesChildEvents () const
bool handlesChildEvents () const
bool hasCursor () const
bool hasCursor () const
bool hasCursor () const
bool hasFocus () const
bool hasFocus () const
bool hasFocus () const
void hide ()
void hide ()
void hide ()
int id ()
 [4]
 ImageItem (int id, const QPixmap &pixmap, QGraphicsItem *parent=0, QGraphicsScene *scene=0)
 [0]
 ImageItem (QImage img)
 ImageItem (const QImage &image, int maxWidth, int maxHeight, QGraphicsScene *scene=0, QGraphicsItem *parent=0, bool adjustSize=false, float scale=1.0f)
bool inherits (const char *classname) const
void installEventFilter (QObject *)
bool inTransition ()
bool isAncestorOf (const QGraphicsItem *child) const
bool isAncestorOf (const QGraphicsItem *child) const
bool isAncestorOf (const QGraphicsItem *child) const
bool isEnabled () const
bool isEnabled () const
bool isEnabled () const
bool isObscured (qreal x, qreal y, qreal w, qreal h) const
bool isObscured (const QRectF &rect) const
bool isObscured () const
bool isObscured (qreal x, qreal y, qreal w, qreal h) const
bool isObscured (const QRectF &rect) const
bool isObscured () const
bool isObscured (qreal x, qreal y, qreal w, qreal h) const
bool isObscured (const QRectF &rect) const
bool isObscured () const
bool isObscuredBy (const QGraphicsItem *item) const
bool isObscuredBy (const QGraphicsItem *item) const
bool isSelected () const
bool isSelected () const
bool isSelected () const
bool isUnderMouse () const
bool isUnderMouse () const
bool isUnderMouse () const
bool isVisible () const
bool isVisible () const
bool isVisible () const
bool isVisibleTo (const QGraphicsItem *parent) const
bool isVisibleTo (const QGraphicsItem *parent) const
bool isVisibleTo (const QGraphicsItem *parent) const
bool isWidget () const
bool isWidget () const
bool isWidget () const
bool isWidgetType () const
bool isWindow () const
bool isWindow () const
bool isWindow () const
void killTimer (int id)
QPolygonF mapFromItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromItem (const QGraphicsItem *item, qreal x, qreal y) const
QPainterPath mapFromItem (const QGraphicsItem *item, const QPainterPath &path) const
QPolygonF mapFromItem (const QGraphicsItem *item, const QPolygonF &polygon) const
QPolygonF mapFromItem (const QGraphicsItem *item, const QRectF &rect) const
QPointF mapFromItem (const QGraphicsItem *item, const QPointF &point) const
QPolygonF mapFromItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromItem (const QGraphicsItem *item, qreal x, qreal y) const
QPainterPath mapFromItem (const QGraphicsItem *item, const QPainterPath &path) const
QPolygonF mapFromItem (const QGraphicsItem *item, const QPolygonF &polygon) const
QPolygonF mapFromItem (const QGraphicsItem *item, const QRectF &rect) const
QPointF mapFromItem (const QGraphicsItem *item, const QPointF &point) const
QPolygonF mapFromItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromItem (const QGraphicsItem *item, qreal x, qreal y) const
QPainterPath mapFromItem (const QGraphicsItem *item, const QPainterPath &path) const
QPolygonF mapFromItem (const QGraphicsItem *item, const QPolygonF &polygon) const
QPolygonF mapFromItem (const QGraphicsItem *item, const QRectF &rect) const
QPointF mapFromItem (const QGraphicsItem *item, const QPointF &point) const
QPolygonF mapFromParent (qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromParent (qreal x, qreal y) const
QPainterPath mapFromParent (const QPainterPath &path) const
QPolygonF mapFromParent (const QPolygonF &polygon) const
QPolygonF mapFromParent (const QRectF &rect) const
QPointF mapFromParent (const QPointF &point) const
QPolygonF mapFromParent (qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromParent (qreal x, qreal y) const
QPainterPath mapFromParent (const QPainterPath &path) const
QPolygonF mapFromParent (const QPolygonF &polygon) const
QPolygonF mapFromParent (const QRectF &rect) const
QPointF mapFromParent (const QPointF &point) const
QPolygonF mapFromParent (qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromParent (qreal x, qreal y) const
QPainterPath mapFromParent (const QPainterPath &path) const
QPolygonF mapFromParent (const QPolygonF &polygon) const
QPolygonF mapFromParent (const QRectF &rect) const
QPointF mapFromParent (const QPointF &point) const
QPolygonF mapFromScene (qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromScene (qreal x, qreal y) const
QPainterPath mapFromScene (const QPainterPath &path) const
QPolygonF mapFromScene (const QPolygonF &polygon) const
QPolygonF mapFromScene (const QRectF &rect) const
QPointF mapFromScene (const QPointF &point) const
QPolygonF mapFromScene (qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromScene (qreal x, qreal y) const
QPainterPath mapFromScene (const QPainterPath &path) const
QPolygonF mapFromScene (const QPolygonF &polygon) const
QPolygonF mapFromScene (const QRectF &rect) const
QPointF mapFromScene (const QPointF &point) const
QPolygonF mapFromScene (qreal x, qreal y, qreal w, qreal h) const
QPointF mapFromScene (qreal x, qreal y) const
QPainterPath mapFromScene (const QPainterPath &path) const
QPolygonF mapFromScene (const QPolygonF &polygon) const
QPolygonF mapFromScene (const QRectF &rect) const
QPointF mapFromScene (const QPointF &point) const
QPolygonF mapToItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
QPointF mapToItem (const QGraphicsItem *item, qreal x, qreal y) const
QPainterPath mapToItem (const QGraphicsItem *item, const QPainterPath &path) const
QPolygonF mapToItem (const QGraphicsItem *item, const QPolygonF &polygon) const
QPolygonF mapToItem (const QGraphicsItem *item, const QRectF &rect) const
QPointF mapToItem (const QGraphicsItem *item, const QPointF &point) const
QPolygonF mapToItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
QPointF mapToItem (const QGraphicsItem *item, qreal x, qreal y) const
QPainterPath mapToItem (const QGraphicsItem *item, const QPainterPath &path) const
QPolygonF mapToItem (const QGraphicsItem *item, const QPolygonF &polygon) const
QPolygonF mapToItem (const QGraphicsItem *item, const QRectF &rect) const
QPointF mapToItem (const QGraphicsItem *item, const QPointF &point) const
QPolygonF mapToItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
QPointF mapToItem (const QGraphicsItem *item, qreal x, qreal y) const
QPainterPath mapToItem (const QGraphicsItem *item, const QPainterPath &path) const
QPolygonF mapToItem (const QGraphicsItem *item, const QPolygonF &polygon) const
QPolygonF mapToItem (const QGraphicsItem *item, const QRectF &rect) const
QPointF mapToItem (const QGraphicsItem *item, const QPointF &point) const
QPolygonF mapToParent (qreal x, qreal y, qreal w, qreal h) const
QPointF mapToParent (qreal x, qreal y) const
QPainterPath mapToParent (const QPainterPath &path) const
QPolygonF mapToParent (const QPolygonF &polygon) const
QPolygonF mapToParent (const QRectF &rect) const
QPointF mapToParent (const QPointF &point) const
QPolygonF mapToParent (qreal x, qreal y, qreal w, qreal h) const
QPointF mapToParent (qreal x, qreal y) const
QPainterPath mapToParent (const QPainterPath &path) const
QPolygonF mapToParent (const QPolygonF &polygon) const
QPolygonF mapToParent (const QRectF &rect) const
QPointF mapToParent (const QPointF &point) const
QPolygonF mapToParent (qreal x, qreal y, qreal w, qreal h) const
QPointF mapToParent (qreal x, qreal y) const
QPainterPath mapToParent (const QPainterPath &path) const
QPolygonF mapToParent (const QPolygonF &polygon) const
QPolygonF mapToParent (const QRectF &rect) const
QPointF mapToParent (const QPointF &point) const
QPolygonF mapToScene (qreal x, qreal y, qreal w, qreal h) const
QPointF mapToScene (qreal x, qreal y) const
QPainterPath mapToScene (const QPainterPath &path) const
QPolygonF mapToScene (const QPolygonF &polygon) const
QPolygonF mapToScene (const QRectF &rect) const
QPointF mapToScene (const QPointF &point) const
QPolygonF mapToScene (qreal x, qreal y, qreal w, qreal h) const
QPointF mapToScene (qreal x, qreal y) const
QPainterPath mapToScene (const QPainterPath &path) const
QPolygonF mapToScene (const QPolygonF &polygon) const
QPolygonF mapToScene (const QRectF &rect) const
QPointF mapToScene (const QPointF &point) const
QPolygonF mapToScene (qreal x, qreal y, qreal w, qreal h) const
QPointF mapToScene (qreal x, qreal y) const
QPainterPath mapToScene (const QPainterPath &path) const
QPolygonF mapToScene (const QPolygonF &polygon) const
QPolygonF mapToScene (const QRectF &rect) const
QPointF mapToScene (const QPointF &point) const
QMatrix matrix () const
QMatrix matrix () const
QMatrix matrix () const
void moveBy (qreal dx, qreal dy)
void moveBy (qreal dx, qreal dy)
void moveBy (qreal dx, qreal dy)
void moveToThread (QThread *thread)
QString objectName () const
QPointF offset () const
QPainterPath opaqueArea () const
QPainterPath opaqueArea () const
QObjectparent () const
QGraphicsItemparentItem () const
QGraphicsItemparentItem () const
QGraphicsItemparentItem () const
QGraphicsWidgetparentWidget () const
QGraphicsWidgetparentWidget () const
QGraphicsWidgetparentWidget () const
QPixmap pixmap () const
QPointF pos () const
QPointF pos () const
QPointF pos () const
virtual void prepare ()
QVariant property (const char *name) const
QRectF rect () const
void removeEventFilter (QObject *)
void resetMatrix ()
void resetMatrix ()
void resetMatrix ()
void resetTransform ()
void resetTransform ()
void resetTransform ()
void rotate (qreal angle)
void rotate (qreal angle)
void rotate (qreal angle)
int rtti () const
void scale (qreal sx, qreal sy)
void scale (qreal sx, qreal sy)
void scale (qreal sx, qreal sy)
QGraphicsScenescene () const
QGraphicsScenescene () const
QGraphicsScenescene () const
QRectF sceneBoundingRect () const
QRectF sceneBoundingRect () const
QRectF sceneBoundingRect () const
QMatrix sceneMatrix () const
QMatrix sceneMatrix () const
QMatrix sceneMatrix () const
QPointF scenePos () const
QPointF scenePos () const
QPointF scenePos () const
QTransform sceneTransform () const
QTransform sceneTransform () const
QTransform sceneTransform () const
void scroll (qreal dx, qreal dy, const QRectF &rect=QRectF())
void scroll (qreal dx, qreal dy, const QRectF &rect=QRectF())
void scroll (qreal dx, qreal dy, const QRectF &rect=QRectF())
void setAcceptDrops (bool on)
void setAcceptDrops (bool on)
void setAcceptDrops (bool on)
void setAcceptedMouseButtons (Qt::MouseButtons buttons)
void setAcceptedMouseButtons (Qt::MouseButtons buttons)
void setAcceptedMouseButtons (Qt::MouseButtons buttons)
void setAcceptHoverEvents (bool enabled)
void setAcceptHoverEvents (bool enabled)
void setAcceptHoverEvents (bool enabled)
void setAcceptsHoverEvents (bool enabled)
void setAcceptsHoverEvents (bool enabled)
void setAcceptsHoverEvents (bool enabled)
void setBoundingRegionGranularity (qreal granularity)
void setBoundingRegionGranularity (qreal granularity)
void setBoundingRegionGranularity (qreal granularity)
void setBrush (const QBrush &brush)
void setCacheMode (CacheMode mode, const QSize &cacheSize=QSize())
void setCacheMode (CacheMode mode, const QSize &cacheSize=QSize())
void setCacheMode (CacheMode mode, const QSize &cacheSize=QSize())
void setCursor (const QCursor &cursor)
void setCursor (const QCursor &cursor)
void setCursor (const QCursor &cursor)
void setData (int key, const QVariant &value)
void setData (int key, const QVariant &value)
void setData (int key, const QVariant &value)
void setEnabled (bool enabled)
void setEnabled (bool enabled)
void setEnabled (bool enabled)
void setFlag (GraphicsItemFlag flag, bool enabled=true)
void setFlag (GraphicsItemFlag flag, bool enabled=true)
void setFlag (GraphicsItemFlag flag, bool enabled=true)
void setFlags (GraphicsItemFlags flags)
void setFlags (GraphicsItemFlags flags)
void setFlags (GraphicsItemFlags flags)
void setFocus (Qt::FocusReason focusReason=Qt::OtherFocusReason)
void setFocus (Qt::FocusReason focusReason=Qt::OtherFocusReason)
void setFocus (Qt::FocusReason focusReason=Qt::OtherFocusReason)
void setGroup (QGraphicsItemGroup *group)
void setGroup (QGraphicsItemGroup *group)
void setGroup (QGraphicsItemGroup *group)
void setGuidedPos (const QPointF &position)
void setHandlesChildEvents (bool enabled)
void setHandlesChildEvents (bool enabled)
void setHandlesChildEvents (bool enabled)
void setMatrix (const QMatrix &matrix, bool combine=false)
void setMatrix (const QMatrix &matrix, bool combine=false)
void setMatrix (const QMatrix &matrix, bool combine=false)
void setNeverVisible (bool never=true)
void setObjectName (const QString &name)
void setParent (QObject *)
void setParentItem (QGraphicsItem *parent)
void setParentItem (QGraphicsItem *parent)
void setParentItem (QGraphicsItem *parent)
void setPen (const QPen &pen)
void setPixmap (const QPixmap &pixmap)
void setPos (qreal x, qreal y)
void setPos (const QPointF &pos)
void setPos (qreal x, qreal y)
void setPos (const QPointF &pos)
void setPos (qreal x, qreal y)
void setPos (const QPointF &pos)
void setPosUsingSheepDog (const QPointF &dest, const QRectF &sceneFence)
bool setProperty (const char *name, const QVariant &value)
void setRect (qreal x, qreal y, qreal w, qreal h)
void setRecursiveVisible (bool visible)
void setSelected (bool selected)
void setSelected (bool selected)
void setSelected (bool selected)
void setShapeMode (ShapeMode mode)
void setToolTip (const QString &toolTip)
void setToolTip (const QString &toolTip)
void setToolTip (const QString &toolTip)
void setTransform (const QTransform &matrix, bool combine=false)
void setTransform (const QTransform &matrix, bool combine=false)
void setTransform (const QTransform &matrix, bool combine=false)
void setUserData (uint id, QObjectUserData *data)
void setVisible (bool visible)
void setVisible (bool visible)
void setVisible (bool visible)
void setZValue (qreal z)
void setZValue (qreal z)
void setZValue (qreal z)
QPainterPath shape () const
QPainterPath shape () const
void shear (qreal sh, qreal sv)
void shear (qreal sh, qreal sv)
void shear (qreal sh, qreal sv)
void show ()
void show ()
void show ()
bool signalsBlocked () const
int startTimer (int interval)
QThreadthread () const
QString toolTip () const
QString toolTip () const
QString toolTip () const
QGraphicsItemtopLevelItem () const
QGraphicsItemtopLevelItem () const
QGraphicsItemtopLevelItem () const
QGraphicsWidgettopLevelWidget () const
QGraphicsWidgettopLevelWidget () const
QGraphicsWidgettopLevelWidget () const
QTransform transform () const
QTransform transform () const
QTransform transform () const
void translate (qreal dx, qreal dy)
void translate (qreal dx, qreal dy)
void translate (qreal dx, qreal dy)
int type () const
int type () const
void ungrabKeyboard ()
void ungrabKeyboard ()
void ungrabKeyboard ()
void ungrabMouse ()
void ungrabMouse ()
void ungrabMouse ()
void unsetCursor ()
void unsetCursor ()
void unsetCursor ()
void update (qreal x, qreal y, qreal width, qreal height)
void update (const QRectF &rect=QRectF())
void update (qreal x, qreal y, qreal width, qreal height)
void update (const QRectF &rect=QRectF())
void update (qreal x, qreal y, qreal width, qreal height)
void update (const QRectF &rect=QRectF())
void useGuide (Guide *guide, float startFrame=0)
QObjectUserData * userData (uint id) const
void useSharedImage (const QString &hashKey)
QGraphicsWidgetwindow () const
QGraphicsWidgetwindow () const
QGraphicsWidgetwindow () const
qreal x () const
qreal x () const
qreal x () const
qreal y () const
qreal y () const
qreal y () const
qreal zValue () const
qreal zValue () const
qreal zValue () const

Static Public Member Functions

static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
static uint registerUserData ()
static void setMatrix (const QMatrix &matrix)

Public Attributes

bool adjustSize
DemoItemAnimation * currentAnimation
Guide * currGuide
float guideFrame
bool locked
bool noSubPixeling
qreal opacity
float scale
float startFrame

Protected Types

enum  Extension { UserExtension = 0x80000000 }
enum  Extension { UserExtension = 0x80000000 }
enum  Extension { UserExtension = 0x80000000 }

Protected Member Functions

virtual void childEvent (QChildEvent *)
virtual bool collidesWithItem (const QGraphicsItem *, Qt::ItemSelectionMode) const
virtual void connectNotify (const char *signal)
virtual void contextMenuEvent (QGraphicsSceneContextMenuEvent *event)
QImagecreateImage (const QMatrix &matrix) const
virtual void customEvent (QEvent *)
virtual void disconnectNotify (const char *signal)
virtual void dragEnterEvent (QGraphicsSceneDragDropEvent *event)
virtual void dragLeaveEvent (QGraphicsSceneDragDropEvent *event)
virtual void dropEvent (QGraphicsSceneDragDropEvent *event)
QVariant extension (const QVariant &variant) const
QVariant extension (const QVariant &variant) const
virtual void focusInEvent (QFocusEvent *event)
virtual void focusOutEvent (QFocusEvent *event)
void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 [0]
void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
 [1]
virtual void inputMethodEvent (QInputMethodEvent *event)
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value)
virtual void keyPressEvent (QKeyEvent *event)
virtual void keyReleaseEvent (QKeyEvent *event)
virtual void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event)
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
void paint (QPainter *, const QStyleOptionGraphicsItem *option, QWidget *widget)
int receivers (const char *signal) const
virtual bool sceneEventFilter (QGraphicsItem *watched, QEvent *event)
QObjectsender () const
void setExtension (Extension extension, const QVariant &variant)
void setExtension (Extension extension, const QVariant &variant)
bool supportsExtension (Extension extension) const
bool supportsExtension (Extension extension) const
virtual void timerEvent (QTimerEvent *)
virtual void wheelEvent (QGraphicsSceneWheelEvent *event)

Protected Attributes

QGraphicsItemPrivate * d_ptr
QGraphicsItemPrivate * d_ptr
QGraphicsItemPrivate * d_ptr
QObjectData * d_ptr
bool prepared

Static Protected Attributes

static const QMetaObject staticQtMetaObject

Properties

QString objectName
 the name of this object

Private Slots

void setFrame (int frame)
 [2]
void updateItemPosition ()
 [5]

Private Attributes

QImage image
int maxHeight
int maxWidth
QPixmap pixmap
int recordId
QTimeLine timeLine
double z

Friends

class ::tst_QGraphicsItem
class ::tst_QGraphicsItem
class ::tst_QGraphicsItem
class QApplication
class QApplicationPrivate
class QCoreApplication
class QCoreApplicationPrivate
struct QMetaObject
class QThreadData
class QWidget

Related Functions

(Note that these are not member functions.)

qFindChild (const QObject *obj, const QString &name=QString(), T dummy=0)
qFindChild (const QObject *obj, const QString &name)
QList< T > qFindChildren (const QObject *obj, const QString &name=QString(), T dummy=0)
QList< T > qFindChildren (const QObject *obj, const QRegExp &regExp)
QList< T > qFindChildren (const QObject *obj, const QString &name)
T * qobject_cast (QObject *object)
 QObjectList
void * qt_find_obj_child (QObject *parent, const char *type, const QString &name)

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

Generated by  Doxygen 1.6.0   Back to index