Commit Graph

61 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
f4exb 47a6ddddd8 Updated versions and changelogs 2022-10-07 00:24:31 +02:00
f4exb 9f65a6e636 Update threading model in Simple PTT feature. Part of #1346 2022-09-22 10:54:45 +02:00
Jiří Pinkava 0df2d75e6d Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
f4exb d9ad758971 Updated versions and changelogs 2022-09-01 21:51:04 +02:00
f4exb adea55d41d Simple PTT: fixed status indicator 2022-08-16 10:42:30 +02:00
f4exb d699271fcd Updated versions and changelogs 2022-08-14 11:52:25 +02:00
f4exb 66707b19bc SimplePTT: fixed list of audio devices for VOX displaying output instead of input devices 2022-08-13 11:14:31 +02:00
f4exb 7a8cab7879 Fixed missing bits in API. Fixes #1247 2022-05-16 20:51:15 +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
Jon Beniston 00b72891dd Adjust some plugin window constraints so they work better with stack layout 2022-04-26 18:20:23 +01: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 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 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 7142ef0b0d Updated versions and changelogs 2022-01-03 19:46:20 +01:00
f4exb afc106b51f Simple PTT feature: implemented vox. Issue #1002 2022-01-03 19:08:47 +01:00
f4exb 79ac722e79 PTT: vox (1) 2022-01-03 19:08:47 +01: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 f72f18debf Save/restore rollup state in features 2021-11-23 13:35:57 +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 920fa82022 Implemented run action API in relevant feature plugins 2021-10-22 02:01:33 +02:00
f4exb 17869f2dac API: Features: correct feature set and feature indexes replacing device and channel indexes respectively 2021-09-17 00:52:08 +02:00
f4exb 52b51feded Updated versions and changelogs 2021-01-23 11:39:03 +01:00
Jon Beniston d507f49626 Instantiate QNetworkAccessManager to avoid crash on reverse API usage 2021-01-15 11:24:21 +00:00
f4exb 89a901e383 Fixed getURI method in channels and features 2020-11-22 19:29:27 +01:00
Kacper Michajłow f2d01b61d3 Avoid global QString init in plugins
This workarounds issue with LTO with GCC #716
2020-11-22 04:06:32 +01:00
Kacper Michajłow cf70d9430f Use QStringLiteral when it make sense 2020-11-22 04:05:04 +01:00
f4exb 7a6636b63a Fixed -Wunused-variable warnings 2020-11-14 18:45:05 +01:00
f4exb 55eb6cc951 Fixed -Wunused-parameter warnings 2020-11-14 11:13:32 +01:00
f4exb 8ba95addc0 Use MainCore instance in place of MainWindow 2020-10-12 22:11:13 +02:00
f4exb 170a2661e1 Updated version and changelogs 2020-10-06 07:41:32 +02:00
f4exb 31bf99a619 Removed dangling PluginInstanceGUI references 2020-10-05 16:30:24 +02:00
f4exb 6ebf4569bf Delete channel API from DeviceUISet. Update FeatureUISet 2020-10-04 22:16:09 +02:00
f4exb e9a32528d7 Delete Feature in FeatureUISet 2020-10-04 22:16:09 +02:00
f4exb 4ab683fa7d Feature plugins: use specialized FeatureGUI superclass. Handle GUI lifecycle in DeviceUISet 2020-10-04 22:16:09 +02:00