Hi,
I will try the QString::setNUM, but I have just used qDebug() to show mouseMoveEvent->scenePos().x(), and it show INT values. It seems that I am reading coordinates as INT values. THe question is: how to read coordinates with higer precision?
Beforehand thanks!
Maverick
P.S.
I have tried using this:
wspX.setNum(mouseEvent->scenePos().x(),'g',10);
qDebug()<<wspX;
QString wspX;
wspX.setNum(mouseEvent->scenePos().x(),'g',10);
qDebug()<<wspX;
To copy to clipboard, switch view to plain text mode
shows only the Decimal values(INTs).
Bookmarks