Commit Graph

67 Commits

Author SHA1 Message Date
Jon Beniston fc7c9c1fc8 Update CMakeLists.txt to support both Qt5 and Qt6. Add option ENABLE_QT6 2022-11-17 14:34:54 +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 139642ad4a Fix support for using Serial or TCP for either protocol 2022-10-28 13:56:39 +01:00
Jon Beniston a618dae6e7 Check for existing pipes after GUI is created. For #1484 2022-10-27 19:15:46 +01:00
f4exb 47a6ddddd8 Updated versions and changelogs 2022-10-07 00:24:31 +02:00
Jon Beniston b1ce69fb2b Call stopWork from destructor. 2022-09-20 21:13:12 +01:00
Jon Beniston 5da8d6d28c Update threading in Rotator Controller for #1346 2022-09-18 16:47:06 +01:00
Jiří Pinkava 0df2d75e6d Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
Daniele Forsi 902012641d Fix typing errors in readme's
Fixed with:
find . -name '*.md' -exec codespell --ignore-words-list=doas,ehr,lits,verry --write-changes --summary {} \+
2022-05-15 12:39:57 +02:00
f4exb de94ea01b5 Updated main and plugin versions 2022-05-14 13:16:33 +02:00
f4exb 9e5c629473 v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
f4exb f77e38eb3f Massive UI revamping (v7): Fixed sizing of feature windows. Part of #1209 2022-04-24 19:34:48 +02:00
f4exb 632378205a Merge branch 'v7' of https://github.com/f4exb/sdrangel into v7 2022-04-23 11:38:03 +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 90386842ca Massive UI revamping (v7): fixed widget size handling: features. Part of #1209 2022-04-21 23:31:01 +02:00
f4exb 560d61abcb Massive UI revamping (v7): feature window basic feature settings dialog: implemented reset to default title. Some cosmetic changes 2022-04-18 12:08:33 +02:00
f4exb 4e2a4b7f6c Massive UI revamping (v7): more cleanup 2022-04-15 19:53:50 +02:00
f4exb 43f53fe26a Massive UI revamping (v7): created configurations with just Features for now 2022-04-05 16:28:07 +02:00
f4exb 5abef702e4 Massive UI revamping (v7): features 2022-04-05 16:28:07 +02:00
f4exb 7f1c838cec Updated versions and changelogs 2022-03-30 22:16:08 +02:00
f4exb 842546aec6 Rotator controller and dependent plugins: implemented new message pipes and other fixes. Part of #1154 2022-03-28 20:12:25 +02:00
f4exb 920d160f13 FeatureAPI: Added more convenient getIdentifier pure virtual method 2022-03-26 12:25:35 +01:00
f4exb 4111c967e9 Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185 2022-03-23 22:32:23 +01:00
Jon Beniston 476978f21d Add FeatureLayout - to try to better use space in Feature window 2022-03-18 17:07:52 +00:00
f4exb 0715fc5d69 Updated versions and changelogs 2022-03-05 04:58:19 +01:00
Jon Beniston 994cadc91f Open/close serial ports in worker thread. Fix for #1153 2022-03-03 11:06:18 +00:00
Jon Beniston 97496ae9f9 Install debug symbols on Windows for debug builds 2022-02-06 12:56:58 +00: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 35adc25450 Updated version changelogs and readmes 2021-12-16 10:32:52 +01:00
Jon Beniston f752806dbf Rotator controller - Don't round az/el received from Sat Tracker, as we now support higher precision 2021-12-10 20:33:19 +00:00
Jon Beniston d5857c3878 Move Feature workers to thread 2021-11-25 09:28:59 +00:00
Jon Beniston 03004e00f7 Add links to documentation 2021-11-24 11:31:51 +00:00
Jon Beniston fb394165a3 Update API 2021-11-23 12:28:06 +00:00
Jon Beniston 257b265ee8 GS232 Rotator Controller updates
Add support for hamlib/rotctld protocol.
Add support for TCP connections.
Name plugin Rotator Controller, rather than GS-232 Rotator Controller, as it now supports 3 different protocols.
2021-11-23 12:13:24 +00:00
f4exb 54d880ac56 Updated versions and changelogs 2021-10-24 10:08:22 +02:00
f4exb fee2c5065d API: report running state for feature plugins with run action 2021-10-23 21:24:25 +02:00
f4exb 10f79b183f Implemented run action API in relevant feature plugins. Missing bits. 2021-10-23 10:53:15 +02:00
f4exb 920fa82022 Implemented run action API in relevant feature plugins 2021-10-22 02:01:33 +02:00
f4exb 995b804084 Updated versions and changelogs 2021-10-12 23:25:14 +02:00
Jon Beniston 1de5a38d6b Fix gcc warnings 2021-10-12 12:10:12 +01:00
Jon Beniston 750f556eaa GS-232 Controller Updates
Fix broken pipe #1006.
Add onTarget and current and target aziumth and elevation to web report.
Set run/stop button background to yellow when rotator is rotating (not onTarget).
Use floating point value for tolerance setting.
2021-10-05 14:03:31 +01:00
f4exb dc7232ee4f Updated versions and changelogs 2021-10-04 21:04:17 +02:00
f4exb 00b3ae29d9 GS232 Controller API: added serial devices to report + fixes 2021-10-04 02:11:27 +02:00
f4exb f5e14f6502 GS232 Feature: rename targets as sources. API: created GS232 report and fixed missing source name in get settings 2021-10-03 23:15:15 +02:00
f4exb 82f1004f28 ChirpChat demod: updated readme. Updated versions and changelogs 2021-06-12 19:48:24 +02:00
Jon Beniston 8eb369b3bc Add cmath to fix gcc compilation 2021-05-30 12:52:01 +01:00
Jon Beniston f51e8b4095 Add SPID rot2prog protocol support. Add tolerance setting. 2021-05-30 12:38:07 +01:00
f4exb 1e5c4343d1 Updated versions and changelogs 2021-05-28 12:26:20 +02:00
Jon Beniston a0dc231359 Add additional baud rates supported by SPID MD-02 controller 2021-05-16 09:28:42 +01:00
Jon Beniston b5d293f6e7 Add support for parsing GS-232 response sent by SPID MD-02 2021-05-16 09:28:06 +01:00