4 Commits

Author SHA1 Message Date
Mike Walters
ec7c42a38c Display drag/move mouse pointer when dragging cursors
Enables mouse tracking on PlotView to get mouse move events
even when not dragging.

Passes through Leave events to handle the case where the cursor
is near the edge of the widget and the mouse leaves the widget
without generating a mouse move event that isn't on the cursor.

Passes in mouse cursor shape to Cursor to define whether it should
be a horizontal resize, vertical resize or move (resize all).

Qt handles the case where the cursor is dragged off screen and
does not generate a Leave event while draggin (<3 Qt).
2016-08-12 15:42:24 +01:00
Mike Walters
2102e34589 plotview: Drop eventFilters and just pass mouse events to things 2016-04-04 00:04:10 +01:00
Mike Walters
e3bc3b42b7 cursor: Add option for horizontal cursors 2016-04-03 19:13:43 +01:00
Mike Walters
e618ad02c3 cursors: Split out mouse dragging logic into Cursor class 2016-04-03 19:13:43 +01:00