Qt 6.11 is out! See what's new in the release
blog
Not able to set ProxyWidget Position (solved)
General and Desktop
5
Posts
2
Posters
918
Views
2
Watching
-
Hi,
Where do you expect that position to be ?
-
I looked at the "colliding mouse example":http://doc.qt.nokia.com/4.7-snapshot/graphicsview-collidingmice.html that ships with Qt.
The mouse is place at random location using setPos Method
'''
mouse->setPos(::sin((i * 6.28) / MouseCount) * 200, ::cos((i * 6.28) / MouseCount) * 200);I expect proxy->setPos(0,0) to be top left side of the screen.
The coordinates mapping into scene confuse me... -
You should update your documentation link. The from nokia time is a bit outdated to say the least.
The setPos call you are showing is just a way to position a mouse at random points on the scene