mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-05 06:37:53 -04:00
More unneeded stuff removed.
This commit is contained in:
parent
8c2fec1212
commit
3dc206dc2b
@ -93,9 +93,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(&proc_editor, SIGNAL(error(QProcess::ProcessError)),
|
|
||||||
this, SLOT(editor_error()));
|
|
||||||
|
|
||||||
connect(m_gui_timer, &QTimer::timeout, this, &MainWindow::guiUpdate);
|
connect(m_gui_timer, &QTimer::timeout, this, &MainWindow::guiUpdate);
|
||||||
|
|
||||||
m_waterfallAvg = 1;
|
m_waterfallAvg = 1;
|
||||||
@ -124,7 +121,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
m_udpPort=50004;
|
m_udpPort=50004;
|
||||||
m_adjustIQ=0;
|
m_adjustIQ=0;
|
||||||
m_applyIQcal=0;
|
m_applyIQcal=0;
|
||||||
m_colors="000066ff0000ffff00969696646464";
|
|
||||||
m_nsave=0;
|
m_nsave=0;
|
||||||
m_modeJT65=0;
|
m_modeJT65=0;
|
||||||
m_modeQ65=0;
|
m_modeQ65=0;
|
||||||
@ -312,7 +308,6 @@ void MainWindow::writeSettings()
|
|||||||
settings.setValue("GainY",(double)m_gainy);
|
settings.setValue("GainY",(double)m_gainy);
|
||||||
settings.setValue("PhaseX",(double)m_phasex);
|
settings.setValue("PhaseX",(double)m_phasex);
|
||||||
settings.setValue("PhaseY",(double)m_phasey);
|
settings.setValue("PhaseY",(double)m_phasey);
|
||||||
settings.setValue("Colors",m_colors);
|
|
||||||
settings.setValue("MaxDrift",ui->sbMaxDrift->value());
|
settings.setValue("MaxDrift",ui->sbMaxDrift->value());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -393,7 +388,6 @@ void MainWindow::readSettings()
|
|||||||
m_gainy=settings.value("GainY",1.0).toFloat();
|
m_gainy=settings.value("GainY",1.0).toFloat();
|
||||||
m_phasex=settings.value("PhaseX",0.0).toFloat();
|
m_phasex=settings.value("PhaseX",0.0).toFloat();
|
||||||
m_phasey=settings.value("PhaseY",0.0).toFloat();
|
m_phasey=settings.value("PhaseY",0.0).toFloat();
|
||||||
m_colors=settings.value("Colors","000066ff0000ffff00969696646464").toString();
|
|
||||||
|
|
||||||
if(!ui->actionLinrad->isChecked() && !ui->actionCuteSDR->isChecked() &&
|
if(!ui->actionLinrad->isChecked() && !ui->actionCuteSDR->isChecked() &&
|
||||||
!ui->actionAFMHot->isChecked() && !ui->actionBlue->isChecked()) {
|
!ui->actionAFMHot->isChecked() && !ui->actionBlue->isChecked()) {
|
||||||
@ -1450,11 +1444,6 @@ void MainWindow::on_NBslider_valueChanged(int n)
|
|||||||
m_NBslider=n;
|
m_NBslider=n;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionFUNcube_Dongle_triggered()
|
|
||||||
{
|
|
||||||
proc_qthid.start (QDir::toNativeSeparators(m_appDir + "/qthid"), QStringList {});
|
|
||||||
}
|
|
||||||
|
|
||||||
bool MainWindow::isGrid4(QString g)
|
bool MainWindow::isGrid4(QString g)
|
||||||
{
|
{
|
||||||
if(g.length()!=4) return false;
|
if(g.length()!=4) return false;
|
||||||
|
@ -87,7 +87,6 @@ private slots:
|
|||||||
void on_NBslider_valueChanged(int value);
|
void on_NBslider_valueChanged(int value);
|
||||||
void on_actionAFMHot_triggered();
|
void on_actionAFMHot_triggered();
|
||||||
void on_actionBlue_triggered();
|
void on_actionBlue_triggered();
|
||||||
void on_actionFUNcube_Dongle_triggered();
|
|
||||||
void on_actionQ65A_triggered();
|
void on_actionQ65A_triggered();
|
||||||
void on_actionQ65B_triggered();
|
void on_actionQ65B_triggered();
|
||||||
void on_actionQ65C_triggered();
|
void on_actionQ65C_triggered();
|
||||||
@ -165,8 +164,6 @@ private:
|
|||||||
QRect m_wideGraphGeom;
|
QRect m_wideGraphGeom;
|
||||||
|
|
||||||
QLabel* lab1; // labels in status bar
|
QLabel* lab1; // labels in status bar
|
||||||
QLabel* lab2;
|
|
||||||
QLabel* lab3;
|
|
||||||
QLabel* lab4;
|
QLabel* lab4;
|
||||||
QLabel* lab5;
|
QLabel* lab5;
|
||||||
QLabel* lab6;
|
QLabel* lab6;
|
||||||
@ -180,9 +177,6 @@ private:
|
|||||||
QFutureWatcher<void>* watcher2;
|
QFutureWatcher<void>* watcher2;
|
||||||
|
|
||||||
QProcess proc_m65;
|
QProcess proc_m65;
|
||||||
QProcess proc_qthid;
|
|
||||||
QProcess proc_editor;
|
|
||||||
|
|
||||||
|
|
||||||
QString m_path;
|
QString m_path;
|
||||||
QString m_pbdecoding_style1;
|
QString m_pbdecoding_style1;
|
||||||
@ -198,7 +192,7 @@ private:
|
|||||||
QString m_palette;
|
QString m_palette;
|
||||||
QString m_dateTime;
|
QString m_dateTime;
|
||||||
QString m_mode;
|
QString m_mode;
|
||||||
QString m_colors;
|
QString m_colors; //Why still needed?
|
||||||
QString m_editorCommand;
|
QString m_editorCommand;
|
||||||
QString m_modeTx;
|
QString m_modeTx;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user