1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
Commit Graph

142 Commits

Author SHA1 Message Date
f4exb
37e06de0ed DeviceGUI: removed destroy method. Part of #2159 2024-09-07 21:50:42 +02:00
f4exb
5d0fa7fa67 Removed destroy method leftovers and Sonar lint 2024-08-27 09:54:09 +02:00
f4exb
704eb403d1 Removed the destroy method from ChannelGUI interface 2024-08-27 09:54:09 +02:00
f4exb
b85419c56a Sonar fixes 2024-08-27 09:54:09 +02:00
f4exb
7b4e751ba1 DeviceSet and DeviceUISet: use delete channel API instead of destroy method so that the virtual destructor of the channel is called appropriately 2024-08-27 09:54:09 +02:00
Daniele Forsi
5cbc9fd834 Fix warning
Fixes:
 sdrgui/device/deviceuiset.cpp:353:36: 2nd function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
2024-06-23 17:32:48 +02:00
Daniele Forsi
af712de404 Highlight the current workspace 2024-05-26 12:31:40 +02:00
Daniele Forsi
d135dd9028 Fix spellling errors found with aspell 2024-04-26 21:18:32 +02:00
Daniele Forsi
8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
srcejon
c30af7f39f Fix gcc warnings. 2023-12-06 10:14:01 +00:00
srcejon
238a40b9e0 Allow replay time offset to be set by ctrl+left click in waterfall. 2023-12-06 10:09:30 +00:00
f4exb
b84eea7dc9 Rewriting of copyright notices for sdrgui. Fixes #1893 2023-11-19 13:43:10 +01:00
Edouard Griffiths
021ca881ea
Merge pull request #1890 from srcejon/fix_1835
Fix MDI window geometry save/restore
2023-11-15 05:31:42 +01:00
Jon Beniston
5d14708914 Use custom save/restore geometry for MDI sub=windows. For #1835 2023-11-14 14:49:39 +00:00
Jon Beniston
e799e5eb72 Fix resize cursor not being cleared when mouse moves over child widgets 2023-11-13 20:51:03 +00:00
Jon Beniston
667908a31f Add return value 2023-08-24 16:36:18 +01:00
Jon Beniston
2a24f72590 Add support for plugin presets. 2023-08-24 15:51:50 +01: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
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
f4exb
3ab767a426 Arrange rollups after restore geometry to mitigate issue #1474 2022-11-03 19:07:44 +01:00
Jon Beniston
2f3e96dd46 Remove unneeded changes 2022-09-29 13:55:46 +01: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
f4exb
8b1da4bfef Fixed GUI vs core plugin load order when loading a preset. Fixes #1427 2022-09-27 08:36:17 +02:00
f4exb
bd7fd29de9 Corrected order of deletion of channel vs channel GUI. Fixes #1332 2022-07-21 05:26:58 +02:00
f4exb
58328ace0d Spectrum GUI: updates to the go to markers feature and documentation 2022-06-25 02:53:11 +02:00
Daniele Forsi
902012641d Fix typing errors in readme's
Fixed with:
find . -name '*.md' -exec codespell --ignore-words-list=doas,ehr,lits,verry --write-changes --summary {} \+
2022-05-15 12:39:57 +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
32820e25b4 Massive UI revamping (v7): Fixed Tx and MIMO channel device label when retrieved from configuration. Fixes #1227 2022-05-02 02:01:10 +02:00
f4exb
fcb2906fd4 Massive UI revamping (v7): fixed device change. Fixes #1220 2022-04-30 11:47:05 +02:00
f4exb
aac0e8954c Massive UI revamping (v7): updated documentation with latest changes 2022-04-27 21:40:29 +02:00
f4exb
88de17a8d4 Massive UI revamping (v7): Changed pacement of presets and add channels in device top bar 2022-04-27 19:38:20 +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
5f9d14a56e Massive UI revamping (v7): Fixed sizing of some device windows. Part of #1209 2022-04-25 00:15:46 +02:00
f4exb
218237c466 Massive UI revamping (v7): Devices: set the border on the outer side of the window. Part of #1213 2022-04-24 02:13:18 +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
249db03cf3 Massive UI revamping (v7): fixed device workspace index save/restore and removed useless geometry blobs. Fixes #1207 2022-04-20 20:08:41 +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
50a12b3a3f Massive UI revamping (v7): DeviceUISet: fixed load MIMO channel settings 2022-04-17 23:18:56 +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
40e34bdebd Massive UI revamping (v7): implemented device common settings from top bar and added documentation on device windows top and bottom bars 2022-04-17 01:31:50 +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
4e2a4b7f6c Massive UI revamping (v7): more cleanup 2022-04-15 19:53:50 +02:00
f4exb
edd9cb18d7 Massive UI revamping (v7): duplicate channel 2022-04-15 18:59:29 +02:00
f4exb
296c71ce5a Massive UI revamping (v7): save/restore all geometries in device set presets 2022-04-15 06:10:45 +02:00
f4exb
8a3d2bd497 Massive UI revamping (v7): Removed forceClose 2022-04-14 12:08:18 +02:00
f4exb
3604bf8091 Massive UI revamping (v7): fixed spectrum move and device workspace index save in preset 2022-04-14 03:07:33 +02:00
f4exb
c797060a7d Massive UI revamping (v7): device set presets 2022-04-13 18:43:37 +02:00