1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-30 03:38:55 -05:00
Commit Graph

36 Commits

Author SHA1 Message Date
Jon Beniston
d1c67c971e Add buttons to stack MDI windows vertically and put in tabs.
Use right click to auto-stack sub-windows, rather than having a
dedicated button.
Allow maximize button to make window full screen, if already maximized.
Add title to device windows, for when displayed in tabs.
Add menu button to workspace toolbar, for Android only, to avoid having
menu bar, which takes up a lot of space.
Add configuration presets button to workspace toolbar.
Add icons for window arangement
2022-12-20 16:10:11 +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
f4exb
3ab767a426 Arrange rollups after restore geometry to mitigate issue #1474 2022-11-03 19:07:44 +01:00
f4exb
de6bd1f608 Corrected order of deletion of feature vs feature GUI. Fixes #1332 2022-07-22 03:28:20 +02:00
f4exb
225f8ef0b3 Features: fixed common settings menu placement. Issue #1286 2022-06-12 23:24:36 +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
aac0e8954c Massive UI revamping (v7): updated documentation with latest changes 2022-04-27 21:40:29 +02:00
Jon Beniston
243ad04a37 Fix height of top and bottom bars in windows 2022-04-26 18:18:48 +01: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
f762863a23 Massive UI revamping (v7): Feature and channels: set the border on the outer side of the window. Part of #1213 2022-04-24 01:22:39 +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
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
e8a2c8b947 Massive UI revamping (v7): added feature window documentation 2022-04-18 12:07:23 +02:00
f4exb
4e2a4b7f6c Massive UI revamping (v7): more cleanup 2022-04-15 19:53:50 +02:00
f4exb
2f89b79c84 Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +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
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
fa1e3c7583 API: fixes in features processing 2021-11-26 15:23:03 +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
8b05670814 MainCore: added feature and channel maps. FeatureSet and FeatureUISet: simplify feature registrations. Channel and feature names fix 2020-10-16 08:35:56 +02:00
f4exb
96329326b4 Implement MainCore in MainWindow step2: feature sets 2020-10-11 09:02:19 +02:00
f4exb
cb5ffaa47b Added missing exports for MSVC 2020-10-05 23:51:46 +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
f4exb
d085b4eb7d Removed undesirable methods from PluginInstanceGUI and related common plugins 2020-10-04 22:16:09 +02:00
f4exb
efaba0fa67 Feature plugins: register feature instances outside of their GUI classes 2020-10-04 22:16:09 +02:00
f4exb
cd5a4db876 Feature plugins framework: presets 2020-09-28 16:49:32 +02:00
f4exb
153429cc7f Feature plugins framework: REST API and server implementationo 2020-09-28 16:49:32 +02:00
f4exb
e8f3745bf3 Feature plugins framework initial commit and Misc plugins removal 2020-09-28 16:49:32 +02:00