62 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
172ddee5c4 Only pass mouse events to cursors if they're enabled 2016-08-12 15:41:28 +01:00
Mike
b31d6a03ad Fix times/rates not changing when sample rate changes 2016-08-09 23:09:23 +01:00
Tobias Schneider
b19fef7585 refact(plotview): Move the time scale into PlotView 2016-08-09 23:00:43 +01:00
droelfdroelf
dd461bacb7 added time scale toggle checkbox
Conflicts:
	mainwindow.cpp
	spectrogram.cpp
	spectrogram.h
	spectrogramcontrols.cpp
	spectrogramcontrols.h
2016-08-05 11:05:02 +01:00
Tobias Schneider
549d6fa679 feat(spectrogramplot): Draw a time axis at the top 2016-08-05 10:28:53 +01:00
Mike Walters
90833b5d43 Remove GR 2016-06-11 13:48:26 +01:00
Mike Walters
ecdc01986b cursors: Move cursors to keep a constant symbol rate when changing symbol count 2016-05-02 01:45:28 +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
748dc33c22 plotview: Fix symbol extraction 2016-04-30 22:57:19 +01:00
Mike
f74e847950 plotview: Basic symbol extraction
ref #63
2016-04-23 14:08:27 +01:00
Mike
d3217a3178 plotview: Move derived plot actions to sub-menu 2016-04-20 13:39:25 +01:00
Mike Walters
d2d17ebd0c plotview: Remove hardcoded default plots 2016-04-18 22:37:39 +01:00
Mike Walters
bdadbef3e6 plots: Add plot names 2016-04-18 22:37:39 +01:00
Mike Walters
ede1a547f4 plotview: Use selected plot when right clicking 2016-04-18 22:37:39 +01:00
Mike Walters
f51921491c plotview: Context menu for adding plots 2016-04-18 22:37:37 +01:00
Mike Walters
18de7ff82a plots: Push plot definition out of PlotView 2016-04-16 16:35:06 +01:00
Mike Walters
9d5bf3631d tuner: Move Tuner intro SpectrogramPlot 2016-04-07 22:51:16 +01:00
Mike Walters
ec45e0f6da plot: Add sample output interface 2016-04-07 22:11:34 +01:00
Mike Walters
2102e34589 plotview: Drop eventFilters and just pass mouse events to things 2016-04-04 00:04:10 +01:00
Mike
6a1a06cefc plotview: Pass mouse events to individual plots 2016-04-03 23:52:40 +01:00
Mike Walters
2d073462f1 plotview: Cleanup plot creation a bit 2016-04-03 23:02:23 +01:00
Mike Walters
f20d99a4f8 plot: Draw plot tiles in background thread 2016-04-03 19:14:54 +01:00
Mike Walters
270f44ccbe plot: Cache tile pixmaps 2016-04-03 19:13:43 +01:00
Mike Walters
06101fe11d tuner: Remove debug message 2016-04-03 19:13:43 +01:00
Mike Walters
202cf82db2 tuner: Hook up tuner overlay to modify Xlating FIR filter taps/centre 2016-04-03 19:13:43 +01:00
Mike
51a21034c7 Revert "plotview: Disable time-domain plots for now"
This reverts commit 3b40a65852.
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 Walters
aeffd64f97 plotview: Zoom in/out on ctrl + mouse wheel 2016-03-10 01:57:23 +00:00
Mike
82494d501f plotview: Zoom relative to centre of view 2016-03-09 01:46:40 +00:00
Mike
3c8f2b2701 plotview: Use range_t for viewRange 2016-03-09 01:46:15 +00:00
Mike Walters
aeb295fe28 controls: Emit zoomLevel final multiplier (not a power) 2016-03-07 00:45:29 +00:00
Mike Walters
a735394859 controls: Update FFT size and zoom level in one operation
Zoom level needs to be clamped to FFT size so this prevents
crashiness later on
2016-03-07 00:35:05 +00:00
Mike Walters
3b40a65852 plotview: Disable time-domain plots for now 2016-03-06 23:58:14 +00:00
Mike Walters
f1750da64e cursors: Update cursor labels when changing bit count 2016-03-06 23:58:14 +00:00
Mike Walters
e1dd912d72 plotview: Add vertical scrolling 2016-03-06 23:47:45 +00: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
c6166d70f9 plotview: Store time selection 2016-03-05 19:20:35 +00:00
Mike Walters
158e95c54a plotview: coordToSample -> samplesPerLine 2016-03-05 19:18:14 +00:00
Mike Walters
f8e30fa128 plotview: Remove old selection slots 2016-03-05 18:30:10 +00:00
Mike Walters
bc2b1dc900 cursors: Connect cursors to time/freq display on dock 2016-03-05 17:10:40 +00:00
Mike Walters
eaf422165f plotview: Abstract out coord -> sample calculation 2016-03-05 16:16:55 +00:00
Mike Walters
a82a1af33d cursors: Reimplement Cursors as QObject and implement dragging 2016-03-05 15:57:11 +00:00
Mike Walters
bf2cb29573 spectrogram: Hook up power min/max again 2016-03-04 13:15:25 +00:00
Mike Walters
9b78f334aa plotview: Don't recreate the plots all the time 2016-03-04 13:15:25 +00:00
Mike Walters
fb7a892149 input: Hook up file opening & invalidationEvent 2016-03-04 13:15:25 +00:00
Mike Walters
2135e03c01 input: Start refactoring InputSource to be able to open/close files 2016-03-04 13:15:25 +00:00
Mike Walters
19734da0b2 plotview: Store view range 2016-03-03 20:52:34 +00:00
Mike Walters
6ee980b294 plotview: Connect up cursors 2016-03-03 17:26:54 +00:00