mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-03 06:54:17 +01:00
cursors: Connect cursors to time/freq display on dock
This commit is contained in:
@@ -112,3 +112,9 @@ void SpectrogramControls::fileOpenButtonClicked()
|
||||
);
|
||||
emit openFile(fileName);
|
||||
}
|
||||
|
||||
void SpectrogramControls::timeSelectionChanged(float time)
|
||||
{
|
||||
deltaTimeLabel->setText(QString::number(time) + "s");
|
||||
deltaFrequencyLabel->setText(QString::number(1 / time) + "Hz");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user