mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
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:
parent
e017ba39d6
commit
8aca06e5b3
@ -1,4 +1,4 @@
|
|||||||
//-------------------------------------------------------------- MainWindow
|
//------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "devsetup.h"
|
#include "devsetup.h"
|
||||||
|
@ -261,6 +261,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
|
|||||||
|
|
||||||
//draw tick marks on wideband (upper) scale
|
//draw tick marks on wideband (upper) scale
|
||||||
pixperdiv = FreqPerDiv/df;
|
pixperdiv = FreqPerDiv/df;
|
||||||
|
qDebug() << w << m_hdivs << pixperdiv;
|
||||||
for( int i=1; i<m_hdivs; i++) { //major ticks
|
for( int i=1; i<m_hdivs; i++) { //major ticks
|
||||||
x = (int)( (float)i*pixperdiv );
|
x = (int)( (float)i*pixperdiv );
|
||||||
painter0.drawLine(x,18,x,30);
|
painter0.drawLine(x,18,x,30);
|
||||||
|
@ -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)
|
void WideGraph::on_freqSpanSpinBox_valueChanged(int n)
|
||||||
{
|
{
|
||||||
ui->widePlot->setNSpan(n);
|
ui->widePlot->setNSpan(n);
|
||||||
|
@ -50,7 +50,6 @@ protected:
|
|||||||
private slots:
|
private slots:
|
||||||
void on_waterfallAvgSpinBox_valueChanged(int arg1);
|
void on_waterfallAvgSpinBox_valueChanged(int arg1);
|
||||||
void on_freqSpanSpinBox_valueChanged(int arg1);
|
void on_freqSpanSpinBox_valueChanged(int arg1);
|
||||||
void on_freqOffsetSpinBox_valueChanged(int arg1);
|
|
||||||
void on_zeroSpinBox_valueChanged(int arg1);
|
void on_zeroSpinBox_valueChanged(int arg1);
|
||||||
void on_gainSpinBox_valueChanged(int arg1);
|
void on_gainSpinBox_valueChanged(int arg1);
|
||||||
void on_autoZeroPushButton_clicked();
|
void on_autoZeroPushButton_clicked();
|
||||||
|
Loading…
Reference in New Issue
Block a user