I want to get mouse's position in a widget not through QMouseEvent,How can I do this?
thanks!
Printable View
I want to get mouse's position in a widget not through QMouseEvent,How can I do this?
thanks!
then you will have to work directly with X.
(Why can't you use QMouseEvent?)
sure,I am building a GUI program, but mouseMove event just can be captured when leftQuote:
Originally Posted by high_flyer
or right button is pressed, which is different with windows ,and grap mouse input is
dangerous,so I have to get mouse position in timerEvent().
Thanks a lot! I will test it.Quote:
Originally Posted by jpn