1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-08-06 06:12:25 -04:00
Commit Graph

22 Commits

Author SHA1 Message Date
f4exb
b84eea7dc9 Rewriting of copyright notices for sdrgui. Fixes #1893 2023-11-19 13:43:10 +01:00
Jon Beniston
b6dca29167 Autostack: Fix channel windows being made to wide when SDRangel starts 2023-02-17 14:40:32 +00: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
dea4c1f285 Avoid divide by zero when no fixed windows 2022-12-20 23:17:31 +00:00
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
0d5b6ce4c9 Only enable resize grips if size policy isn't fixed 2022-11-09 16:15:35 +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
Jiří Pinkava
50307e0f61 Replace depreceted QWidget.setMargin with setContentsMargins 2022-09-25 20:53:16 +02:00
f4exb
4caa85749f Duplicate MDI restore geometry 2022-09-25 10:12:12 +02:00
Jon Beniston
d74c8b2edf Stack workspace: Use full width for spectrum when no channels 2022-09-06 10:36:30 +01:00
Jon Beniston
d404e9f943 Add start/stop all devices button in toolbar. Add device stateChanged signal. Use in RTL SDR GUI for updating device state 2022-08-27 10:18:17 +01:00
f4exb
9e4b5bda56 Save auto stack workspaces status in configuration 2022-05-19 15:48:14 +02:00
f4exb
e1640e7ee1 Massive UI revamping (v7): Changed auto stack tool button to button switch for better on/off visibility. Part of #1209 2022-04-27 13:53:56 +02:00
f4exb
78674ead2e Merge back to v7 2022-04-26 20:47:53 +02:00
f4exb
69a66adf88 Massive UI revamping (v7): make correction to sub windows sizes and placement at the top when loading a configuration 2022-04-26 19:44:18 +02:00
Jon Beniston
bc38ca8487 Add stacking window layout 2022-04-26 18:19:31 +01:00
f4exb
dc303cdd7d Massive UI revamping (v7): Renumerate workspaces and workspace index in sub windows after empty workspace trimmin. Fixes #1212 2022-04-25 23:48:14 +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