You may try to emit a signal with the position as parameter on the mousePressEvent and then catch it with a slot in the main window.
You may try to emit a signal with the position as parameter on the mousePressEvent and then catch it with a slot in the main window.
Bookmarks