1. Moved fMin and fMax spin boxes to spectrum widget.

2. Adjusted mainwindow layout.
3. Added label at top level of decoded text widgets.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3133 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Edson W. R. Pereira
2013-04-05 16:48:10 +00:00
parent e5e9ea41ab
commit 7d5bbf47c3
7 changed files with 377 additions and 367 deletions
+22
View File
@@ -20,6 +20,9 @@ WideGraph::WideGraph(QWidget *parent) :
connect(ui->widePlot, SIGNAL(freezeDecode1(int)),this,
SLOT(wideFreezeDecode(int)));
m_fMin=1000;
ui->fMinSpinBox->setValue(m_fMin);
//Restore user's settings
QString inifile(QApplication::applicationDirPath());
inifile += "/wsjtx.ini";
@@ -209,6 +212,12 @@ void WideGraph::setRxRange(int fMin, int fMax)
ui->widePlot->update();
}
void WideGraph::setfMax(int n)
{
m_fMax = n;
setRxRange(m_fMin,m_fMax);
}
void WideGraph::setFcal(int n)
{
m_fCal=n;
@@ -246,3 +255,16 @@ void WideGraph::on_spec2dComboBox_currentIndexChanged(const QString &arg1)
if(arg1=="Cumulative") ui->widePlot->m_bCumulative=true;
if(arg1=="JT9 Sync") ui->widePlot->m_bJT9Sync=true;
}
void WideGraph::on_fMinSpinBox_valueChanged(int n)
{
m_fMin=n;
setRxRange(m_fMin,m_fMax);
}
void WideGraph::on_fMaxSpinBox_valueChanged(int n)
{
m_fMax=n;
setRxRange(m_fMin,m_fMax);
}