Context menu added to band marker

This commit is contained in:
Arin Alex
2018-01-23 23:05:32 +03:00
parent b3c98dcee0
commit 58ef51ffe2
2 changed files with 6 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ public:
qreal height(){return m_rect.height();}
protected:
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
private:
QRectF m_rect;
QColor m_color;