44 #include "../qmlinspectorconstants.h" 46 #include <QGraphicsScene>
The QPainter class performs low-level painting on widgets and other paint devices.
The QGraphicsScene class provides a surface for managing a large number of 2D graphical items...
QRectF childrenBoundingRect() const
Returns the bounding rect of this item's descendants (i.e., its children, their children, etc.) in local coordinates.
QList< QGraphicsItem * > childItems() const
Returns a list of this item's children.
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
This function, which is usually called by QGraphicsView, paints the contents of an item in local coor...
void addItem(QGraphicsItem *item)
Adds or moves the item and all its childen to this scene.
LiveLayerItem(QGraphicsScene *scene)
void setZValue(qreal z)
Sets the Z-value of the item to z.
The QRectF class defines a rectangle in the plane using floating point precision. ...
int type() const
Returns the type of an item as an int.
QRectF boundingRect() const
This pure virtual function defines the outer bounds of the item as a rectangle; all painting must be ...
The QGraphicsObject class provides a base class for all graphics items that require signals...
void setFlag(GraphicsItemFlag flag, bool enabled=true)
If enabled is true, the item flag flag is enabled; otherwise, it is disabled.
The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem...
QList< QGraphicsItem * > findAllChildItems() const
The QList class is a template class that provides lists.