51 #include <QGraphicsEllipseItem>
52 #include <QGraphicsScene>
53 #include <QStyleOptionGraphicsItem>
73 for (
int i = 0;
i < numItems; ++
i) {
small capitals from c petite p scientific i
[1]
void drawItems(QPainter *painter, int numItems, QGraphicsItem *items[], const QStyleOptionGraphicsItem options[], QWidget *widget=nullptr) override
[0]
The QGraphicsEllipseItem class provides an ellipse item that you can add to a QGraphicsScene.
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
The QGraphicsScene class provides a surface for managing a large number of 2D graphical items.
QList< QGraphicsItem * > items(Qt::SortOrder order=Qt::DescendingOrder) const
void addItem(QGraphicsItem *item)
The QPainter class performs low-level painting on widgets and other paint devices.
void setTransform(const QTransform &transform, bool combine=false)
The QRect class defines a rectangle in the plane using integer precision.
The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem.
rect sceneTransform().map(QPointF(0