Code cleanups related to Echo mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5527 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2015-06-04 19:11:54 +00:00
parent 8587319f16
commit 091042d61c
4 changed files with 46 additions and 87 deletions

View File

@ -121,7 +121,7 @@ void Astro::astroUpdate(QDateTime t, QString mygrid, QString hisgrid, qint64 fre
<< qSetRealNumberPrecision (1)
<< "Az: " << azmoon << "\n"
"El: " << elmoon << "\n"
"Dop: " << *ndop00 << "\n"
"SelfDop:" << *ndop00 << "\n"
"Width: " << int(width1) << "\n"
<< qSetRealNumberPrecision (2)
<< "Delay: " << techo << "\n"

View File

@ -20,11 +20,6 @@ EchoGraph::EchoGraph(QSettings * settings, QWidget *parent) :
ui->echoPlot->setMaximumHeight(800);
//Restore user's settings
/*
QString inifile(QApplication::applicationDirPath());
inifile += "/emecho.ini";
QSettings settings(inifile, QSettings::IniFormat);
*/
m_settings->beginGroup("EchoGraph");
restoreGeometry (m_settings->value ("geometry", saveGeometry ()).toByteArray ());
ui->echoPlot->setPlotZero(m_settings->value("PlotZero", 0).toInt());
@ -52,11 +47,6 @@ void EchoGraph::closeEvent (QCloseEvent * e)
void EchoGraph::saveSettings()
{
//Save user's settings
/*
QString inifile(QApplication::applicationDirPath());
inifile += "/emecho.ini";
QSettings settings(inifile, QSettings::IniFormat);
*/
m_settings->beginGroup("EchoGraph");
m_settings->setValue ("geometry", saveGeometry ());
m_settings->setValue("PlotZero",ui->echoPlot->m_plotZero);

View File

@ -2385,7 +2385,7 @@ list. The list can be maintained in Settings (F2).</string>
</property>
<property name="minimumSize">
<size>
<width>140</width>
<width>160</width>
<height>30</height>
</size>
</property>

View File

@ -52,47 +52,19 @@ SOURCES += \
logbook/countrydat.cpp \
logbook/countriesworked.cpp \
logbook/logbook.cpp \
astro.cpp \
Radio.cpp \
NetworkServerLookup.cpp \
revision_utils.cpp \
Transceiver.cpp \
TransceiverBase.cpp \
TransceiverFactory.cpp \
PollingTransceiver.cpp \
EmulateSplitTransceiver.cpp \
HRDTransceiver.cpp \
DXLabSuiteCommanderTransceiver.cpp \
HamlibTransceiver.cpp \
FrequencyLineEdit.cpp \
Bands.cpp \
FrequencyList.cpp \
StationList.cpp \
ForeignKeyDelegate.cpp \
FrequencyItemDelegate.cpp \
LiveFrequencyValidator.cpp \
Configuration.cpp \
psk_reporter.cpp \
AudioDevice.cpp \
Modulator.cpp \
Detector.cpp \
logqso.cpp \
displaytext.cpp \
getfile.cpp \
soundout.cpp \
soundin.cpp \
meterwidget.cpp \
signalmeter.cpp \
WFPalette.cpp \
plotter.cpp \
widegraph.cpp \
about.cpp \
mainwindow.cpp \
main.cpp \
decodedtext.cpp \
wsprnet.cpp \
messageaveraging.cpp \
echoplot.cpp echograph.cpp Modes.cpp
astro.cpp Radio.cpp NetworkServerLookup.cpp revision_utils.cpp \
Transceiver.cpp TransceiverBase.cpp TransceiverFactory.cpp \
PollingTransceiver.cpp EmulateSplitTransceiver.cpp \
HRDTransceiver.cpp DXLabSuiteCommanderTransceiver.cpp \
HamlibTransceiver.cpp FrequencyLineEdit.cpp Bands.cpp \
FrequencyList.cpp StationList.cpp ForeignKeyDelegate.cpp \
FrequencyItemDelegate.cpp LiveFrequencyValidator.cpp \
Configuration.cpp psk_reporter.cpp AudioDevice.cpp \
Modulator.cpp Detector.cpp logqso.cpp displaytext.cpp \
getfile.cpp soundout.cpp soundin.cpp meterwidget.cpp signalmeter.cpp \
WFPalette.cpp plotter.cpp widegraph.cpp about.cpp mainwindow.cpp \
main.cpp decodedtext.cpp wsprnet.cpp messageaveraging.cpp \
echoplot.cpp echograph.cpp Modes.cpp WSPRBandHopping.cpp
HEADERS += qt_helpers.hpp \
pimpl_h.hpp pimpl_impl.hpp \
@ -104,15 +76,12 @@ HEADERS += qt_helpers.hpp \
FrequencyLineEdit.hpp AudioDevice.hpp Detector.hpp Modulator.hpp psk_reporter.h \
Transceiver.hpp TransceiverBase.hpp TransceiverFactory.hpp PollingTransceiver.hpp \
EmulateSplitTransceiver.hpp DXLabSuiteCommanderTransceiver.hpp HamlibTransceiver.hpp \
Configuration.hpp wsprnet.h \
signalmeter.h \
meterwidget.h \
Configuration.hpp wsprnet.h signalmeter.h meterwidget.h \
logbook/logbook.h \
logbook/countrydat.h \
logbook/countriesworked.h \
logbook/adif.h \
messageaveraging.h \
echoplot.h echograph.h Modes.hpp
messageaveraging.h echoplot.h echograph.h Modes.hpp WSPRBandHopping.hpp
INCLUDEPATH += qmake_only