1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-13 20:01:46 -05:00
Commit Graph

22 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
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
Jon Beniston
50127b4003 SpectrumGUI: Add combo box to allow center frequency to be set to annotation marker 2022-06-24 23:37:22 +01: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
69cd4f83ed Fixed remaining v7 references 2022-05-15 11:11:56 +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
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
e285be84ff Massive UI revamping (v7): Main spectrum: set the border on the outer side of the window. Part of #1213 2022-04-24 02:48:10 +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
f9985ad061 Massive UI revamping (v7): main window documentation 2022-04-19 07:03:28 +02:00
f4exb
0779ab0c70 Massive UI revamping (v7): spectrum documentation 2022-04-18 18:33:37 +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
e8046ef6d7 Massive UI revamping (v7): main spectrum window documentation 2022-04-18 10:20:52 +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