1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 22:01:45 -05:00
Commit Graph

10 Commits

Author SHA1 Message Date
Jon Beniston
017d27e907 Allow maximize button to make window full screen, if already maximized. 2022-12-20 16:22:21 +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
f95d0e43c7 Following PR #1305: set device center frequency from the MainWindow rather than in MainSpectrumGUI 2022-06-24 22:53:13 +02:00
Jon Beniston
d1670b3ab4 Spectrum: Allow frequency scolling with middle mouse button and moving channel marker outside of frequency range 2022-06-24 14:47:33 +01:00
f4exb
844832a776 Readjust minimum main spectrum window dimestions 2022-06-24 03:44:53 +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
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
62ca8f8b29 Massive UI revamping (v7): fixed main spectrum window minimum height. Fixes #1210 2022-04-20 22:33:28 +02:00
f4exb
8a3d2bd497 Massive UI revamping (v7): Removed forceClose 2022-04-14 12:08:18 +02:00
f4exb
0ca0eb8f73 Massive UI revamping (v7): devices intermediate 2022-04-09 13:38:22 +02:00