1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
Commit Graph

124 Commits

Author SHA1 Message Date
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
ee8b8ade88 Device GUIs: Constain window size via minimumSize/maximumSize, rather than handling resizeEvent. Add maximum button. Hide size buttons when window size is fixed 2022-11-09 15:53:44 +00:00
f4exb
3ab767a426 Arrange rollups after restore geometry to mitigate issue #1474 2022-11-03 19:07:44 +01:00
Jon Beniston
2f3e96dd46 Remove unneeded changes 2022-09-29 13:55:46 +01:00
Jon Beniston
7c5249149a Move GLSpectrum to GLSpectrumView and create new GLSpectrum that instances GLSpectrumView and SpectrumMeasurements 2022-09-29 13:48:04 +01:00
Jon Beniston
2d43a5515e Spectrum: Use widget for measurements 2022-09-28 16:59:35 +01:00
f4exb
8b1da4bfef Fixed GUI vs core plugin load order when loading a preset. Fixes #1427 2022-09-27 08:36:17 +02:00
f4exb
bd7fd29de9 Corrected order of deletion of channel vs channel GUI. Fixes #1332 2022-07-21 05:26:58 +02:00
f4exb
58328ace0d Spectrum GUI: updates to the go to markers feature and documentation 2022-06-25 02:53:11 +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
9e5c629473 v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
f4exb
32820e25b4 Massive UI revamping (v7): Fixed Tx and MIMO channel device label when retrieved from configuration. Fixes #1227 2022-05-02 02:01:10 +02:00
f4exb
fcb2906fd4 Massive UI revamping (v7): fixed device change. Fixes #1220 2022-04-30 11:47:05 +02:00
f4exb
aac0e8954c Massive UI revamping (v7): updated documentation with latest changes 2022-04-27 21:40:29 +02:00
f4exb
88de17a8d4 Massive UI revamping (v7): Changed pacement of presets and add channels in device top bar 2022-04-27 19:38:20 +02:00
f4exb
9be0776d32 Massive UI revamping (v7): unify top bar size to 22px and correct the getAdditionaHeight methods. Part of #1209 2022-04-26 19:44:14 +02:00
Jon Beniston
3f1ed5b934 Restore cursor when moved over child widget 2022-04-25 15:01:59 +01:00
f4exb
5f9d14a56e Massive UI revamping (v7): Fixed sizing of some device windows. Part of #1209 2022-04-25 00:15:46 +02:00
f4exb
218237c466 Massive UI revamping (v7): Devices: set the border on the outer side of the window. Part of #1213 2022-04-24 02:13:18 +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
249db03cf3 Massive UI revamping (v7): fixed device workspace index save/restore and removed useless geometry blobs. Fixes #1207 2022-04-20 20:08:41 +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
50a12b3a3f Massive UI revamping (v7): DeviceUISet: fixed load MIMO channel settings 2022-04-17 23:18:56 +02:00
f4exb
2c070f811e Massive UI revamping (v7): Channel window documentation. Show device type name in index tooltip 2022-04-17 10:20:07 +02:00
f4exb
40e34bdebd Massive UI revamping (v7): implemented device common settings from top bar and added documentation on device windows top and bottom bars 2022-04-17 01:31:50 +02:00
f4exb
103301f19a Massive UI revamping (v7): Implemented channel move to another device and more 2022-04-16 16:45:53 +02:00
f4exb
4e2a4b7f6c Massive UI revamping (v7): more cleanup 2022-04-15 19:53:50 +02:00
f4exb
edd9cb18d7 Massive UI revamping (v7): duplicate channel 2022-04-15 18:59:29 +02:00
f4exb
296c71ce5a Massive UI revamping (v7): save/restore all geometries in device set presets 2022-04-15 06:10:45 +02:00
f4exb
8a3d2bd497 Massive UI revamping (v7): Removed forceClose 2022-04-14 12:08:18 +02:00
f4exb
3604bf8091 Massive UI revamping (v7): fixed spectrum move and device workspace index save in preset 2022-04-14 03:07:33 +02:00
f4exb
c797060a7d Massive UI revamping (v7): device set presets 2022-04-13 18:43:37 +02:00
f4exb
f1cf2f4f18 Massive UI revamping (v7): persistent channel show/hide 2022-04-12 18:27:27 +02:00
f4exb
2f89b79c84 Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +02:00
f4exb
4ff5d241c8 Massive UI revamping (v7): main spectrum show/hide and minimum width set to 360 2022-04-10 00:11:23 +02:00
f4exb
0ca0eb8f73 Massive UI revamping (v7): devices intermediate 2022-04-09 13:38:22 +02:00
f4exb
aad90aeabc Massive UI revamping (v7): devices basic 2022-04-07 16:32:03 +02:00
f4exb
8a3f15ba45 Moved device and feature sets add and remove signals where appropriate. Improves #1139 2022-03-23 05:53:12 +01:00
f4exb
4b80fbf337 Remove sorting of channels and features when saving presets in GUI. Fixes #1051 2021-11-24 08:58:12 +01:00
f4exb
de23efe635 Delete channel or feature and their GUI in the proper order in DeviceUISet and FeatureUISet. Remove original fix for #806. Fixes #860 2021-04-21 12:28:56 +02:00
f4exb
0966d48d3c DeviceUISet: fixed channel instance registrations element deletion. Fixes #776 2021-02-17 13:45:34 +01:00
f4exb
b5d501e6ab Spactrum: allow arbitrary FPS (API) or in a range of FPS (GUI) with possible no limit. Implements #772 2021-02-12 00:53:18 +01:00
f4exb
f541b53454 Set channel message queue to null in channel before destroying its GUI. Fixes #769 2021-02-08 22:29:27 +01:00
f4exb
55eb6cc951 Fixed -Wunused-parameter warnings 2020-11-14 11:13:32 +01:00
f4exb
f668863aed Fixed -Wreorder warnings 2020-11-14 05:51:19 +01:00
f4exb
ac5a53ac3c Fixed spectrum REST API for GUI flavor: Use DeviceSet spectrum vis 2020-11-12 10:45:08 +01:00
f4exb
e69818cc45 REST API: implemented GUI code for /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings (PUT,PATCH) and /sdrangel/deviceset/{deviceSetIndex}/spectrum/server (POST,DELETE) 2020-11-11 19:08:34 +01:00
f4exb
4d86d7e510 REST API: implemented GUI code for /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings (GET) and /sdrangel/deviceset/{deviceSetIndex}/spectrum/server (GET) 2020-11-11 13:40:24 +01:00
f4exb
33bc76aa6c DeviceSet: simplify channel registrations (calls) and DeviceUISet: simplify channel registrations 2020-10-15 08:56:29 +02:00
f4exb
febbb4fa0f Implement MainCore in MainWindow step3: device sets 2020-10-11 09:03:52 +02:00