More work on widegraph.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2497 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-07-06 20:55:35 +00:00
parent e017ba39d6
commit 8aca06e5b3
4 changed files with 2 additions and 7 deletions

View File

@ -1,4 +1,4 @@
//-------------------------------------------------------------- MainWindow
//------------------------------------------------------------- MainWindow
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "devsetup.h"

View File

@ -261,6 +261,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
//draw tick marks on wideband (upper) scale
pixperdiv = FreqPerDiv/df;
qDebug() << w << m_hdivs << pixperdiv;
for( int i=1; i<m_hdivs; i++) { //major ticks
x = (int)( (float)i*pixperdiv );
painter0.drawLine(x,18,x,30);

View File

@ -133,11 +133,6 @@ void WideGraph::dataSink2(float s[], int nkhz, int ihsym, int ndiskdata,
}
}
void WideGraph::on_freqOffsetSpinBox_valueChanged(int f)
{
ui->widePlot->SetFreqOffset(f);
}
void WideGraph::on_freqSpanSpinBox_valueChanged(int n)
{
ui->widePlot->setNSpan(n);

View File

@ -50,7 +50,6 @@ protected:
private slots:
void on_waterfallAvgSpinBox_valueChanged(int arg1);
void on_freqSpanSpinBox_valueChanged(int arg1);
void on_freqOffsetSpinBox_valueChanged(int arg1);
void on_zeroSpinBox_valueChanged(int arg1);
void on_gainSpinBox_valueChanged(int arg1);
void on_autoZeroPushButton_clicked();