As mouse moves on my widget, I want to show mouse x n y values aside the mouse pointer, preferably in a small pop-up.
any tips for this please?
Printable View
As mouse moves on my widget, I want to show mouse x n y values aside the mouse pointer, preferably in a small pop-up.
any tips for this please?
first set mouseTracking to true then implement mouseMoveEvent(qmouseEvent *e). from argument you can get x and y coordinate of mouse
Yeap, got it.
I also want to know how to show x and y values right aside the mouse pointer in a pop-up window or whatever.
it's property of widget(dialog). setMouseTracking(true) in constructor