Remove obsolete FFT-scaling widgets.

This commit is contained in:
Alexandru Csete 2012-04-22 13:57:11 +02:00
parent cd310a9667
commit 0788e6cd2a
4 changed files with 0 additions and 38 deletions

View File

@ -134,8 +134,6 @@ MainWindow::MainWindow(QWidget *parent) :
connect(uiDockAudio, SIGNAL(audioPlayStopped()), this, SLOT(stopAudioPlayback()));
connect(uiDockFft, SIGNAL(fftSizeChanged(int)), this, SLOT(setFftSize(int)));
connect(uiDockFft, SIGNAL(fftRateChanged(int)), this, SLOT(setFftRate(int)));
connect(uiDockFft, SIGNAL(fftYminChanged(int)), this, SLOT(setFftYmin(int)));
connect(uiDockFft, SIGNAL(fftYmaxChanged(int)), this, SLOT(setFftYmax(int)));
connect(uiDockFft, SIGNAL(fftSplitChanged(int)), this, SLOT(setFftSplit(int)));
}
@ -828,22 +826,6 @@ void MainWindow::setFftRate(int fps)
fft_timer->setInterval(interval);
}
/*! \brief Lower limit of FFT plot Y-axis changed. */
void MainWindow::setFftYmin(int value)
{
qDebug() << "Changing FFT Y min TBD...";
}
/*! \brief Upper limit of FFT plot Y-axis changed. */
void MainWindow::setFftYmax(int value)
{
qDebug() << "Changing FFT Y max TBD...";
}
/*! \brief Vertical split between waterfall and pandapter changed.
* \param pct_pand The percentage of the waterfall.
*/

View File

@ -105,8 +105,6 @@ private slots:
/* FFT settings */
void setFftSize(int size);
void setFftRate(int fps);
void setFftYmin(int value);
void setFftYmax(int value);
void setFftSplit(int pct_wf);
void on_plotter_NewDemodFreq(qint64 freq, qint64 delta); /*! New demod freq (aka. filter offset). */

View File

@ -75,20 +75,6 @@ void DockFft::on_fftRateComboBox_currentIndexChanged(const QString & text)
emit fftRateChanged(fps);
}
/*! \brief Lower limit of Y-axis changed. */
void DockFft::on_fftMinComboBox_currentIndexChanged(const QString &text)
{
int value = text.toInt();
emit fftYminChanged(value);
}
/*! \brief Upper limit of Y-axis changed. */
void DockFft::on_fftMaxComboBox_currentIndexChanged(const QString &text)
{
int value = text.toInt();
emit fftYmaxChanged(value);
}
/*! \brief Split between waterfall and pandapter changed.
* \param value The percentage of the waterfall.
*/

View File

@ -41,15 +41,11 @@ public:
signals:
void fftSizeChanged(int size); /*! \brief FFT size changed. */
void fftRateChanged(int fps); /*! \brief FFT rate changed. */
void fftYminChanged(int value); /*! \brief Lower limit of FFT plot Y-axis changed. */
void fftYmaxChanged(int value); /*! \brief Upper limit of FFT plot Y-axis changed. */
void fftSplitChanged(int pct); /*! \brief Split between pandapter and waterfall changed. */
private slots:
void on_fftSizeComboBox_currentIndexChanged(const QString & text);
void on_fftRateComboBox_currentIndexChanged(const QString & text);
void on_fftMinComboBox_currentIndexChanged(const QString & text);
void on_fftMaxComboBox_currentIndexChanged(const QString & text);
void on_fftSplitSlider_valueChanged(int value);
private: