mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-30 20:52:28 -04:00
Ctrl+A now aborts a QSO and selects Tx6. Should more be done?
This commit is contained in:
parent
52bb594ff8
commit
a65930ea93
@ -1867,6 +1867,11 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
case Qt::Key_A:
|
||||||
|
if(e->modifiers() & Qt::ControlModifier) {
|
||||||
|
abortQSO();
|
||||||
|
return;
|
||||||
|
}
|
||||||
case Qt::Key_X:
|
case Qt::Key_X:
|
||||||
if(e->modifiers() & Qt::AltModifier) {
|
if(e->modifiers() & Qt::AltModifier) {
|
||||||
foxTest();
|
foxTest();
|
||||||
@ -1931,7 +1936,6 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
break;
|
break;
|
||||||
case Qt::Key_PageDown:
|
case Qt::Key_PageDown:
|
||||||
band_changed(m_freqNominal-2000);
|
band_changed(m_freqNominal-2000);
|
||||||
qDebug() << "Down" << m_freqNominal;
|
|
||||||
break; }
|
break; }
|
||||||
|
|
||||||
QMainWindow::keyPressEvent (e);
|
QMainWindow::keyPressEvent (e);
|
||||||
@ -4676,6 +4680,14 @@ void MainWindow::genCQMsg ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::abortQSO()
|
||||||
|
{
|
||||||
|
bool b=m_auto;
|
||||||
|
clearDX();
|
||||||
|
if(b and !m_auto) auto_tx_mode(true);
|
||||||
|
ui->txrb6->setChecked(true);
|
||||||
|
}
|
||||||
|
|
||||||
bool MainWindow::stdCall(QString w)
|
bool MainWindow::stdCall(QString w)
|
||||||
{
|
{
|
||||||
int n=w.trimmed().length();
|
int n=w.trimmed().length();
|
||||||
|
@ -704,6 +704,7 @@ private:
|
|||||||
void CQTxFreq();
|
void CQTxFreq();
|
||||||
void cabLog();
|
void cabLog();
|
||||||
void useNextCall();
|
void useNextCall();
|
||||||
|
void abortQSO();
|
||||||
bool isWorked(int itype, QString key, float fMHz=0, QString="");
|
bool isWorked(int itype, QString key, float fMHz=0, QString="");
|
||||||
|
|
||||||
QString save_wave_file (QString const& name
|
QString save_wave_file (QString const& name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user