NAME

Qt::Gui::QGraphicsScene

PUBLIC METHODS

QGraphicsScene(QObject * parent = 0)
QGraphicsScene(QObject * parent)
QGraphicsScene(const QRectF & sceneRect, QObject * parent = 0)
QGraphicsScene(const QRectF & sceneRect, QObject * parent)
QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject * parent = 0)
QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject * parent)
~QGraphicsScene()
QGraphicsItem * activePanel()
QGraphicsWidget * activeWindow()
QGraphicsEllipseItem * addEllipse(const QRectF & rect, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsEllipseItem * addEllipse(const QRectF & rect, const QPen & pen, const QBrush & brush)
QGraphicsEllipseItem * addEllipse(const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush())
QGraphicsEllipseItem * addEllipse(const QRectF & rect, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsEllipseItem * addEllipse(qreal x, qreal y, qreal w, qreal h, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsEllipseItem * addEllipse(qreal x, qreal y, qreal w, qreal h, const QPen & pen, const QBrush & brush)
QGraphicsEllipseItem * addEllipse(qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush())
QGraphicsEllipseItem * addEllipse(qreal x, qreal y, qreal w, qreal h, const QPen & pen, const QBrush & brush = QBrush())
void addItem(QGraphicsItem * item)
QGraphicsLineItem * addLine(const QLineF & line, const QPen & pen = QPen())
QGraphicsLineItem * addLine(const QLineF & line, const QPen & pen)
QGraphicsLineItem * addLine(qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen = QPen())
QGraphicsLineItem * addLine(qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen)
QGraphicsPathItem * addPath(const QPainterPath & path, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsPathItem * addPath(const QPainterPath & path, const QPen & pen, const QBrush & brush)
QGraphicsPathItem * addPath(const QPainterPath & path, const QPen & pen = QPen(), const QBrush & brush = QBrush())
QGraphicsPathItem * addPath(const QPainterPath & path, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsPixmapItem * addPixmap(const QPixmap & pixmap)
QGraphicsPolygonItem * addPolygon(const QPolygonF & polygon, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsPolygonItem * addPolygon(const QPolygonF & polygon, const QPen & pen, const QBrush & brush)
QGraphicsPolygonItem * addPolygon(const QPolygonF & polygon, const QPen & pen = QPen(), const QBrush & brush = QBrush())
QGraphicsPolygonItem * addPolygon(const QPolygonF & polygon, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsRectItem * addRect(const QRectF & rect, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsRectItem * addRect(const QRectF & rect, const QPen & pen, const QBrush & brush)
QGraphicsRectItem * addRect(const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush())
QGraphicsRectItem * addRect(const QRectF & rect, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsRectItem * addRect(qreal x, qreal y, qreal w, qreal h, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsRectItem * addRect(qreal x, qreal y, qreal w, qreal h, const QPen & pen, const QBrush & brush)
QGraphicsRectItem * addRect(qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush())
QGraphicsRectItem * addRect(qreal x, qreal y, qreal w, qreal h, const QPen & pen, const QBrush & brush = QBrush())
QGraphicsSimpleTextItem * addSimpleText(const QString & text, const QFont & font = QFont())
QGraphicsSimpleTextItem * addSimpleText(const QString & text, const QFont & font)
QGraphicsTextItem * addText(const QString & text, const QFont & font = QFont())
QGraphicsTextItem * addText(const QString & text, const QFont & font)
void advance()
QBrush backgroundBrush()
int bspTreeDepth()
void clear()
void clearFocus()
void clearSelection()
void destroyItemGroup(QGraphicsItemGroup * group)
QGraphicsItem * focusItem()
QFont font()
QBrush foregroundBrush()
bool hasFocus()
qreal height()
QVariant inputMethodQuery(Qt::InputMethodQuery query)
bool isActive()
bool isSortCacheEnabled()
QGraphicsItem * itemAt(const QPointF & pos)
QGraphicsItem * itemAt(const QPointF & pos, const QTransform & deviceTransform)
QGraphicsItem * itemAt(qreal x, qreal y)
QGraphicsItem * itemAt(qreal x, qreal y, const QTransform & deviceTransform)
QGraphicsScene::ItemIndexMethod itemIndexMethod()
QRectF itemsBoundingRect()
QGraphicsItem * mouseGrabberItem()
QPalette palette()
void removeItem(QGraphicsItem * item)
void render(QPainter * painter, const QRectF & target, const QRectF & source, Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target, const QRectF & source, Qt::AspectRatioMode aspectRatioMode)
void render(QPainter * painter, const QRectF & target, const QRectF & source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target, const QRectF & source, Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target = QRectF(), const QRectF & source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target, const QRectF & source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
QRectF sceneRect()
QPainterPath selectionArea()
bool sendEvent(QGraphicsItem * item, QEvent * event)
void setActivePanel(QGraphicsItem * item)
void setActiveWindow(QGraphicsWidget * widget)
void setBackgroundBrush(const QBrush & brush)
void setBspTreeDepth(int depth)
void setFocus(Qt::FocusReason focusReason = Qt::OtherFocusReason)
void setFocus(Qt::FocusReason focusReason)
void setFocusItem(QGraphicsItem * item, Qt::FocusReason focusReason = Qt::OtherFocusReason)
void setFocusItem(QGraphicsItem * item, Qt::FocusReason focusReason)
void setFont(const QFont & font)
void setForegroundBrush(const QBrush & brush)
void setItemIndexMethod(QGraphicsScene::ItemIndexMethod method)
void setPalette(const QPalette & palette)
void setSceneRect(const QRectF & rect)
void setSceneRect(qreal x, qreal y, qreal w, qreal h)
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)
void setSortCacheEnabled(bool enabled)
void setStickyFocus(bool enabled)
void setStyle(QStyle * style)
bool stickyFocus()
QStyle * style()
void update(const QRectF & rect = QRectF())
void update(const QRectF & rect)
void update(qreal x, qreal y, qreal w, qreal h)
qreal width()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html