From 634943b6cf00132965d95087b9ba2a86977fdddb Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 21 Oct 2021 15:16:45 +0100 Subject: [PATCH] Improve UI horizontal stretch behaviour --- widgets/mainwindow.ui | 475 +++++++++++++++++++++++------------------- 1 file changed, 266 insertions(+), 209 deletions(-) diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index a07e79570..ef9c32bd9 100644 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -2,14 +2,6 @@ MainWindow - - - 0 - 0 - 1124 - 582 - - WSJT-X by K1JT @@ -560,40 +552,7 @@ - - - - - - 0 - 0 - - - - USB dial frequency - - - QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - color : yellow; - background-color : black; -} -QLabel[oob="true"] { - background-color: red; -} - - - 14.078 000 - - - Qt::AlignCenter - - - 5 - - - + @@ -643,94 +602,43 @@ QPushButton[state="ok"] { - - + + - <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> + Adjust Tx audio level - - Frequency entry + + 450 - - Select operating band or enter frequency in MHz or enter kHz increment followed by k. + + 0 - + + Qt::Vertical + + true - - QComboBox::NoInsert + + true - - QComboBox::AdjustToMinimumContentsLengthWithIcon + + QSlider::TicksBelow + + + 50 - - - - - - Qt::AlignCenter - - - % - - - NB - - - -2 - - - 25 - - - - - - - - 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 - - - - - - + - + 0 0 - + 0 @@ -745,12 +653,6 @@ Yellow when too low - - - 0 - 0 - - @@ -835,56 +737,8 @@ Yellow when too low - - - - Add callsign and locator to database - - - Add - - - - - - - - 0 - 0 - - - - true - - - Az: 251 16553 km - - - Qt::AlignCenter - - - 4 - - - - - - - Search for callsign in database - - - &Lookup - - - - - - 0 - 0 - - @@ -971,11 +825,17 @@ Yellow when too low + + + 0 + 0 + + Callsign of station to be worked - - + + 11 Qt::AlignCenter @@ -984,24 +844,73 @@ Yellow when too low + + + 0 + 0 + + Locator of station to be worked - + ` + + + 6 Qt::AlignCenter + + + + + + Search for callsign in database + + + &Lookup + + + + + + + Add callsign and locator to database + + + Add + + + + + + + true + + + Az: 251 16553 km + + + Qt::AlignCenter + + + 4 + + + + + - + - + 0 0 @@ -1037,36 +946,47 @@ Yellow when too low - - + + + + + 0 + 0 + + - Adjust Tx audio level + USB dial frequency - - 450 + + QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + color : yellow; + background-color : black; +} +QLabel[oob="true"] { + background-color: red; +} - - 0 + + 14.078 000 - - Qt::Vertical + + Qt::AlignCenter - - true - - - true - - - QSlider::TicksBelow - - - 50 + + 5 + + + 0 + 0 + + 0 @@ -1086,6 +1006,12 @@ Yellow when too low + + + 0 + 0 + + 0 @@ -1725,11 +1651,11 @@ When not checked you can view the calibration results. - - - 0 - 0 - + + + 0 + 0 + QTabWidget::West @@ -1746,7 +1672,7 @@ When not checked you can view the calibration results. - + @@ -1781,8 +1707,14 @@ When not checked you can view the calibration results. - - + + + 0 + 0 + + + + 30 @@ -1829,8 +1761,14 @@ Double click to toggle the use of the Tx1 message to start a QSO with a station - - + + + 0 + 0 + + + + 30 @@ -1871,7 +1809,17 @@ Double-click to reset to the standard 73 message - + + + + 0 + 0 + + + + 30 + + @@ -1903,10 +1851,30 @@ Double-click to reset to the standard 73 message - + + + + 0 + 0 + + + + 30 + + - + + + + 0 + 0 + + + + 30 + + @@ -2012,6 +1980,12 @@ Double click to toggle the use of the Tx1 message to start a QSO with a station + + + 0 + 0 + + Enter a free text message (maximum 13 characters) or select a predefined macro from the dropdown list. @@ -2322,6 +2296,12 @@ Double-click to reset to the standard 73 message + + + 0 + 0 + + 16777215 @@ -2808,6 +2788,85 @@ Double-click to reset to the standard 73 message + + + + + + Qt::AlignCenter + + + % + + + NB + + + -2 + + + 25 + + + + + + + + 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 + + + + + + + + + <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> + + + Frequency entry + + + Select operating band or enter frequency in MHz or enter kHz increment followed by k. + + + true + + + QComboBox::NoInsert + + + QComboBox::AdjustToMinimumContentsLengthWithIcon + + + @@ -2820,7 +2879,7 @@ Double-click to reset to the standard 73 message 0 0 - 1124 + 968 21 @@ -3493,8 +3552,6 @@ Double-click to reset to the standard 73 message sbNB dxCallEntry dxGridEntry - lookupButton - addButton txFirstCheckBox TxFreqSpinBox pbR2T