Commit Graph

104 Commits

Author SHA1 Message Date
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
f4exb 3a944fa209 Rewriting of copyright notices for plugins/channelrx. Part of #1893 2023-11-18 12:02:48 +01:00
Jon Beniston e799e5eb72 Fix resize cursor not being cleared when mouse moves over child widgets 2023-11-13 20:51:03 +00:00
srcejon 6e55c030b6 Use DialogPositioner for AudioSelectDialog so it opens on screen. 2023-11-09 22:30:34 +00:00
f4exb e384c06739 use MsgConfigureSpectrumVis in place of corresponding GLSpectrum set methods. Fixes #1624 2023-04-09 11:47:50 +02: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 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
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 2d3d0168b6 BFM: Fix clear previous text button 2022-06-23 11:39:49 +01:00
f4exb c6baed9f73 Massive UI revamping (v7): Restored channel highlighted by cursor function. Part of #1213 2022-04-26 00:42:26 +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 7158c6baf8 BFM demod: added help page to GUI 2022-01-27 23:26:10 +01:00
f4exb 5abca451c9 BFM demopd: clear BAS area when clearing RDS fields 2022-01-22 09:00:16 +01:00
f4exb 46b11086b7 BFM demod: RDS: radio text on two lines with the bottom one keeping the previously decoded text 2022-01-12 13:54:19 +01: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 8a438a94c1 API: implemented Channel Marker in Rx channels and complete serializable objects for some 2021-12-03 23:11:56 +01:00
f4exb 2a9cc27a41 Implement serialize and deserialize to/from API in Serializable interface. Related changes and fixes 2021-12-01 00:21:19 +01:00
Jon Beniston 2e68017b12 Save/restore rollup state in channel plugins 2021-11-24 09:50:42 +00:00
f4exb a09b66c38b SpectrumVis: remove now useless configure method 2020-11-11 11:24:55 +01:00
f4exb 379096cbdd Migrate code to Qt 5.14.2 2020-11-04 20:08:44 +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 c41cf68d60 Demod plugins with configurable audio: fixed audio sample rate handling 2020-08-03 12:59:31 +02:00
f4exb b64e41419f Add 10 MHz digit to wideband channel plugins. Implements #531 2020-07-01 19:53:09 +02:00
f4exb a125ab02cf GLSpectrumGUI: removed reference to message queue in setBuddies method 2020-05-15 23:27:39 +02:00
f4exb 7d6d351891 SpectrumVis: removed message queue parameter from configure method 2020-05-15 23:22:34 +02:00
f4exb 4d9d804f97 Websocket spectrum: adapted plugins (missing bits) 2020-05-15 23:14:19 +02:00
f4exb 9945c6a8f8 Websocket spectrum: adapted plugins 2020-05-15 22:57:09 +02:00
f4exb ac6c3b08f2 Websocket spectrum: first implementation 2020-05-15 22:49:35 +02:00
f4exb c473c31035 BFM demod: fixed message to GUI initialization in baseband class. Fixes #469 2020-01-25 03:43:55 +01:00
f4exb 14a21b10cb Removed obsolete references to DownChannelizr 2019-12-13 00:43:07 +01:00
f4exb 1359aac9b6 Removed ThreadedBasebandSampleSink 2019-12-13 00:42:37 +01:00
f4exb 735f1cdbb4 Rx plugins: refactoring of classes (2) 2019-12-04 07:20:05 +01:00
f4exb 51a07c3f7b Channel Rx plugins: implement MIMO support 2019-10-09 07:39:52 +02:00
f4exb 4b3d088407 GLSpectrum settings refactoring (1) 2019-08-05 01:56:29 +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 98ae61f4e0 Reverse API: BFM demod 2018-12-22 07:16:15 +01:00