Commit Graph

111 Commits

Author SHA1 Message Date
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 3b5b222114 Update plugins to compile with Qt5 and Qt6 2022-11-17 14:36:12 +00: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
Jiří Pinkava bad33e0719 Replace deprecated setStandardButtons 2022-09-23 00:27:50 +02:00
f4exb 360b8a9753 Massive UI revamping (v7): Fixed sizing of channel windows. Part of #1209 2022-04-24 12:28:56 +02:00
Jon Beniston 99fce0dce0 Add FramelessWindowResizer class for resizig frameless windows.
Remove top-right resize grip from windows.
In channels and features, make sure enterEvent and leaveEvent are passed
to parent class.
2022-04-22 18:21:24 +01:00
f4exb 018b97e17d Massive UI revamping (v7): updated basic channel settings and indicate stream index for MIMO device and single stream channel 2022-04-18 01:42:03 +02:00
f4exb 4e2a4b7f6c Massive UI revamping (v7): more cleanup 2022-04-15 19:53:50 +02:00
f4exb af13b31d85 Massive UI revamping (v7): display channel absolute frequency in status bar. Manage shift frequency limits 2022-04-13 11:08:21 +02:00
f4exb 2f89b79c84 Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +02:00
f4exb 98b305f320 Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00
f4exb 2a3ce0e7fb API: implemented Channel Marker in Tx channels 2021-12-03 23:11:56 +01:00
Edouard Griffiths cab9dc6094
Merge pull request #1056 from srcejon/channel_help
Add links to documentation
2021-11-24 22:02:11 +01:00
Jon Beniston 03004e00f7 Add links to documentation 2021-11-24 11:31:51 +00:00
Jon Beniston 2e68017b12 Save/restore rollup state in channel plugins 2021-11-24 09:50:42 +00:00
f4exb b9adbfb1d8 Refactored GUI queue access (from kasper93) 2020-10-31 19:27:35 +01:00
f4exb 61d3431095 Some cleanup 2020-10-14 22:10:26 +02:00
f4exb 8ba95addc0 Use MainCore instance in place of MainWindow 2020-10-12 22:11:13 +02:00
f4exb 6ebf4569bf Delete channel API from DeviceUISet. Update FeatureUISet 2020-10-04 22:16:09 +02:00
f4exb b1c9a35dcb Channel plugins: use specialized ChannelGUI superclass. Handle GUI lifecycle in MainWindow 2020-10-04 22:16:09 +02:00
f4exb d085b4eb7d Removed undesirable methods from PluginInstanceGUI and related common plugins 2020-10-04 22:16:09 +02:00
f4exb 1b11363214 Add GUI to device set outside plugin: applied to common plugins 2020-10-04 22:16:09 +02:00
f4exb 8578b3e117 ATV Modulator: complete vertical sync rework. Removed 405 lines and added 819 lines system. Implements #578 2020-07-31 04:04:16 +02:00
f4exb b64e41419f Add 10 MHz digit to wideband channel plugins. Implements #531 2020-07-01 19:53:09 +02:00
f4exb d1b80524ea Channel Tx plugins: added support of MIMO devices 2019-11-17 11:09:35 +01:00
f4exb 3b74153ec6 SampleSourceFifo refactoring and Tx code reorganization 2019-11-15 01:05:32 +01:00
f4exb ecb4a08718 MIMO: channel marker affinity with the stream being displayed on the main spectrum. Implemented in demod AM 2019-05-30 18:38:10 +02:00
f4exb 7e128335f1 Propagate change to channel UIs 2019-05-09 21:07:05 +02:00
f4exb 9e628917dc Removed all obsolete references to devicesourceapi.h and devicesinkapi.h 2019-05-09 12:10:27 +02:00
f4exb ef15157a50 Fixed incomplete copyright headers (1) 2019-04-11 06:39:30 +02:00
f4exb ccad513947 Reverse API: ATV mod 2018-12-21 01:15:15 +01:00
f4exb dc2f25a00b Windows: MSVC2017: fixed more attribute unused cases (1) 2018-11-13 00:45:03 +01:00
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
2018-05-11 11:00:08 +02:00
f4exb 7bf777e498 Get rid of ugly native dialogs on file chooser dialogs 2018-05-11 00:00:15 +02:00
f4exb 889712b457 ATV modulator: Web API: fixed set windows title 2018-04-15 10:38:32 +02:00
f4exb 416f852861 ATV modulator: Web API: fixed video settings display in the GUI 2018-04-15 10:20:13 +02:00
f4exb 6320716eb9 ATV modulator: Web API: add possibility to set image and video files 2018-04-15 02:22:54 +02:00
f4exb 875cf59fda ATV modulator: pass text overlay switch in settings 2018-04-15 01:34:46 +02:00
f4exb b21ea9ab2f ATV modulator: Web API: settings and report implementation 2018-04-15 00:52:39 +02:00
f4exb 53beb8a92d Removed UDP address and port from Channel marker 2018-03-30 19:06:27 +02:00
f4exb 2b846f5d28 PVS-Studio static analysis corrections (2) issue #137 2018-02-22 03:04:42 +01:00
f4exb f01b90094b PVS-Studio static analysis corrections (1) issue #137 2018-02-21 18:54:59 +01:00
f4exb b0a97510e2 Moving average cleanup 2018-02-03 10:33:02 +01:00
f4exb 02e0945368 Web API: implemented /sdrangel/channels: Get a list of channel plugins available in this instance 2017-11-23 01:19:32 +01:00
f4exb 178f672771 AM and ATV modulators: applied new channel marker signal handling 2017-11-14 20:24:54 +01:00
f4exb e492253bc8 Removed obsolete basic channel settings widget 2017-11-12 10:36:08 +01:00
f4exb 9cca7100ac Demdulators: removed obsolete on menu double clicked event handling. Modulators: removed obsolete basic settings shown indicator 2017-11-12 10:30:12 +01:00
f4exb e2252836f0 Modulators: removed obsolete on menu double clicked event handling 2017-11-12 10:06:32 +01:00
f4exb f2b53fe3aa Use the modulator constructor separated from the modulator GUI constructor 2017-11-08 22:54:58 +01:00
f4exb 9c68da780e Added mod constructor interface in the plugin API. Created method in all Tx channel plugins 2017-11-08 17:09:25 +01:00