mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-31 16:38:35 -04: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
c069771128
commit
d25348d869
21
plotter.cpp
21
plotter.cpp
@ -356,15 +356,6 @@ void CPlotter::setTol(int n) //setTol()
|
|||||||
DrawOverlay();
|
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
|
int CPlotter::DF() {return m_DF;} // get DF
|
||||||
|
|
||||||
void CPlotter::mousePressEvent(QMouseEvent *event) //mousePressEvent
|
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)
|
void CPlotter::set2Dspec(bool b)
|
||||||
{
|
{
|
||||||
m_2Dspec=b;
|
m_2Dspec=b;
|
||||||
|
13
plotter.h
13
plotter.h
@ -28,7 +28,6 @@ public:
|
|||||||
QColor m_ColorTbl[256];
|
QColor m_ColorTbl[256];
|
||||||
int m_plotZero;
|
int m_plotZero;
|
||||||
int m_plotGain;
|
int m_plotGain;
|
||||||
qint32 m_binsPerPixel;
|
|
||||||
qint32 m_DF;
|
qint32 m_DF;
|
||||||
qint32 m_tol;
|
qint32 m_tol;
|
||||||
|
|
||||||
@ -38,28 +37,16 @@ public:
|
|||||||
int getPlotZero();
|
int getPlotZero();
|
||||||
void setPlotGain(int plotGain);
|
void setPlotGain(int plotGain);
|
||||||
int getPlotGain();
|
int getPlotGain();
|
||||||
void SetCenterFreq(int f);
|
|
||||||
qint64 centerFreq();
|
|
||||||
void SetStartFreq(quint64 f);
|
|
||||||
qint64 startFreq();
|
|
||||||
void SetFreqOffset(quint64 f);
|
|
||||||
qint64 freqOffset();
|
|
||||||
int plotWidth();
|
int plotWidth();
|
||||||
void setNSpan(int n);
|
void setNSpan(int n);
|
||||||
void UpdateOverlay();
|
void UpdateOverlay();
|
||||||
void setDataFromDisk(bool b);
|
void setDataFromDisk(bool b);
|
||||||
void setTol(int n);
|
void setTol(int n);
|
||||||
void setBinsPerPixel(int n);
|
|
||||||
int binsPerPixel();
|
|
||||||
void setFcal(int n);
|
|
||||||
void setNkhz(int n);
|
|
||||||
void DrawOverlay();
|
void DrawOverlay();
|
||||||
int fQSO();
|
int fQSO();
|
||||||
int DF();
|
int DF();
|
||||||
int autoZero();
|
int autoZero();
|
||||||
void setPalette(QString palette);
|
void setPalette(QString palette);
|
||||||
void setFsample(int n);
|
|
||||||
void setMode65(int n);
|
|
||||||
void set2Dspec(bool b);
|
void set2Dspec(bool b);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
@ -32,8 +32,8 @@ WideGraph::WideGraph(QWidget *parent) :
|
|||||||
int w = settings.value("PlotWidth",1000).toInt();
|
int w = settings.value("PlotWidth",1000).toInt();
|
||||||
ui->freqSpanSpinBox->setValue(n);
|
ui->freqSpanSpinBox->setValue(n);
|
||||||
// ui->widePlot->setNSpan(n);
|
// ui->widePlot->setNSpan(n);
|
||||||
int nbpp = n * 32768.0/(w*96.0) + 0.5;
|
// int nbpp = n * 32768.0/(w*96.0) + 0.5;
|
||||||
ui->widePlot->setBinsPerPixel(nbpp);
|
// ui->widePlot->setBinsPerPixel(nbpp);
|
||||||
m_waterfallAvg = settings.value("WaterfallAvg",10).toInt();
|
m_waterfallAvg = settings.value("WaterfallAvg",10).toInt();
|
||||||
ui->waterfallAvgSpinBox->setValue(m_waterfallAvg);
|
ui->waterfallAvgSpinBox->setValue(m_waterfallAvg);
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
Loading…
Reference in New Issue
Block a user