mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 20:18:35 -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;
|
||||
case Qt::Key_A:
|
||||
if(e->modifiers() & Qt::ControlModifier) {
|
||||
abortQSO();
|
||||
return;
|
||||
}
|
||||
case Qt::Key_X:
|
||||
if(e->modifiers() & Qt::AltModifier) {
|
||||
foxTest();
|
||||
@ -1931,7 +1936,6 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
||||
break;
|
||||
case Qt::Key_PageDown:
|
||||
band_changed(m_freqNominal-2000);
|
||||
qDebug() << "Down" << m_freqNominal;
|
||||
break; }
|
||||
|
||||
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)
|
||||
{
|
||||
int n=w.trimmed().length();
|
||||
|
@ -704,6 +704,7 @@ private:
|
||||
void CQTxFreq();
|
||||
void cabLog();
|
||||
void useNextCall();
|
||||
void abortQSO();
|
||||
bool isWorked(int itype, QString key, float fMHz=0, QString="");
|
||||
|
||||
QString save_wave_file (QString const& name
|
||||
|
Loading…
Reference in New Issue
Block a user