mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-08-14 23:43:44 -04:00
1. Tweak the DialFreq label; remove similar label from Wide Graph window.
2. Add a tab for Default Frequencies on Setup window. 3. Update Makefile.MinGW 4. Bump version number to 0.8. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3097 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
@@ -39,8 +39,6 @@ WideGraph::WideGraph(QWidget *parent) :
|
||||
ui->widePlot->setBinsPerPixel(1);
|
||||
m_waterfallAvg = settings.value("WaterfallAvg",5).toInt();
|
||||
ui->waterfallAvgSpinBox->setValue(m_waterfallAvg);
|
||||
m_dialFreq=settings.value("DialFreqMHz",14.078).toDouble();
|
||||
ui->fDialLineEdit->setText(QString::number(m_dialFreq));
|
||||
ui->widePlot->m_bCurrent=settings.value("Current",true).toBool();
|
||||
ui->widePlot->m_bCumulative=settings.value("Cumulative",false).toBool();
|
||||
ui->widePlot->m_bJT9Sync=settings.value("JT9Sync",false).toBool();
|
||||
@@ -52,7 +50,6 @@ WideGraph::WideGraph(QWidget *parent) :
|
||||
m_qsoFreq=settings.value("QSOfreq",1010).toInt();
|
||||
ui->widePlot->setFQSO(m_qsoFreq,true);
|
||||
settings.endGroup();
|
||||
emit dialFreqChanged(m_dialFreq);
|
||||
}
|
||||
|
||||
WideGraph::~WideGraph()
|
||||
@@ -74,7 +71,6 @@ void WideGraph::saveSettings()
|
||||
settings.setValue("PlotWidth",ui->widePlot->plotWidth());
|
||||
settings.setValue("FreqSpan",ui->freqSpanSpinBox->value());
|
||||
settings.setValue("WaterfallAvg",ui->waterfallAvgSpinBox->value());
|
||||
settings.setValue("DialFreqMHz",m_dialFreq);
|
||||
settings.setValue("Current",ui->widePlot->m_bCurrent);
|
||||
settings.setValue("Cumulative",ui->widePlot->m_bCumulative);
|
||||
settings.setValue("JT9Sync",ui->widePlot->m_bJT9Sync);
|
||||
@@ -231,22 +227,11 @@ void WideGraph::setPalette(QString palette)
|
||||
ui->widePlot->setPalette(palette);
|
||||
}
|
||||
|
||||
void WideGraph::on_fDialLineEdit_editingFinished()
|
||||
{
|
||||
m_dialFreq=ui->fDialLineEdit->text().toDouble();
|
||||
emit dialFreqChanged(m_dialFreq);
|
||||
}
|
||||
|
||||
double WideGraph::fGreen()
|
||||
{
|
||||
return ui->widePlot->fGreen();
|
||||
}
|
||||
|
||||
double WideGraph::dialFreq()
|
||||
{
|
||||
return m_dialFreq;
|
||||
}
|
||||
|
||||
void WideGraph::setPeriod(int ntrperiod, int nsps)
|
||||
{
|
||||
m_TRperiod=ntrperiod;
|
||||
@@ -259,13 +244,6 @@ void WideGraph::setTxFreq(int n)
|
||||
ui->widePlot->setTxFreq(n);
|
||||
}
|
||||
|
||||
void WideGraph::setDialFreq(double f)
|
||||
{
|
||||
m_dialFreq=f;
|
||||
ui->fDialLineEdit->setText(QString::number(m_dialFreq));
|
||||
emit dialFreqChanged(m_dialFreq);
|
||||
}
|
||||
|
||||
void WideGraph::on_spec2dComboBox_currentIndexChanged(const QString &arg1)
|
||||
{
|
||||
ui->widePlot->m_bCurrent=false;
|
||||
|
||||
Reference in New Issue
Block a user