From 0256bbb80716865c1df5eeac856587a4a5f5c402 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Mon, 17 Oct 2022 14:55:40 +0200 Subject: [PATCH] Improve bandComboBox size and resizing of the left controls. --- widgets/mainwindow.ui | 337 ++++++++++++++++++++++-------------------- 1 file changed, 173 insertions(+), 164 deletions(-) diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index 2680ea054..cc82980cb 100644 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -574,75 +574,8 @@ - - - - - Adjust Tx audio level - - - 450 - - - 0 - - - Qt::Vertical - - - true - - - true - - - QSlider::TicksBelow - - - 50 - - - - - - - - 0 - 0 - - - - QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - background-color : black; - color : yellow; -} - - - QFrame::StyledPanel - - - QFrame::Sunken - - - 2 - - - 0 - - - <html><head/><body><p align="center"> 2015 Jun 17 </p><p align="center"> 01:23:45 </p></body></html> - - - Qt::AlignCenter - - - 5 - - - - + + @@ -919,40 +852,42 @@ - - - - - 0 - 0 - - + + - USB dial frequency + Adjust Tx audio level - - QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - color : yellow; - background-color : black; -} -QLabel[oob="true"] { - background-color: red; -} + + 450 - - 14.078 000 + + 0 - - Qt::AlignCenter + + Qt::Vertical - - 5 + + true + + + true + + + QSlider::TicksBelow + + + 50 - + + + + Pwr + + + + 6 @@ -1050,49 +985,7 @@ Yellow when too low - - - - false - - - <html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html> - - - If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode. - - - QPushButton { - font-family: helvetica; - font-size: 9pt; - font-weight: bold; - background-color: white; - color: black; - border-style: solid; - border-width:1px; - border-radius:10px; - border-color: gray; - max-width:20px; - max-height:20px; - min-width:20px; - min-height:20px; -} -QPushButton[state="error"] { - background-color: red; -} -QPushButton[state="warning"] { - background-color: orange; -} -QPushButton[state="ok"] { - background-color: #00ff00; -} - - - ? - - - - + @@ -2874,41 +2767,40 @@ Double-click to reset to the standard 73 message - - + + - + 0 0 - - - 100 - 16777215 - - - <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> + USB dial frequency - - Frequency entry + + QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + color : yellow; + background-color : black; +} +QLabel[oob="true"] { + background-color: red; +} - - Select operating band or enter frequency in MHz or enter kHz increment followed by k. + + 14.078 000 - - true + + Qt::AlignCenter - - QComboBox::NoInsert - - - QComboBox::AdjustToMinimumContentsLengthWithIcon + + 5 - + @@ -3047,13 +2939,131 @@ Double-click to reset to the standard 73 message - - + + + + + 0 + 0 + + + + QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + background-color : black; + color : yellow; +} + + + QFrame::StyledPanel + + + QFrame::Sunken + + + 2 + + + 0 + - Pwr + <html><head/><body><p align="center"> 2015 Jun 17 </p><p align="center"> 01:23:45 </p></body></html> + + + Qt::AlignCenter + + + 5 + + + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 100 + 16777215 + + + + <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 + + + + + + + false + + + <html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html> + + + If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode. + + + QPushButton { + font-family: helvetica; + font-size: 9pt; + font-weight: bold; + background-color: white; + color: black; + border-style: solid; + border-width:1px; + border-radius:10px; + border-color: gray; + max-width:20px; + max-height:20px; + min-width:20px; + min-height:20px; +} +QPushButton[state="error"] { + background-color: red; +} +QPushButton[state="warning"] { + background-color: orange; +} +QPushButton[state="ok"] { + background-color: #00ff00; +} + + + ? + + + + + @@ -3780,7 +3790,6 @@ Double-click to reset to the standard 73 message stopTxButton tuneButton cbMenus - bandComboBox sbNB dxCallEntry dxGridEntry