Add docked controls + hook up slider for FFT size

This commit is contained in:
Mike Walters
2015-07-15 01:25:53 +01:00
parent 5bdaff1329
commit ac7aa3281b
7 changed files with 70 additions and 3 deletions

View File

@@ -49,4 +49,11 @@ void Spectrogram::paintEvent(QPaintEvent *event)
}
qDebug() << "Paint: " << timer.elapsed() << "ms";
}
void Spectrogram::setFFTSize(int size)
{
inputSource->setFFTSize(size);
update();
resize(inputSource->GetWidth(), inputSource->GetHeight());
}