Definition at line 101 of file qgraphicsscene.h.
|
| QGraphicsScene (QObject *parent=0) |
|
| QGraphicsScene (const QRectF &sceneRect, QObject *parent=0) |
|
| QGraphicsScene (qreal x, qreal y, qreal width, qreal height, QObject *parent=0) |
|
virtual | ~QGraphicsScene () |
|
QRectF | sceneRect () const |
|
qreal | width () const |
|
qreal | height () const |
|
void | setSceneRect (const QRectF &rect) |
|
void | setSceneRect (qreal x, qreal y, qreal w, qreal h) |
|
void | render (QPainter *painter, const QRectF &target=QRectF(), const QRectF &source=QRectF(), Qt::AspectRatioMode aspectRatioMode=Qt::KeepAspectRatio) |
|
ItemIndexMethod | itemIndexMethod () const |
|
void | setItemIndexMethod (ItemIndexMethod method) |
|
bool | isSortCacheEnabled () const |
|
void | setSortCacheEnabled (bool enabled) |
|
int | bspTreeDepth () const |
|
void | setBspTreeDepth (int depth) |
|
QRectF | itemsBoundingRect () const |
|
QList< QGraphicsItem * > | items () const |
|
QList< QGraphicsItem * > | items (Qt::SortOrder order) const |
|
QList< QGraphicsItem * > | items (const QPointF &pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform=QTransform()) const |
|
QList< QGraphicsItem * > | items (const QRectF &rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform=QTransform()) const |
|
QList< QGraphicsItem * > | items (const QPolygonF &polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform=QTransform()) const |
|
QList< QGraphicsItem * > | items (const QPainterPath &path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform=QTransform()) const |
|
QList< QGraphicsItem * > | items (const QPointF &pos) const |
|
QList< QGraphicsItem * > | items (const QRectF &rect, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const |
|
QList< QGraphicsItem * > | items (const QPolygonF &polygon, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const |
|
QList< QGraphicsItem * > | items (const QPainterPath &path, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const |
|
QList< QGraphicsItem * > | collidingItems (const QGraphicsItem *item, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const |
|
QGraphicsItem * | itemAt (const QPointF &pos) const |
|
QGraphicsItem * | itemAt (const QPointF &pos, const QTransform &deviceTransform) const |
|
QList< QGraphicsItem * > | items (qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const |
|
QList< QGraphicsItem * > | items (qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform=QTransform()) const |
|
QGraphicsItem * | itemAt (qreal x, qreal y) const |
|
QGraphicsItem * | itemAt (qreal x, qreal y, const QTransform &deviceTransform) const |
|
QList< QGraphicsItem * > | selectedItems () const |
|
QPainterPath | selectionArea () const |
|
void | setSelectionArea (const QPainterPath &path) |
|
void | setSelectionArea (const QPainterPath &path, const QTransform &deviceTransform) |
|
void | setSelectionArea (const QPainterPath &path, Qt::ItemSelectionMode mode) |
|
void | setSelectionArea (const QPainterPath &path, Qt::ItemSelectionMode mode, const QTransform &deviceTransform) |
|
QGraphicsItemGroup * | createItemGroup (const QList< QGraphicsItem * > &items) |
|
void | destroyItemGroup (QGraphicsItemGroup *group) |
|
void | addItem (QGraphicsItem *item) |
|
QGraphicsEllipseItem * | addEllipse (const QRectF &rect, const QPen &pen=QPen(), const QBrush &brush=QBrush()) |
|
QGraphicsLineItem * | addLine (const QLineF &line, const QPen &pen=QPen()) |
|
QGraphicsPathItem * | addPath (const QPainterPath &path, const QPen &pen=QPen(), const QBrush &brush=QBrush()) |
|
QGraphicsPixmapItem * | addPixmap (const QPixmap &pixmap) |
|
QGraphicsPolygonItem * | addPolygon (const QPolygonF &polygon, const QPen &pen=QPen(), const QBrush &brush=QBrush()) |
|
QGraphicsRectItem * | addRect (const QRectF &rect, const QPen &pen=QPen(), const QBrush &brush=QBrush()) |
|
QGraphicsTextItem * | addText (const QString &text, const QFont &font=QFont()) |
|
QGraphicsSimpleTextItem * | addSimpleText (const QString &text, const QFont &font=QFont()) |
|
QGraphicsProxyWidget * | addWidget (QWidget *widget, Qt::WindowFlags wFlags=0) |
|
QGraphicsEllipseItem * | addEllipse (qreal x, qreal y, qreal w, qreal h, const QPen &pen=QPen(), const QBrush &brush=QBrush()) |
|
QGraphicsLineItem * | addLine (qreal x1, qreal y1, qreal x2, qreal y2, const QPen &pen=QPen()) |
|
QGraphicsRectItem * | addRect (qreal x, qreal y, qreal w, qreal h, const QPen &pen=QPen(), const QBrush &brush=QBrush()) |
|
void | removeItem (QGraphicsItem *item) |
|
QGraphicsItem * | focusItem () const |
|
void | setFocusItem (QGraphicsItem *item, Qt::FocusReason focusReason=Qt::OtherFocusReason) |
|
bool | hasFocus () const |
|
void | setFocus (Qt::FocusReason focusReason=Qt::OtherFocusReason) |
|
void | clearFocus () |
|
void | setStickyFocus (bool enabled) |
|
bool | stickyFocus () const |
|
QGraphicsItem * | mouseGrabberItem () const |
|
QBrush | backgroundBrush () const |
|
void | setBackgroundBrush (const QBrush &brush) |
|
QBrush | foregroundBrush () const |
|
void | setForegroundBrush (const QBrush &brush) |
|
virtual QVariant | inputMethodQuery (Qt::InputMethodQuery query) const |
|
QList< QGraphicsView * > | views () const |
|
void | update (qreal x, qreal y, qreal w, qreal h) |
|
void | invalidate (qreal x, qreal y, qreal w, qreal h, SceneLayers layers=AllLayers) |
|
QStyle * | style () const |
|
void | setStyle (QStyle *style) |
|
QFont | font () const |
|
void | setFont (const QFont &font) |
|
QPalette | palette () const |
|
void | setPalette (const QPalette &palette) |
|
bool | isActive () const |
|
QGraphicsItem * | activePanel () const |
|
void | setActivePanel (QGraphicsItem *item) |
|
QGraphicsWidget * | activeWindow () const |
|
void | setActiveWindow (QGraphicsWidget *widget) |
|
bool | sendEvent (QGraphicsItem *item, QEvent *event) |
|
Q_INVOKABLE | QObject (QObject *parent=0) |
|
virtual | ~QObject () |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool b) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *thread) |
|
int | startTimer (int interval) |
|
void | killTimer (int id) |
|
template<typename T > |
T | findChild (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QRegExp &re) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *) |
|
void | installEventFilter (QObject *) |
|
void | removeEventFilter (QObject *) |
|
bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
|
bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
|
bool | disconnect (const QObject *receiver, const char *member=0) |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | setUserData (uint id, QObjectUserData *data) |
|
QObjectUserData * | userData (uint id) const |
|
QObject * | parent () const |
|
bool | inherits (const char *classname) const |
|