1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00
Commit Graph

1107 Commits

Author SHA1 Message Date
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