5 #include <QGraphicsSceneContextMenuEvent>
23 QGraphicsEllipseItem::paint(painter,
option, widget);
26 QRectF rect = this->rect();
38 painter->setFont(font);
39 painter->drawText(rect, Qt::AlignCenter,
text);
45 if (event->button() == Qt::LeftButton)