Josh Blum
3f5e373ee4
replace off_t with size_t to match system pointer size
...
I was having an issue with size of off_t on a multi-gigabit file.
This may have been related to long being a signed 32 bits on MSVC.
But I think there is good reason to use size_t here in general:
https://stackoverflow.com/questions/10634629/what-are-the-usage-differences-between-size-t-and-off-t
2017-11-25 16:06:08 -06:00
Mike Walters
dcd34f5d49
Don't trap all mouse events in Cursors handler
2017-01-18 12:47:26 +00:00
Felix Schulthess
5ce1d14e4c
Enable movement of both cursors by dragging between them
2017-01-18 12:41:28 +00:00
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