mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-19 14:12:30 -04:00
After double-click on CQ message, don't change audio Tx freq if VHF features enabled. Temporarily(?), list Rx, Tx, and Calling freqs in Status Bar.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7311 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b3b2def141
commit
4db713a757
@ -2966,6 +2966,10 @@ void MainWindow::guiUpdate()
|
|||||||
|
|
||||||
//Once per second:
|
//Once per second:
|
||||||
if(nsec != m_sec0) {
|
if(nsec != m_sec0) {
|
||||||
|
QString txFreq;
|
||||||
|
txFreq.sprintf("R: %.3f T: %.3f C: %.3f",m_freqNominal/1000000.0,
|
||||||
|
m_freqTxNominal/1000000.0,m_callingFrequency/1000000.0);
|
||||||
|
auto_tx_label.setText(txFreq);
|
||||||
if(m_freqNominal!=0 and m_freqNominal<50000000 and m_config.enable_VHF_features()) {
|
if(m_freqNominal!=0 and m_freqNominal<50000000 and m_config.enable_VHF_features()) {
|
||||||
if(!m_bVHFwarned) vhfWarning();
|
if(!m_bVHFwarned) vhfWarning();
|
||||||
} else {
|
} else {
|
||||||
@ -3283,14 +3287,12 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
|
|||||||
if(t4.size () < 6) return; //Skip the rest if no decoded text
|
if(t4.size () < 6) return; //Skip the rest if no decoded text
|
||||||
|
|
||||||
int frequency = decodedtext.frequencyOffset();
|
int frequency = decodedtext.frequencyOffset();
|
||||||
if (ui->RxFreqSpinBox->isEnabled () and m_mode != "MSK144")
|
if (ui->RxFreqSpinBox->isEnabled () and m_mode != "MSK144") {
|
||||||
{
|
|
||||||
ui->RxFreqSpinBox->setValue (frequency); //Set Rx freq
|
ui->RxFreqSpinBox->setValue (frequency); //Set Rx freq
|
||||||
}
|
}
|
||||||
if (decodedtext.isTX())
|
|
||||||
{
|
if(decodedtext.isTX() and !m_config.enable_VHF_features()) {
|
||||||
if (ctrl && ui->TxFreqSpinBox->isEnabled ())
|
if (ctrl && ui->TxFreqSpinBox->isEnabled()) {
|
||||||
{
|
|
||||||
ui->TxFreqSpinBox->setValue(frequency); //Set Tx freq
|
ui->TxFreqSpinBox->setValue(frequency); //Set Tx freq
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@ -3333,9 +3335,9 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString firstcall = decodedtext.call();
|
QString firstcall = decodedtext.call();
|
||||||
if(!m_bFastMode) {
|
if(!m_bFastMode and !m_config.enable_VHF_features()) {
|
||||||
// Don't change Tx freq if in a fast mode; also not if a station is calling me,
|
// Don't change Tx freq if in a fast mode, or VHF features enabled; also not if a
|
||||||
// unless m_lockTxFreq is true or CTRL is held down
|
// station is calling me, unless m_lockTxFreq is true or CTRL is held down.
|
||||||
if ((firstcall!=m_config.my_callsign () and firstcall != m_baseCall) or
|
if ((firstcall!=m_config.my_callsign () and firstcall != m_baseCall) or
|
||||||
m_lockTxFreq or ctrl) {
|
m_lockTxFreq or ctrl) {
|
||||||
if (ui->TxFreqSpinBox->isEnabled ()) {
|
if (ui->TxFreqSpinBox->isEnabled ()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user