Commit 98642c41 authored by Ralf Habacker's avatar Ralf Habacker

Revert "Make QGraphicsScene related event handlers of class AssociationWidget protected"

This reverts commit 58b345b1 because
classs ToolBarStateArrow requires to have them public.
parent aaa0e6f8
......@@ -191,6 +191,11 @@ public:
bool isPointAddable();
bool isPointRemovable();
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
virtual void setSelected(bool _select);
public Q_SLOTS: //:TODO: all virtual?
virtual void slotMenuSelection(QAction* action);
......@@ -206,11 +211,6 @@ protected:
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
private:
QPointF calculateTextPosition(Uml::TextRole::Enum role);
void setTextPosition(Uml::TextRole::Enum role);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment