1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 18:15:45 -05:00
Commit Graph

1253 Commits

Author SHA1 Message Date
Arne Jünemann
4d631b091e Merge branch 'master' of github.com:das-Iro/sdrangel 2023-10-23 15:15:27 +02:00
Arne Jünemann
0d193d41f6 Allow full range of overlap 2023-10-23 15:05:34 +02:00
Arne Jünemann
1034c79c30 Fix FFT Overlap for spectrum view
Movement of the buffer was double what should have been intended
Added warning to std::copy uses that overlaping copy is undefined
behaviour
2023-10-23 14:48:40 +02:00
srcejon
3b0512bd29 Fix crash if some columns in .csv file is missing 2023-10-22 10:25:40 +01:00
srcejon
1b392ee53c Fix warnings 2023-10-22 10:25:08 +01:00
srcejon
2d8ae1329b Add signal for when annotations change 2023-10-03 16:10:08 +01:00
srcejon
e9066fe2a4 Use frame geo rather than widget size, so dialogs aren't positioned off screen on Windows. 2023-09-29 08:43:29 +01:00
srcejon
37521224c3 Add frequency scanner channel plugin 2023-09-28 16:45:35 +01:00
srcejon
4c6ee84f48 Add acronym decoder widget 2023-09-04 13:01:22 +01:00
Jon Beniston
667908a31f Add return value 2023-08-24 16:36:18 +01:00
Jon Beniston
2a24f72590 Add support for plugin presets. 2023-08-24 15:51:50 +01:00
Jon Beniston
5e71da4530 Add VkFFT support and profiler 2023-08-13 23:52:57 +01:00
Jon Beniston
d0d07194f8 Add UI scale factor setting for high DPI screens 2023-08-06 12:26:17 +01:00
Jon Beniston
18180bfd52 Fix gcc errors 2023-08-05 12:52:42 +01:00
Jon Beniston
2d7c572040 Rotator Controller: Add additional gamepad calibration and functionality 2023-08-05 12:33:01 +01:00
Jon Beniston
5ab82f4e49 Use texture() instead of texture2d() in v330 shaders, so they work on Mac 2023-08-01 10:48:36 +01:00
Jon Beniston
37285a9bce Clear with alpha=1 to fix #1735 2023-07-31 21:43:15 +01:00
Daniele Forsi
34aca019e2 Fix spelling in strings 2023-07-23 18:55:12 +02:00
Edouard Griffiths
d8174cf6ae
Merge pull request #1733 from dforsi/fix/typos
Fix spelling
2023-07-09 18:22:59 +02:00
Daniele Forsi
ff47deee60 Fix spelling
Fixed with:
find . \( -name '*.md' -o -name '*.ui' -o -name '*.html' \) -exec codespell --ignore-words-list=cach,doas,ehr,inout,lits,nd,som,verry --summary --write-changes {} \+
and manual editing.
2023-07-09 09:06:18 +02:00
f4exb
7ec955fc61 GLSpectrum: fixed SSB handling 2023-07-09 00:00:51 +02:00
f4exb
65bf00a573 Audio CAT SISO: fixed GLSpectrumView SSB 2023-06-18 00:43:26 +02:00
Jon Beniston
4714e0974b Only update widgets from UI thread. For #1692. 2023-05-24 08:32:57 +01:00
Jon Beniston
aba0e30a4f Set az/el l/b column precision based on rotator precision 2023-05-23 22:29:06 +01:00
Jon Beniston
04db22584a Add DSC demodulator 2023-05-15 16:40:43 +01:00
Daniele Forsi
adf0a5f50b Add a comma after introductory clauses 2023-05-04 21:42:52 +02:00
Daniele Forsi
794be61957 Fix spelling using ispell 2023-05-02 19:43:59 +02:00
Jon Beniston
7ae1951d12 Add accessibility interface for ValueDial widgets, so they work with screen readers. For #1672 2023-04-28 15:58:57 +01:00
Jon Beniston
72971a3dba Scope GUI updates.
Save/restore state of freerun button, trigger stream index and trigger
pre index.
Increase number of channels from 4 to 8.
2023-04-27 19:12:08 +01:00
f4exb
018fa27b02 SpectrumVis: propagate apply settings to GUI message quque if it exists 2023-04-09 06:20:22 +02:00
f4exb
cbe8b2a1e5 GLSpectrumGUI: apply settings when buddies are set 2023-04-08 14:24:16 +02:00
f4exb
d3fbf73ce3 Merge branch 'aaroniartsa' 2023-04-06 22:55:54 +02:00
Jon Beniston
e247fbb4fa Fix Mac compilation error 2023-04-03 16:56:00 +01:00
f4exb
be719f9653 Fixed ValueDial value settings when it is equal to previous value 2023-04-02 09:59:03 +02:00
Jon Beniston
0bf126baa5 Add ILS demodulator 2023-03-21 10:54:42 +00:00
Mohamed
5cb707789c fixing errors when compiling using qt6
Fixing errors when compiling using qt6
2023-03-17 19:41:25 +02:00
f4exb
7928d48257 MainWindow: disconnect prior to connect in device re-numeration. Fixes #1620 2023-03-11 12:42:59 +01:00
Jon Beniston
459aae2dad Prevent MDI scrolling when trying to zoom in on spectrum. 2023-03-03 22:16:29 +00:00
Edouard Griffiths
922fa13f33
Merge pull request #1602 from srcejon/android_fixes
Android power management
2023-02-18 13:50:29 +01:00
Jon Beniston
2755853cdc Android: Prevent app from being put to sleep when running. Add menu to keep screen on. 2023-02-17 21:57:09 +00:00
Jon Beniston
b6dca29167 Autostack: Fix channel windows being made to wide when SDRangel starts 2023-02-17 14:40:32 +00:00
Jon Beniston
df7b763eab Optionally reenamable smoothing on 2D maps, as 16 MSAA isn't always available 2023-02-16 11:00:30 +00:00
Jon Beniston
9c7aa8b333 Map Updates
Allow OpenSkyNetwork DB, OpenAIP and OurAirports DB stuctures to be
shared by different plugins, to speed up loading.
Perform map anti-aliasing on the whole map, rather than just info boxes,
to improve rendering speed when there are many items. Add map
multisampling as a preference.
Add plotting of airspaces, airports, navaids on Map feature.
Add support for polylines and polygons to be plotted on Map feature.
Add support for images to 2D Map feature.
Add distance and name filters to Map feature.
Filter map items when zoomed out or if off screen, to improve rendering
performance.
Add UK DAB, FM and AM transmitters to Map feature.
Use labelless maps for 2D transmit maps in Map feature (same as in ADS-B
demod).
2023-02-14 14:46:08 +00:00
Jon Beniston
29c9c07b74 Spectrum: Keep frequency displayed while channel is being dragged 2023-01-23 14:40:19 +00:00
f4exb
048447592c FT8: added missing image 2023-01-23 07:34:11 +01:00
f4exb
a6a43633e8 FT8 demod: filter messages 2023-01-23 07:20:41 +01:00
Jon Beniston
0bbda79828 Add reset measurements button to Spectrum GUI 2023-01-15 12:01:37 +00:00
Jon Beniston
c54d268280 Add progress dialog for device enumeration, as some drivers are slow. Don't automatically enumerate. 2023-01-04 15:22:41 +00:00
Jon Beniston
c39260fbdb Reduce UI minimum size for small Android screens 2023-01-02 15:26:18 +00:00
Jon Beniston
95cb214b57 Add missing brace 2023-01-02 15:22:07 +00:00
f4exb
f45e949e62 Fixed passing QPoint reference from right click enabler to connected method. Fixes #1549 2022-12-28 20:33:28 +01:00
Jon Beniston
dea4c1f285 Avoid divide by zero when no fixed windows 2022-12-20 23:17:31 +00:00
Jon Beniston
f2fe6ea940 Call processEvents to try to avoid not responding warning on Linux 2022-12-20 23:16:56 +00:00
Jon Beniston
df5dc0c491 Fix syntax error 2022-12-20 21:24:43 +00:00
Jon Beniston
68603fec43 Allow sampling devices to be refreshed while SDRangel is running.
(Possibly need to add a mutex for MainCore::getPluginManager, so only
can be used by one thread)
Add option to automatically update My Position based on GPS. This is
started in MainCore, so we get position as soon as possible.
Don't set QFileDialog::DontUseNativeDialog on Android, as Qt's file
dialog can't access user storage. Set globally for Linux/Windows, rather
than for each dialog.

 MainWindow:
 - Add welcome dialog for Android.
 - Don't show menu bar or status bar on Android to save screen space.
 - On Android, change tab position when screen orientation changes.
 - Load default configurations and presets first time SDRangel is run.
 - Change loadConfiguration to use a QProgressDialog rather than
   QMessageBox, as the latter was crashing on Android.
   - Use DialogPositioner to ensure dialogs are on screen.
2022-12-20 21:06:39 +00:00
Jon Beniston
017d27e907 Allow maximize button to make window full screen, if already maximized. 2022-12-20 16:22:21 +00:00
Jon Beniston
d1c67c971e Add buttons to stack MDI windows vertically and put in tabs.
Use right click to auto-stack sub-windows, rather than having a
dedicated button.
Allow maximize button to make window full screen, if already maximized.
Add title to device windows, for when displayed in tabs.
Add menu button to workspace toolbar, for Android only, to avoid having
menu bar, which takes up a lot of space.
Add configuration presets button to workspace toolbar.
Add icons for window arangement
2022-12-20 16:10:11 +00:00
Jon Beniston
1c9cc7a989 GLSpectrum touchscreen updates
Add "show all controls" button, that allows most of the "set once"
controls to be hidden on small screens. Please feel free to make a
better icon! Could also be hidden if !ANDROID, if you don't like it.
Add pinch and pan gestures, for frequency scrolling and zooming in to
spectrum.
Queue frequencies requested by scrolling, so intermediate frequencies
can be omitted, if device is slow to update its frequency.
Support non-integer pixel ratios.
Add popup sliders for dials.
Add DialogPositioner for dialogs.
Add layout to spectrum markers dialog, so that it can be resized, to fit
on smaller screens.
2022-12-20 14:39:39 +00:00
Jon Beniston
038cb3b973 Add pinch gesture to GraphicsViewZoom 2022-12-20 11:31:01 +00:00
Jon Beniston
7e7a9fdb84 Add popups for dials 2022-12-20 11:21:54 +00:00
Jon Beniston
102fcab014 Add new sdrgui files to CMakeLists.txt 2022-12-20 10:40:50 +00:00
Jon Beniston
653a4ea4f7 Add welcome dialog for Android 2022-12-20 10:32:09 +00:00
Jon Beniston
0dd466a900 Add DialogPositioner to ensure dialogs are fully on screen and remain on
screen when screen orientation changes.
Add DialPopup to allow dials to adjusted with a slider, which is easier
on touchscreens.
Add TableTapAndHold to support table context menus on touchscreens.
2022-12-20 10:31:15 +00:00
Jon Beniston
60a933771d Support touchscreen tap and hold to be used instead of right mouse click. 2022-12-20 10:01:16 +00:00
Jon Beniston
e3f9d1032d Scale splash screen to size of screen 2022-12-20 09:56:30 +00:00
Jon Beniston
e5c887646a Allow Android virtual keyboard to change sign in ValueDialZ widget 2022-12-20 09:55:22 +00:00
Jon Beniston
c8af6e755e Add icons for arranging windows 2022-12-20 09:54:03 +00:00
f4exb
bf765a00ec Local Sink: FFT filter bands 2022-12-17 07:01:49 +01:00
Jon Beniston
b7567422e9 Add support for Qt6 audio 2022-11-17 14:50:16 +00:00
Jon Beniston
2cb2a8d555 Update sdrbase and sdrgui to support Qt5 and Qt6 2022-11-17 14:41:55 +00:00
Jon Beniston
fc7c9c1fc8 Update CMakeLists.txt to support both Qt5 and Qt6. Add option ENABLE_QT6 2022-11-17 14:34:54 +00:00
f4exb
328cd2046e Audio output device recording: updated documentation. Part of #1330 2022-11-12 11:25:23 +01:00
f4exb
26a5ea1baa Audio output device recording: updated documentation. Part of #1330 2022-11-12 00:20:40 +01: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
3ab767a426 Arrange rollups after restore geometry to mitigate issue #1474 2022-11-03 19:07:44 +01:00
CRD716
7254d5b638
fix user visible typo in mainwindow.cpp 2022-10-27 21:52:57 -05:00
f4exb
9b7a41ad4e MainWindow: move CommandKeyReceiver at an earlier stage in the constructor. Fixes #1485 2022-10-25 22:53:10 +02: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
2f3e96dd46 Remove unneeded changes 2022-09-29 13:55:46 +01: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
f4exb
8b1da4bfef Fixed GUI vs core plugin load order when loading a preset. Fixes #1427 2022-09-27 08:36:17 +02: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
f4exb
375c0e1ce2 Duplicate QWidget::restoreGeometry in some places in an attempt to fix #1432 2022-09-24 23:07:20 +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
Jiří Pinkava
0df2d75e6d Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
Jon Beniston
83a94fc375 Add SciDoubleSpinBox for a DoubleSpinBox that supports scientific E notation entry 2022-09-16 09:00:51 +01:00
Jon Beniston
13baf92a95 FramelessWindowResizer: Use minimumSizeHint and sizeHint, so it works with FlowLayout 2022-09-16 08:53:12 +01:00
Jon Beniston
19fa10d71d FlowLayout: Add support for vertically expanding widgets and vertical alignment. 2022-09-16 08:50:21 +01:00
Jon Beniston
880fde3480 FlowLayout: Add SDRGUI_API so can be used in plugins 2022-09-16 08:49:26 +01:00
Jon Beniston
a7c45f512f Stop status timer, so updateTimer isn't called on deleted objects 2022-09-13 17:04:51 +01:00
Jon Beniston
d74c8b2edf Stack workspace: Use full width for spectrum when no channels 2022-09-06 10:36:30 +01:00
AsciiWolf
0baf3fc544 Bump copyright year 2022-09-03 14:46:28 +02:00
Jon Beniston
d404e9f943 Add start/stop all devices button in toolbar. Add device stateChanged signal. Use in RTL SDR GUI for updating device state 2022-08-27 10:18:17 +01:00
f4exb
66707b19bc SimplePTT: fixed list of audio devices for VOX displaying output instead of input devices 2022-08-13 11:14:31 +02:00
f4exb
fd98de7b38 ChannelAnalyzer: apply fix for #892 only if the current trace mode is live trace. Fixes #1375 2022-08-04 23:43:18 +02:00
f4exb
8e76700618 Fixed some warnings 2022-07-26 06:53:48 +02:00
f4exb
2c3ccc49af Some clang warnong fixes 2022-07-24 21:48:02 +02:00
f4exb
de6bd1f608 Corrected order of deletion of feature vs feature GUI. Fixes #1332 2022-07-22 03:28:20 +02:00
Jon Beniston
7ba8540dd4 Fix shaders so they don't crash when OpenGL 2.0 ES is used 2022-07-21 21:09:41 +01:00
Jon Beniston
08cc6d02f5 Use 2D textures as 1D not supported in Open GL ES on ARM 2022-07-21 19:55:31 +01:00
f4exb
bd7fd29de9 Corrected order of deletion of channel vs channel GUI. Fixes #1332 2022-07-21 05:26:58 +02:00
f4exb
f10da64717 M17 modulator: SMS packet + 2022-07-18 11:18:55 +02:00
Jon Beniston
d17403f8e9 Darken ValueDials when disabled 2022-07-08 22:12:20 +01:00
f4exb
280de9095a GLScope and GLSpectrum removed extraneous call to cleanup method. Fixes #1295 2022-06-28 20:53:47 +02:00
f4exb
77963f9ebf In feature and channel add dialogs ignore apply action if there are no items to select 2022-06-25 12:19:26 +02:00
f4exb
58328ace0d Spectrum GUI: updates to the go to markers feature and documentation 2022-06-25 02:53:11 +02:00