Questions tagged [qpoint]

an Qt object, that defines a point in the plane using integer precision

Filter by
Sorted by
Tagged with
3 votes
0 answers
118 views

Finding center point of opened QGIS application using PyQt

How can I find the center point of the opened QGIS application by means of PyQt? By center point I mean this red cross in the middle of my screen where I have opened QGIS, see the image below. I ...
Taras's user avatar
  • 28.9k
4 votes
2 answers
1k views

PyQgis convert screen to map coordinates

With PyQgis how can I convert absolute screen coordinates (say, 123,456) into map coordinates of the iface.mapCanvas? It would be no problem if I had screen coordinates relative to the iface....
Jochen Schwarze's user avatar