Save and restore fQSO.

Decode mjultiple signals inside the "Tol" green bar, rather than just the
one producing highest value of sync.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2701 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-10-29 17:58:33 +00:00
parent 3aaa6adacc
commit 9697dbf189
8 changed files with 65 additions and 49 deletions
+4 -1
View File
@@ -32,6 +32,7 @@ WideGraph::WideGraph(QWidget *parent) :
ui->gainSpinBox->setValue(ui->widePlot->getPlotGain());
int n = settings.value("FreqSpan",1).toInt();
int w = settings.value("PlotWidth",1000).toInt();
ui->widePlot->m_w=w;
ui->freqSpanSpinBox->setValue(n);
ui->widePlot->setNSpan(n);
// int nbpp = n * 32768.0/(w*96.0) + 0.5;
@@ -48,10 +49,11 @@ WideGraph::WideGraph(QWidget *parent) :
ui->rbJT9Sync->setChecked(ui->widePlot->m_bJT9Sync);
int nbpp=settings.value("BinsPerPixel",1).toInt();
ui->widePlot->setBinsPerPixel(nbpp);
m_qsoFreq=settings.value("QSOfreq",1010).toInt();
ui->widePlot->setFQSO(m_qsoFreq,true);
settings.endGroup();
}
WideGraph::~WideGraph()
{
saveSettings();
@@ -76,6 +78,7 @@ void WideGraph::saveSettings()
settings.setValue("Cumulative",ui->widePlot->m_bCumulative);
settings.setValue("JT9Sync",ui->widePlot->m_bJT9Sync);
settings.setValue("BinsPerPixel",ui->widePlot->binsPerPixel());
settings.setValue("QSOfreq",ui->widePlot->fQSO());
settings.endGroup();
}