Basic shapes: Items can be selected and moved (thanks joshua)

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2879 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
abhishekm71
2014-02-27 09:55:54 +00:00
parent bf707cca2e
commit 8e4c71c3e7
3 changed files with 47 additions and 1 deletions

View File

@@ -524,6 +524,7 @@ void DiagramView::mouseReleaseEvent(QMouseEvent *e) {
return;
}
if (current_behavior == addingLine || current_behavior == addingRectangle || current_behavior == addingEllipse) {
newItem -> setFullyBuilt(true);
if (current_behavior == addingLine)
emit(LineAdded(false));
else if (current_behavior == addingRectangle)