mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-03 06:54:17 +01:00
added time scale toggle checkbox
Conflicts: mainwindow.cpp spectrogram.cpp spectrogram.h spectrogramcontrols.cpp spectrogramcontrols.h
This commit is contained in:
committed by
Tobias Schneider
parent
549d6fa679
commit
dd461bacb7
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user