From d0f95e22894716b5bfcb1910a53dd2b158a76a59 Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Thu, 20 May 2021 15:17:10 -0700 Subject: [PATCH] Cleaned up warning and UI help text. --- wfmain.cpp | 3 ++- wfmain.h | 2 +- wfmain.ui | 19 ++++++++++++------- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/wfmain.cpp b/wfmain.cpp index 86e6994..a21b4d5 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -4308,7 +4308,7 @@ void wfmain::on_rigCIVaddrHexLine_editingFinished() } } -void wfmain::on_baudRateCombo_activated() +void wfmain::on_baudRateCombo_activated(int index) { bool ok = false; quint32 baud = ui->baudRateCombo->currentData().toUInt(&ok); @@ -4317,6 +4317,7 @@ void wfmain::on_baudRateCombo_activated() prefs.serialPortBaud = baud; showStatusBarText(QString("Changed baud rate to %1 bps. Press Save Settings to retain.").arg(baud)); } + (void)index; } // --- DEBUG FUNCTION --- diff --git a/wfmain.h b/wfmain.h index 737ccf7..804fda4 100644 --- a/wfmain.h +++ b/wfmain.h @@ -440,7 +440,7 @@ private slots: void on_rigCIVaddrHexLine_editingFinished(); - void on_baudRateCombo_activated(); + void on_baudRateCombo_activated(int); private: Ui::wfmain *ui; diff --git a/wfmain.ui b/wfmain.ui index e8182a7..33f5c64 100644 --- a/wfmain.ui +++ b/wfmain.ui @@ -2168,7 +2168,7 @@ - <html><head/><body><p>Select a serial port here. </p><p><br/></p><p>Once selected, check &quot;Enable USB(serial), press &quot;Save Settings&quot;, exit, and re-start wfview. </p></body></html> + <html><head/><body><p>Select a serial port here. </p><p>Once selected, check &quot;Enable USB(serial), press &quot;Save Settings&quot;, exit, and re-start wfview. </p></body></html> Serial Device Selector @@ -2185,7 +2185,7 @@ - <html><head/><body><p>Baud rate selection menu. </p><p>For the IC-7300 select 115200. </p><p>Older rigs may require other settings. </p><p>Be sure to match what baud rate the rig is set to. Using the highese supported baud rate for the radio is recommended. </p></body></html> + <html><head/><body><p>Baud rate selection menu. </p><p>For the IC-7300 select 115200. </p><p>Older rigs may require other settings. </p><p>Be sure to match what baud rate the rig is set to. Using the highese supported baud rate for the radio is recommended. </p><p>Please press &quot;Save Settings&quot; and re-launc wfview for this to take effect.</p></body></html> baud rate @@ -2208,7 +2208,7 @@ - <html><head/><body><p>If you are using an older (year 2010) radio, you may need to enable this option to manually specify the CI-V address. This option is also useful for radios that do not have CI-V Transceive enabled and thus will not answer our broadcast query for connected rigs on the CI-V bus.</p><p>If you have a modern radio with CI-V Transceive enabled, you should not need to check this box. </p></body></html> + <html><head/><body><p>If you are using an older (year 2010) radio, you may need to enable this option to manually specify the CI-V address. This option is also useful for radios that do not have CI-V Transceive enabled and thus will not answer our broadcast query for connected rigs on the CI-V bus.</p><p>If you have a modern radio with CI-V Transceive enabled, you should not need to check this box. </p><p>You will need to Save Settings and re-launch wfview for this to take effect. </p></body></html> Manual Radio CI-V Address: @@ -2234,12 +2234,17 @@ <html><head/><body><p>Enter the address in as hexidecimal, without any prefix, just as the radio presents the address in the menu. </p><p>Here are some common examples:</p> -IC-706: 58 -<br/>IC-756: 6E +<p>IC-706: 58 +<br/>IC-756: 50 +<br/>IC-756 Pro: 5C +<br/>IC-756 Pro II: 64 +<br/>IC-756 Pro III: 6E <br/>IC-7000: 70 <br/>IC-7100: 88 -<br/>IC-7200: 76 -<p>This setting is typically needed for older radios and for radios that do not have CI-V Transceive enabled. </p></body></html> +<br/>IC-7200: 76 +<br/>IC-7300: 94 +</p><p>This setting is typically needed for older radios and for radios that do not have CI-V Transceive enabled. </p> +<p>After changing, press Save Settings and re-launch wfview.</p></body></html> auto