18 #ifndef QETGRAPHICSHANDLERITEM_H 19 #define QETGRAPHICSHANDLERITEM_H 21 #include <QGraphicsItem> 37 enum {
Type = UserType + 1200};
43 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget)
override;
53 static QVector<QetGraphicsHandlerItem *>
handlerForPoint(
const QVector<QPointF> &points,
int size = 10);
56 #endif // QETGRAPHICSHANDLERITEM_H int type() const override
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
QetGraphicsHandlerItem::paint.
The QetGraphicsHandlerItem class This graphics item represents a point, destined to be used as an han...
void setColor(QColor color)
QetGraphicsHandlerItem::setColor.
QRectF boundingRect() const override
QetGraphicsHandlerItem::boundingRect.
QetGraphicsHandlerItem(qreal size=10)
QetGraphicsHandlerItem::QetGraphicsHandlerItem.
static QVector< QetGraphicsHandlerItem * > handlerForPoint(const QVector< QPointF > &points, int size=10)
QetGraphicsHandlerItem::handlerForPoint.