From f9df36989c295caa99902b617b43fab3ac284952 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Fri, 14 Oct 2022 14:26:48 +0200 Subject: [PATCH] Improve the scaling of the GUI, keeping the width of the signal meter as small as possible, but ensuring readability at different font sizes. --- widgets/mainwindow.ui | 110 ++++++++++++++++++++++++++++-------------- 1 file changed, 73 insertions(+), 37 deletions(-) diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index 7f363fc6e..2680ea054 100644 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -6,7 +6,7 @@ 0 0 - 893 + 901 665 @@ -36,7 +36,6 @@ 10 - 50 false @@ -180,7 +179,6 @@ 10 - 50 false @@ -576,7 +574,7 @@ - + @@ -956,8 +954,17 @@ QLabel[oob="true"] { + + 6 + + + + 0 + 0 + + 100 @@ -982,38 +989,64 @@ QLabel[oob="true"] { - - - - 0 - 0 - + + + 0 - - - 50 - 16777215 - - - - <html><head/><body><p>30dB recommended when only noise present<br/>Green when good<br/>Red when clipping may occur<br/>Yellow when too low</p></body></html> - - - Rx Signal - - - 30dB recommended when only noise present + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 100 + 16777215 + + + + <html><head/><body><p>30dB recommended when only noise present<br/>Green when good<br/>Red when clipping may occur<br/>Yellow when too low</p></body></html> + + + Rx Signal + + + 30dB recommended when only noise present Green when good Red when clipping may occur Yellow when too low - - - QFrame::Panel - - - QFrame::Sunken - - + + + QFrame::Panel + + + QFrame::Sunken + + + + + + + Qt::Horizontal + + + + 0 + 20 + + + + + @@ -2048,9 +2081,6 @@ list. The list can be maintained in Settings (F2). QComboBox::InsertAtBottom - - QComboBox::AdjustToMinimumContentsLength - @@ -2846,6 +2876,12 @@ Double-click to reset to the standard 73 message + + + 0 + 0 + + 100 @@ -3030,8 +3066,8 @@ Double-click to reset to the standard 73 message 0 0 - 893 - 21 + 901 + 22