12 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
8c2394df77 cursors: Only emit cursorsMoved after dragging (not on view updates)
This fixes #59 since selectedSamples will now only change when
cursors are dragged.
2016-05-02 01:45:28 +01:00
Mike
f74e847950 plotview: Basic symbol extraction
ref #63
2016-04-23 14:08:27 +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
Mike Walters
27381dbb30 cursors: Fix up naming of values derived from segmented cursors 2016-04-03 19:09:38 +01:00
Mike
f2b7f918d2 cursors: Split cursors into n segments to align with multiple bits 2016-03-06 00:48:45 +00:00
Mike
e288f93b29 cursors: Re-position cursors on view change 2016-03-05 20:30:25 +00:00
Mike Walters
bc2b1dc900 cursors: Connect cursors to time/freq display on dock 2016-03-05 17:10:40 +00:00
Mike Walters
a82a1af33d cursors: Reimplement Cursors as QObject and implement dragging 2016-03-05 15:57:11 +00:00
Mike Walters
590791af2f cursors: Add cursors widget (for time selection) 2016-03-03 16:25:24 +00:00