git-svn-id: svn://db.shs.com.ru/libs@595 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-09-19 12:57:23 +00:00
parent b95ab45161
commit 296ac5ab5f

View File

@@ -202,7 +202,7 @@ bool BlockView::eventFilter(QObject * o, QEvent * e) {
mm_ci = 0; mm_ci = 0;
break; break;
} }
if (mm_ci->data(1007).toBool()) break; //if (mm_ci->data(1007).toBool()) break;
} }
//qDebug() << "press"; //qDebug() << "press";
if (me->buttons().testFlag(Qt::LeftButton)) btncnt++; if (me->buttons().testFlag(Qt::LeftButton)) btncnt++;
@@ -329,7 +329,7 @@ bool BlockView::eventFilter(QObject * o, QEvent * e) {
//return true; //return true;
break; break;
case QEvent::GraphicsSceneMouseMove: case QEvent::GraphicsSceneMouseMove:
//qDebug() << "move" << (mm_ci != 0 ? mm_ci : 0); //qDebug() << "move" << (mm_ci != 0 ? mm_ci : 0) << mm_mods << mm_cancel << mm_drag;
/*if (ghost_) { /*if (ghost_) {
ghost_->setPos(quantize(me->scenePos(), grid_step)); ghost_->setPos(quantize(me->scenePos(), grid_step));
}*/ }*/