Wykres commitów

569 Commity (2cb2a8d55539a00f7c820193758adf0d9044660d)

Autor SHA1 Wiadomość Data
Jon Beniston 2cb2a8d555 Update sdrbase and sdrgui to support Qt5 and Qt6 2022-11-17 14:41:55 +00:00
f4exb e89331f58f Audio output device recording: GUI and settings 2022-11-11 18:39:21 +01:00
Jon Beniston c966f1cb5a dd maximize button to MainSpectrum and expandible Channels and Features.
Add sizeToContents in ChannelGUI and FeatureGUI, called when widget is
rolled, so we can remove resizing code from all of the individual
channels and features.

In RollupContents, use minimumSizeHint for calculated size, so that
minimumWidth can come from .ui file.

In DeviceGUI::sizeToContents(), call adjustSize(), so Device GUIs start
out at minimum needed size (which should restore appearance prior to
last patch).

In stackSubWindows, use available space for channels if no
spectrum/features present.
In stackSubWindows, fix spectrum from being sized too big, resulting in
scroll bars appearing.
Reset user-defined channel width in stackSubWindows, when channels are
removed.
Don't stack maximized windows.

There's one hack in Channel/FeatureGUI::maximizeWindow(). It seems that
when maximimzing a window, QOpenGLWidgets aren't always paint properly
immediately afterwards, so the code forces an additional update. I can't
see why the first call to paintGL doesn't work.
2022-11-11 12:24:27 +00:00
Edouard Griffiths b6e13d1e6c
Merge pull request #1509 from srcejon/fix_warnings_unused_vars
Fix unused variable warnings
2022-11-09 21:30:56 +01:00
Jon Beniston b69d6af862 Fix unused variable warnings 2022-11-09 16:59:02 +00:00
Jon Beniston 0d5b6ce4c9 Only enable resize grips if size policy isn't fixed 2022-11-09 16:15:35 +00:00
Jon Beniston ee8b8ade88 Device GUIs: Constain window size via minimumSize/maximumSize, rather than handling resizeEvent. Add maximum button. Hide size buttons when window size is fixed 2022-11-09 15:53:44 +00:00
Jon Beniston ed279812f6 Set window width to account for miniumum width required for visible rollups. 2022-11-08 09:43:58 +00:00
Jon Beniston 036f396be4 3D spectrum: Allow = to be used for +. Fix array delete. 2022-11-05 20:58:47 +00:00
f4exb f5b91fff53 GLSpectrum: separate waterfall and histogram resizing conditions. Fixes #1496 2022-11-04 19:11:25 +01:00
f4exb c3f098aee3 ScaleEngine: removed now useless debug message 2022-10-22 10:21:32 +02:00
f4exb da8e4d1a0b Spectrum frequency ticks MSB truncation: fixed algorithm, settings persistency and added documentation. Fixes #1477 2022-10-16 12:57:54 +02:00
f4exb eab20ec66f Spectrum frequency ticks MSB truncation: display 2022-10-16 11:29:45 +02:00
f4exb 45ef7c5be0 Spectrum frequency ticks MSB truncation: base algorithm 2022-10-16 04:48:07 +02:00
f4exb fa0be0d569 Updated transverter dialog documentation 2022-10-15 10:52:29 +02:00
f4exb 00ce7e913c Spectrum markers dialog: set frequency dials up to 12 digits. Complement of #1476 2022-10-15 05:17:35 +02:00
f4exb 949a9e9380 Center frequency dials up to 9 digits and transverter delta frequency dial up to 12 digits. Fixes #1476 2022-10-15 03:04:29 +02:00
Jon Beniston 97632e1b56 Ensure bandwidth is positive. Use engineering units for bandwidths. 2022-10-03 16:18:38 +01:00
Jon Beniston 78200656f5 Update docs 2022-10-03 16:07:48 +01:00
Jon Beniston 47c63d3154 Add occupied bandwidth and 3dB bandwidth measurements 2022-10-03 16:02:24 +01:00
Jon Beniston ff974234dc Align spectrum with frequency scale 2022-10-03 10:55:20 +01:00
f4exb 949a103b25 Spectrum markers peaks option 2022-10-03 00:23:47 +02:00
Jon Beniston 081696f3a9 Rollupwidgets: Handle child layout requests 2022-10-02 20:07:28 +01:00
Jon Beniston ec78344f88 Size spectrum measurements table. 2022-10-02 20:06:52 +01:00
f4exb 3011e066a1 communicate from spectrum GUI to markers dialog and fixed some warning issues 2022-10-01 20:58:21 +02:00
f4exb 7e35eeb69c Open spectrum markers dialog at current mouse position 2022-10-01 07:32:55 +02:00
f4exb 44b0ef63c8 Make markers dialog non modal 2022-10-01 06:56:42 +02:00
f4exb 859cd86bd6 Updated calibration button icon and documentation. Following PR #1454 2022-09-30 01:19:26 +02:00
Jon Beniston 7c5249149a Move GLSpectrum to GLSpectrumView and create new GLSpectrum that instances GLSpectrumView and SpectrumMeasurements 2022-09-29 13:48:04 +01:00
Jon Beniston d00862d4f1 Use dialog for spectrum measurement settings 2022-09-29 11:59:58 +01:00
Jon Beniston ac64161e66 Use splitter instead of dock 2022-09-28 22:01:26 +01:00
Jon Beniston 82d609767c Update peak table when number of peaks changes 2022-09-28 20:03:59 +01:00
Jon Beniston f5a9d38616 Fix gcc warnings 2022-09-28 19:47:44 +01:00
Jon Beniston 2d43a5515e Spectrum: Use widget for measurements 2022-09-28 16:59:35 +01:00
Jon Beniston f85045b291 Save spectrum as CSV file with frequency and header 2022-09-26 18:03:14 +01:00
Jon Beniston b935b32274 Fix gcc warning 2022-09-26 13:32:00 +01:00
Jon Beniston 907871f164 Spectrum GUI: Add button to save spectrum data to text file. 2022-09-26 13:30:58 +01:00
Jiří Pinkava 50307e0f61 Replace depreceted QWidget.setMargin with setContentsMargins 2022-09-25 20:53:16 +02:00
Jiří Pinkava 01227143ac Replace deprecated FontMetrics.width() with horizontalAdvance 2022-09-25 20:05:09 +02:00
Jon Beniston fe46660be8 Fix gcc warnings 2022-09-25 11:11:23 +01:00
Jon Beniston c53b4a0f56 Fix gcc warnings 2022-09-25 11:09:50 +01:00
Jon Beniston b754e0f4a4 Fix for gcc 2022-09-25 11:08:32 +01:00
Jon Beniston e65baa13d3 Don't use deprecated function 2022-09-25 11:06:49 +01:00
Jon Beniston ac1f61c3ed Fix typo 2022-09-25 10:58:48 +01:00
Jon Beniston d67ba75a94 Spectrum: Add Channel Power and SNR measurements 2022-09-25 10:56:25 +01:00
f4exb 4caa85749f Duplicate MDI restore geometry 2022-09-25 10:12:12 +02:00
Jiří Pinkava a9f1c072d9 Replace deprecated QWheelEvent.pos by position 2022-09-24 21:20:56 +02:00
Jiří Pinkava c29d3b6433 Replace deprecated QWheelEvent.delta by angleDelta 2022-09-24 20:23:28 +02:00
Jiří Pinkava af7959c949 Fix name of widget, it must be unique
The widget name was duplicated, it caused no real issue, sinc it was
never referenced, but the UI compiler complained
2022-09-23 00:40:15 +02:00
Jon Beniston 3a11b246d0 Spectrum: Add peak power and frequency in info bar 2022-09-22 12:07:52 +01:00