{
if( !isPulling() && myIsDragging )
{
+ emit vpObjectBeforeMoving();
+
bool anIsMoved = false;
for( initSelected(); moreSelected(); nextSelected() )
if( GraphicsView_Object* aMovingObject = selectedObject() )
myIsDragging = false;
myDragPosition = QPointF();
- if( anIsMoved )
- emit vpObjectMoved();
+ emit vpObjectAfterMoving( anIsMoved );
}
break;
}
void vpWheelEvent( QGraphicsSceneWheelEvent* );
void vpContextMenuEvent( QGraphicsSceneContextMenuEvent* );
- void vpObjectMoved();
+ void vpObjectBeforeMoving();
+ void vpObjectAfterMoving( bool );
private:
void initialize();