Hi,
I have been trying to simulate a click in main windows but it has been imposible. I would like to know if is there any method to do this? I have seen method onWheelEvent that simulate a displacement or zoom. I want the same, but for a click, is there something?
Thank you and sorry for my english!
Simulate a click
Re: Simulate a click
You would have to call 'mousePressEvent' and then 'mouseReleaseEvent' with the right (fake) event I guess? (i.e. with the right or left mouse button pressed). However I'm not sure that's possible :D
Therefore one would need to create an intermediate function that generalizes the clicking process.
But the real question is: what are you trying to achieve? Isn't there a cleaner way to do it? :D
Therefore one would need to create an intermediate function that generalizes the clicking process.
But the real question is: what are you trying to achieve? Isn't there a cleaner way to do it? :D
Daniel, CloudCompare admin