[Qt-interest] Grabbing the mouse
Brad Hards
bradh at frogmouth.net
Tue May 17 07:50:08 CEST 2011
On Mon, 16 May 2011 04:28:18 pm phil prentice wrote:
> I've got a widget derived from QGraphicsView
> The first time a user presses the mouse I grab the mouse and store the
> first set of coordinates(of a line).
> I then move the cursor around and select the second coordinate of the line
> (which can be outsoide of the window).
Probably you didn't really want to do a mouse grab, but instead to turn on
mouseTracking?
Otherwise a complete, minimal, compileable example might help.
Brad
More information about the Qt-interest-old
mailing list