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

20 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
2cb2a8d555 Update sdrbase and sdrgui to support Qt5 and Qt6 2022-11-17 14:41:55 +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
Jon Beniston
243ad04a37 Fix height of top and bottom bars in windows 2022-04-26 18:18:48 +01:00
f4exb
c6baed9f73 Massive UI revamping (v7): Restored channel highlighted by cursor function. Part of #1213 2022-04-26 00:42:26 +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
f4exb
5ba8b21dcc Massive UI revamping (v7): better handling of expandable rollup sub widgets. Part of #1209 2022-04-23 13:59:22 +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
018b97e17d Massive UI revamping (v7): updated basic channel settings and indicate stream index for MIMO device and single stream channel 2022-04-18 01:42:03 +02:00
f4exb
2c070f811e Massive UI revamping (v7): Channel window documentation. Show device type name in index tooltip 2022-04-17 10:20:07 +02:00
f4exb
103301f19a Massive UI revamping (v7): Implemented channel move to another device and more 2022-04-16 16:45:53 +02:00
f4exb
edd9cb18d7 Massive UI revamping (v7): duplicate channel 2022-04-15 18:59:29 +02:00
f4exb
8a3d2bd497 Massive UI revamping (v7): Removed forceClose 2022-04-14 12:08:18 +02:00
f4exb
af13b31d85 Massive UI revamping (v7): display channel absolute frequency in status bar. Manage shift frequency limits 2022-04-13 11:08:21 +02:00
f4exb
f1cf2f4f18 Massive UI revamping (v7): persistent channel show/hide 2022-04-12 18:27:27 +02:00
f4exb
2f89b79c84 Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +02:00
f4exb
cb5ffaa47b Added missing exports for MSVC 2020-10-05 23:51:46 +02:00
f4exb
b1c9a35dcb Channel plugins: use specialized ChannelGUI superclass. Handle GUI lifecycle in MainWindow 2020-10-04 22:16:09 +02:00