|
|
|
@ -75,6 +75,7 @@ UBBoardView::UBBoardView (UBBoardController* pController, QWidget* pParent, bool |
|
|
|
|
, mIsDragInProgress(false) |
|
|
|
|
, mMultipleSelectionIsEnabled(false) |
|
|
|
|
, isControl(pIsControl) |
|
|
|
|
, mRubberBandInPlayMode(false) //enables rubberband with play tool
|
|
|
|
|
{ |
|
|
|
|
init (); |
|
|
|
|
|
|
|
|
@ -1020,6 +1021,8 @@ UBBoardView::mouseMoveEvent (QMouseEvent *event) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (currentTool != UBStylusTool::Play || mRubberBandInPlayMode) { |
|
|
|
|
|
|
|
|
|
if (!movingItem && (mMouseButtonIsPressed || mTabletStylusIsPressed) && mUBRubberBand && mUBRubberBand->isVisible()) { |
|
|
|
|
|
|
|
|
|
QRect bandRect(mMouseDownPos, event->pos()); |
|
|
|
@ -1054,6 +1057,7 @@ UBBoardView::mouseMoveEvent (QMouseEvent *event) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
handleItemMouseMove(event); |
|
|
|
|
} |
|
|
|
|