Element editor : improve polygon edition

This commit is contained in:
joshua
2019-09-01 20:29:26 +02:00
parent 3fa071841c
commit 86b610dc84
10 changed files with 456 additions and 279 deletions

View File

@@ -84,6 +84,9 @@ class PartPolygon : public CustomElementGraphicPart
bool isClosed () const {return m_closed;}
void setClosed (bool close);
void setHandlerColor(QPointF pos, const QColor &color) final;
void resetAllHandlerColor() final;
protected:
QVariant itemChange(GraphicsItemChange change, const QVariant &value) override;
bool sceneEventFilter(QGraphicsItem *watched, QEvent *event) override;