mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 04:28:36 -04:00
Removed more MAP65-specific code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2491 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4b4ee6a6da
commit
06391ebd90
@ -175,11 +175,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
border-color: black; min-width: 5em; padding: 3px;}";
|
||||
|
||||
genStdMsgs("-26");
|
||||
|
||||
on_actionWide_Waterfall_triggered(); //###
|
||||
if(m_mode=="JT65A") on_actionJT65A_triggered();
|
||||
if(m_mode=="JT65B") on_actionJT65B_triggered();
|
||||
if(m_mode=="JT65C") on_actionJT65C_triggered();
|
||||
|
||||
future1 = new QFuture<void>;
|
||||
watcher1 = new QFutureWatcher<void>;
|
||||
@ -371,10 +367,6 @@ void MainWindow::readSettings()
|
||||
ui->actionOnly_EME_calls->setChecked(m_onlyEME);
|
||||
m_kb8rq=settings.value("KB8RQ",false).toBool();
|
||||
ui->actionF4_sets_Tx6->setChecked(m_kb8rq);
|
||||
m_NB=settings.value("NB",false).toBool();
|
||||
ui->NBcheckBox->setChecked(m_NB);
|
||||
m_NBslider=settings.value("NBslider",40).toInt();
|
||||
ui->NBslider->setValue(m_NBslider);
|
||||
m_gainx=settings.value("GainX",1.0).toFloat();
|
||||
m_gainy=settings.value("GainY",1.0).toFloat();
|
||||
m_phasex=settings.value("PhaseX",0.0).toFloat();
|
||||
@ -1639,12 +1631,6 @@ void MainWindow::on_tx6_editingFinished() //tx6 edited
|
||||
msgtype(t, ui->tx6);
|
||||
}
|
||||
|
||||
void MainWindow::on_setTxFreqButton_clicked() //Set Tx Freq
|
||||
{
|
||||
m_setftx=1;
|
||||
m_txFreq=g_pWideGraph->QSOfreq();
|
||||
}
|
||||
|
||||
void MainWindow::on_dxCallEntry_textChanged(const QString &t) //dxCall changed
|
||||
{
|
||||
m_hisCall=t.toUpper().trimmed();
|
||||
@ -1708,56 +1694,3 @@ void MainWindow::on_actionErase_jtms3_tx_log_triggered() //Erase Tx log
|
||||
f.remove();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_actionJT65A_triggered()
|
||||
{
|
||||
m_mode="JT65A";
|
||||
m_mode65=1;
|
||||
g_pWideGraph->setMode65(m_mode65);
|
||||
lab5->setText(m_mode);
|
||||
ui->actionJT65A->setChecked(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionJT65B_triggered()
|
||||
{
|
||||
m_mode="JT65B";
|
||||
m_mode65=2;
|
||||
g_pWideGraph->setMode65(m_mode65);
|
||||
lab5->setText(m_mode);
|
||||
ui->actionJT65B->setChecked(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionJT65C_triggered()
|
||||
{
|
||||
m_mode="JT65C";
|
||||
m_mode65=4;
|
||||
g_pWideGraph->setMode65(m_mode65);
|
||||
lab5->setText(m_mode);
|
||||
ui->actionJT65C->setChecked(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_NBcheckBox_toggled(bool checked)
|
||||
{
|
||||
m_NB=checked;
|
||||
ui->NBslider->setEnabled(m_NB);
|
||||
}
|
||||
|
||||
void MainWindow::on_NBslider_valueChanged(int n)
|
||||
{
|
||||
m_NBslider=n;
|
||||
}
|
||||
|
||||
void MainWindow::on_actionAdjust_IQ_Calibration_triggered()
|
||||
{
|
||||
m_adjustIQ=1;
|
||||
}
|
||||
|
||||
void MainWindow::on_actionApply_IQ_Calibration_triggered()
|
||||
{
|
||||
m_applyIQcal= 1-m_applyIQcal;
|
||||
}
|
||||
|
||||
void MainWindow::on_actionFUNcube_Dongle_triggered()
|
||||
{
|
||||
proc_qthid.start(QDir::toNativeSeparators(m_appDir + "/qthid"));
|
||||
}
|
||||
|
12
mainwindow.h
12
mainwindow.h
@ -95,7 +95,6 @@ private slots:
|
||||
void on_txb6_clicked();
|
||||
void on_lookupButton_clicked();
|
||||
void on_addButton_clicked();
|
||||
void on_setTxFreqButton_clicked();
|
||||
void on_dxCallEntry_textChanged(const QString &arg1);
|
||||
void on_dxGridEntry_textChanged(const QString &arg1);
|
||||
void selectCall2(bool ctrl);
|
||||
@ -104,20 +103,9 @@ private slots:
|
||||
void on_logQSOButton_clicked();
|
||||
// void on_actionErase_jtms3_rx_log_triggered();
|
||||
void on_actionErase_jtms3_tx_log_triggered();
|
||||
void on_NBcheckBox_toggled(bool checked);
|
||||
void on_actionJT65A_triggered();
|
||||
void on_actionJT65B_triggered();
|
||||
void on_actionJT65C_triggered();
|
||||
void on_NBslider_valueChanged(int value);
|
||||
void on_actionAdjust_IQ_Calibration_triggered();
|
||||
void on_actionApply_IQ_Calibration_triggered();
|
||||
|
||||
void on_actionAFMHot_triggered();
|
||||
|
||||
void on_actionBlue_triggered();
|
||||
|
||||
void on_actionFUNcube_Dongle_triggered();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
qint32 m_nDevIn;
|
||||
|
Loading…
Reference in New Issue
Block a user