1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 19:28:47 -05:00
sdrangel/plugins/channeltx
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
..
filesource dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
localsource dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
mod802.15.4 dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modais dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modam dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modatv dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modchirpchat dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
moddatv dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modfreedv dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modm17 dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modnfm dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modpacket dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modssb dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
modwfm dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
remotesource dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
udpsource dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
CMakeLists.txt MSVC M17 FIX 2022-09-06 17:10:25 -03:00