added time scale toggle checkbox

Conflicts:
	mainwindow.cpp
	spectrogram.cpp
	spectrogram.h
	spectrogramcontrols.cpp
	spectrogramcontrols.h
This commit is contained in:
droelfdroelf
2015-12-20 21:54:22 +01:00
committed by Tobias Schneider
parent 549d6fa679
commit dd461bacb7
7 changed files with 28 additions and 0 deletions

View File

@@ -339,3 +339,9 @@ void PlotView::setSampleRate(off_t rate)
spectrogramPlot->setSampleRate(rate);
}
void PlotView::setTimeScaleEnable(int state)
{
bool timeScaleIsEnabled = (state == Qt::Checked);
spectrogramPlot->setTimeScaleEnable(timeScaleIsEnabled);
}