mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 20:58:55 -05:00
Removing more unused code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2500 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
2393e3eecd
commit
a09cd784af
21
plotter.cpp
21
plotter.cpp
@ -356,15 +356,6 @@ void CPlotter::setTol(int n) //setTol()
|
||||
DrawOverlay();
|
||||
}
|
||||
|
||||
void CPlotter::setBinsPerPixel(int n) {m_binsPerPixel = n;} //set nbpp
|
||||
|
||||
int CPlotter::binsPerPixel(){return m_binsPerPixel;} //get nbpp
|
||||
|
||||
void CPlotter::setNkhz(int n) //setNkhz()
|
||||
{
|
||||
m_nkhz=n;
|
||||
}
|
||||
|
||||
int CPlotter::DF() {return m_DF;} // get DF
|
||||
|
||||
void CPlotter::mousePressEvent(QMouseEvent *event) //mousePressEvent
|
||||
@ -510,18 +501,6 @@ void CPlotter::setPalette(QString palette) //setPalette()
|
||||
|
||||
}
|
||||
|
||||
void CPlotter::setFsample(int n)
|
||||
{
|
||||
m_fSample=n;
|
||||
}
|
||||
|
||||
void CPlotter::setMode65(int n)
|
||||
{
|
||||
m_mode65=n;
|
||||
DrawOverlay(); //Redraw scales and ticks
|
||||
update(); //trigger a new paintEvent
|
||||
}
|
||||
|
||||
void CPlotter::set2Dspec(bool b)
|
||||
{
|
||||
m_2Dspec=b;
|
||||
|
13
plotter.h
13
plotter.h
@ -28,7 +28,6 @@ public:
|
||||
QColor m_ColorTbl[256];
|
||||
int m_plotZero;
|
||||
int m_plotGain;
|
||||
qint32 m_binsPerPixel;
|
||||
qint32 m_DF;
|
||||
qint32 m_tol;
|
||||
|
||||
@ -38,28 +37,16 @@ public:
|
||||
int getPlotZero();
|
||||
void setPlotGain(int plotGain);
|
||||
int getPlotGain();
|
||||
void SetCenterFreq(int f);
|
||||
qint64 centerFreq();
|
||||
void SetStartFreq(quint64 f);
|
||||
qint64 startFreq();
|
||||
void SetFreqOffset(quint64 f);
|
||||
qint64 freqOffset();
|
||||
int plotWidth();
|
||||
void setNSpan(int n);
|
||||
void UpdateOverlay();
|
||||
void setDataFromDisk(bool b);
|
||||
void setTol(int n);
|
||||
void setBinsPerPixel(int n);
|
||||
int binsPerPixel();
|
||||
void setFcal(int n);
|
||||
void setNkhz(int n);
|
||||
void DrawOverlay();
|
||||
int fQSO();
|
||||
int DF();
|
||||
int autoZero();
|
||||
void setPalette(QString palette);
|
||||
void setFsample(int n);
|
||||
void setMode65(int n);
|
||||
void set2Dspec(bool b);
|
||||
|
||||
signals:
|
||||
|
@ -32,8 +32,8 @@ WideGraph::WideGraph(QWidget *parent) :
|
||||
int w = settings.value("PlotWidth",1000).toInt();
|
||||
ui->freqSpanSpinBox->setValue(n);
|
||||
// ui->widePlot->setNSpan(n);
|
||||
int nbpp = n * 32768.0/(w*96.0) + 0.5;
|
||||
ui->widePlot->setBinsPerPixel(nbpp);
|
||||
// int nbpp = n * 32768.0/(w*96.0) + 0.5;
|
||||
// ui->widePlot->setBinsPerPixel(nbpp);
|
||||
m_waterfallAvg = settings.value("WaterfallAvg",10).toInt();
|
||||
ui->waterfallAvgSpinBox->setValue(m_waterfallAvg);
|
||||
settings.endGroup();
|
||||
|
Loading…
Reference in New Issue
Block a user