Skip to content
Snippets Groups Projects
Commit 415a72a1 authored by Paul Beuchat's avatar Paul Beuchat
Browse files

For the system config GUI, this commit comments out some debugging print out...

For the system config GUI, this commit comments out some debugging print out statements that fills the terminal with unecessary information
parent 2939c43e
No related branches found
No related tags found
No related merge requests found
......@@ -101,12 +101,12 @@ QVariant myGraphicsRectItem::itemChange(GraphicsItemChange change, const QVarian
{
if(checkCornerGrabbers() == CornerGrabber::noCorner)
{
qDebug("move now!");
//qDebug("move now!");
return QPointF(value.toPointF().x(), value.toPointF().y());
}
else
{
qDebug("dont move now!");
//qDebug("dont move now!");
return QPointF(pos().x(), pos().y());
}
}
......
......@@ -227,8 +227,8 @@ void myGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent)
{
tmp_crazyfly_zone_item->setRect(QRectF(*p1, mouseEvent->scenePos()));
tmp_crazyfly_zone_item->updateCenterMarker();
qDebug("Mouse Position: %d, %d", (mouseEvent->scenePos()).toPoint().x(), (mouseEvent->scenePos()).toPoint().y());
qDebug("Rectangle BottomRight Position: %f, %f", tmp_crazyfly_zone_item->rect().bottomRight().x(), tmp_crazyfly_zone_item->rect().bottomRight().y());
//qDebug("Mouse Position: %d, %d", (mouseEvent->scenePos()).toPoint().x(), (mouseEvent->scenePos()).toPoint().y());
//qDebug("Rectangle BottomRight Position: %f, %f", tmp_crazyfly_zone_item->rect().bottomRight().x(), tmp_crazyfly_zone_item->rect().bottomRight().y());
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment