56 Commits

Author SHA1 Message Date
Mike Walters
7ccbbac774 Move sample rate to toolbar 2017-12-24 19:16:09 +00:00
Mike Walters
c1067c6e4f Move cursor toggling to toolbar 2017-12-24 19:16:09 +00:00
Mike Walters
3324216456 Move zooming to toolbar 2017-12-24 19:16:09 +00:00
Mike Walters
f786b12213 Move file opening to toolbar 2017-12-24 19:16:09 +00:00
Mark K Cowan
35684e4dc5 Widened FFT size range 2017-04-14 21:42:46 +01:00
Mike Walters
8d48d3b867 Fix file types in open dialog 2017-02-02 17:25:39 +00:00
Mike Walters
90e45fb073 Force fft/zoom change signal to setup initial state
This wasn't a problem before as setDefaults would force
a changed signal. Now with settings saving it's possible
for the saved setting to be the same as the initial slider
position and a changed event is not emitted.

This leads to a case where the rest of the app doesn't get
synced up and causes a crash.

Fixes #109
2016-12-19 16:38:20 +00:00
Mike Walters
5c9dca7be2 Cleanup settings saving with individual slots
ref #109
2016-12-19 16:31:52 +00:00
Eoin Mcloughlin
b59a068180 Fix FFT/Zoom setting saving
Use new value, not old [default] value
2016-12-18 12:52:22 +00:00
Eoin Mcloughlin
90a522f457 Save rest of settings in spectogram controls 2016-12-18 12:52:07 +00:00
Eoin Mcloughlin
4cc04c1ca4 Remember state of "Open File" dialog 2016-12-18 12:51:59 +00:00
Eoin Mcloughlin
5e332faedc Save sample rate in settings
Highly likely that subseqent runs of the application will use the same samplerate.
2016-12-18 12:49:23 +00:00
Samy Kamkar
57a1bca8b9 Move "All files" in Open Dialog to default
Prevents macOS bug where only certain files are selectable by default (though not all file formats Inspectrum supports)
2016-11-29 22:38:14 -08:00
apelly
0d9f8af53e Slow down mouse zoom speed
Don't be so fierce about adjusting sliders with the mouse wheel. Changed
the page size to 1 for the sliders that merited it.
2016-10-26 16:24:22 +13:00
Mike Walters
08a9ad0ea1 Merge pull request #85 from schneider42/frequency-marking
feat(plotview): Draw a frequency scale
2016-09-15 06:02:27 +01:00
schneider
ed31017f2c feat(spectrogramplot): Draw a frequency scale 2016-09-14 00:45:58 +02:00
Jared Boone
b500b5639d Add many missing filename extensions to file-open options. 2016-09-07 17:13:16 -07:00
Mike Walters
0565d83d27 Use SI prefixes in labels 2016-08-11 19:00:28 +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
Mike Walters
7ad24233fd spectrogram: Plot log power instead of magnitude 2016-06-04 14:56:37 +01:00
Mike Walters
27381dbb30 cursors: Fix up naming of values derived from segmented cursors 2016-04-03 19:09:38 +01:00
Jared Boone
396330053b UI for file type selection, mapping to SampleAdapters. 2016-03-18 11:04:39 -07:00
Mike Walters
d35e24be37 controls: Add zoomIn/zoomOut slots & signals 2016-03-10 01:52:36 +00:00
Karsten von Hornbostel
c40508eb16 fixed crash when QFileDialog is closed without selecting a file 2016-03-08 21:25:27 +01:00
Mike Walters
49471c5b08 controls: Clamp zoomLevel to fftSize 2016-03-07 00:45:33 +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
c3d5e9eafd controls: Clear cursor labels when disabled 2016-03-06 23:58:14 +00:00
Mike Walters
78ba7aab3a controls: Remove pointer info 2016-03-06 23:58:14 +00:00
Mike
515db69950 cursors: Set more reasonable bit-count limits 2016-03-06 01:25:18 +00:00
Mike
f2b7f918d2 cursors: Split cursors into n segments to align with multiple bits 2016-03-06 00:48:45 +00:00
Mike Walters
473438b5d5 controls: Clean up selection labels a bit 2016-03-05 17:22:00 +00:00
Mike Walters
bc2b1dc900 cursors: Connect cursors to time/freq display on dock 2016-03-05 17:10:40 +00:00
Mike Walters
fffefbe4be samplesource: Add sample rate property 2016-03-04 17:03:25 +00:00
Mike Walters
d0728351f6 controls: Set defaults after making connections 2016-03-04 13:15:25 +00:00
Mike Walters
b9f82e9944 controls: Reorgnise controls 2016-03-03 18:27:51 +00:00
Mike Walters
342ab93542 controls: Add enable cursors checkbox 2016-03-03 15:52:53 +00:00
Mike Walters
570056460b controls: Remove time scale checkbox 2016-03-03 15:50:19 +00:00
Mike Walters
07c24d9f09 Merge branch 'master' into waveform
Conflicts:
	inputsource.h
	mainwindow.cpp
	mainwindow.h
	spectrogram.cpp
	spectrogram.h
	spectrogramcontrols.cpp
	spectrogramcontrols.h
2016-02-29 22:46:50 +00:00
Mike Walters
fd73720eab Style 2016-02-29 22:39:18 +00:00
András Veres-Szentkirályi
649f7f4049 added dragless cursor delta measurement 2016-02-28 14:43:33 +01:00
András Veres-Szentkirályi
eb5a31f7fd Added cursors 2016-02-27 23:43:51 +01:00
Mike Walters
3aec698450 WIP Style 2016-01-11 02:04:39 +00:00
droelfdroelf
0e808597b7 added time scale toggle checkbox 2015-12-20 21:54:22 +01:00
Mike
e2f4eb8b74 WIP 2015-12-01 15:20:53 +00:00
Mike Walters
9f7b53e402 Add GPLv3+ headers to everything 2015-10-04 16:34:09 +01:00
Mike Walters
f36d856f19 Move file picker to SpectrogramControls 2015-09-06 18:22:04 +01:00
Mathieu Rene
d8d529e284 Fix missing includes 2015-08-16 14:47:05 -04:00
Mike
72d2ab0d3f Add sample rate control
re #10
2015-08-16 14:17:11 +02:00
Mike Walters
677b8b5116 Re-implement zoom 2015-08-04 18:18:44 +01:00