Jon Beniston
ddedd59568
Add MessageDialog and use it in place of the QMessageBox static functions
...
QMessageBox::information() and friends build the box on the stack, parent
it to the calling widget and run a nested event loop in exec(). If the
parent is closed while the box is open, which the Web API can do at any
time, the parent deletes the box and its children and the heap is
corrupted.
MessageDialog offers the same calls, but the box is heap allocated, given
Qt::WA_DeleteOnClose and shown rather than exec'd, so nothing runs a
nested event loop and the box owns its own lifetime. A box with the same
text as one already up is raised instead of a second being created.
The trade off is that information(), warning() and critical() return
immediately and cannot report which button was pressed. question() takes
a callback for the cases that need the answer.
Converts the call sites in the device, channel and feature GUIs.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2 months ago
f4exb
63348eeee1
Make device title editable in the basic device settings. Fixes #2292
10 months ago
Daniele Forsi
8c3f7e3775
Remove unused includes and use more direct includes
3 years ago
srcejon
46c7206b42
Start file browser in directory of last file selected.
3 years ago
f4exb
b6c4d10b62
Rewriting of copyright notices for plugins/samplesource. Part of #1893
3 years ago
Jon Beniston
e799e5eb72
Fix resize cursor not being cleared when mouse moves over child widgets
3 years ago
Jon Beniston
d574e74908
Support FileInput plugin on Android, by using QFile rather istream
4 years ago
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
4 years ago
f4exb
90cab1dfda
FileInput: Make settings assignments atomic. Part of #1329
4 years ago
Jon Beniston
d6a02f659a
Device GUIs: Stop timers in destructors.
4 years ago
f4exb
9e5c629473
v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242
5 years ago
f4exb
218237c466
Massive UI revamping (v7): Devices: set the border on the outer side of the window. Part of #1213
5 years ago
f4exb
90d331675a
Massive UI revamping (v7): fixed widget size handling: sample sources. Part ofs #1209
5 years ago
f4exb
40e34bdebd
Massive UI revamping (v7): implemented device common settings from top bar and added documentation on device windows top and bottom bars
5 years ago
f4exb
32973132d9
Massive UI revamping (v7): unify custom widget borders
5 years ago
f4exb
aad90aeabc
Massive UI revamping (v7): devices basic
5 years ago
f4exb
d471f09cc2
Replaced frequency dials by labels for unmodifiable frequency displays
5 years ago
Andreas Baulig
e8a8ef6f3d
Switch FileRecord timestamp resolution to milliseconds
5 years ago
Jon Beniston
80fe6cb096
Add signed 16-bit PCM 2 channel .wav file support to File Input and File Record plugins
6 years ago
Jon Beniston
bf9d5501b0
Allow filename to be restored from settings.
...
Allow filename to be set via API.
6 years ago
f4exb
841a8fe242
Morph PluginInstanceGUI in DeviceGUI and single line inheritance from QWidget
6 years ago
f4exb
d085b4eb7d
Removed undesirable methods from PluginInstanceGUI and related common plugins
6 years ago
f4exb
47a1eeaedc
FileInput: calculate file record length down to the microsecond. Implements #614
6 years ago
f4exb
d0c2b73d99
Full renaming of FileSource device to FileInput
7 years ago
f4exb
7fcc24e06c
FileSource input: renaming of settings and report
7 years ago
f4exb
89e53cf179
Single DeviceAPI interface (1)
8 years ago
f4exb
4bb0f4f51a
Fixed incomplete copyright headers (2): plugins/samplesource
8 years ago
f4exb
b435449dc3
Reverse API: File Source
8 years ago
f4exb
7574cb23d4
Windows: MSVC2017: fixed more attribute unused cases (2)
8 years ago
f4exb
b397cd3a4b
File Input: REST API: updated with new settings elements
8 years ago
f4exb
a6557cd4f9
File Input: use millis instead of percent for navigation slider
8 years ago
f4exb
307ee9ce9e
File Input: fixed segfault when thread is not (yet) allocated
8 years ago
f4exb
2c87e67057
File Input: loop handling phase 2
8 years ago
f4exb
bb1e3f3933
File Input: acceleration and loop handling phase 1
8 years ago
f4exb
678af4e186
File Input: fixed wrong times display on file seek when sample count exceeds int limit (use of int64 and uint64)
8 years ago
f4exb
4032d62b3d
FileRecord improvement: added visual indicator for CRC check in the GUI
8 years ago
f4exb
b00aea8989
PVS studio static analyzer fixes (1)
9 years ago
f4exb
4c31da6c17
File source input: implemeted WEB API for reporting
9 years ago
f4exb
3203a5511d
Airspy input: implemeted WEB API
9 years ago
beta-tester
1c952d3b0e
force 24h time format
...
changed hh:mm to HH:mm
changed dd.MM.yyyy to yyyy-MM-dd to uniform all date format
9 years ago
f4exb
7bf777e498
Get rid of ugly native dialogs on file chooser dialogs
9 years ago
Jason Gerecke
bc4d7adce7
FileSourceGui: Prevent potential integer overflow in updateWithStreamTime
...
UBSan reports the following error when replaying an IQ stream:
./plugins/samplesource/filesource/filesourcegui.cpp:331:29: runtime
error: signed integer overflow: 2704064 * 1000 cannot be represented
in type 'int'
By rearranging the calculation, we can be sure that the calculation never
overflows.
9 years ago
f4exb
cc1033b3c5
File Input and record: 16/24 bit DSP compatibility: bug fixes
9 years ago
f4exb
7dfa9cb907
FileSource: fixed initialization of do apply settings flag
9 years ago
f4exb
8399baeb4e
Source plugins: put a serializer and deserializer in the core plugin for server. NFM demod: fixed deserializer
9 years ago
f4exb
2145eeb7b6
DSD demod: highpass filtering for audio completed
9 years ago
f4exb
966767a44a
Web API: use message passing to start/stop device for all the rest of device plugins
9 years ago
f4exb
da3e6dcdfb
Removed direct reference to the DeviceSourceAPI in the source GUIs
9 years ago
f4exb
e520ef5aeb
Removed GLSpectrum getter from DeviceSourceAPI
9 years ago
f4exb
1b95457d96
Device source and sink APIs: removed direct reference to main window
9 years ago