diff --git a/plugins/adc/src/adcfftinstrumentcontroller.cpp b/plugins/adc/src/adcfftinstrumentcontroller.cpp index 834ca6f77c..b75af10e71 100644 --- a/plugins/adc/src/adcfftinstrumentcontroller.cpp +++ b/plugins/adc/src/adcfftinstrumentcontroller.cpp @@ -51,6 +51,7 @@ void ADCFFTInstrumentController::init() m_fftPlotSettingsComponent->addPlot(dynamic_cast(m_plotComponentManager->plot(tmp))); m_measureComponent = new MeasureComponent(m_ui->getToolTemplate(), m_plotComponentManager, this); + m_measureComponent->measureSettings()->getMeasureSection()->setVisible(false); // m_measureComponent->addPlotComponent(m_plotComponentManager); addComponent(m_measureComponent); diff --git a/plugins/adc/src/freq/fftplotmanager.cpp b/plugins/adc/src/freq/fftplotmanager.cpp index c73f7ff62f..a3ba6de500 100644 --- a/plugins/adc/src/freq/fftplotmanager.cpp +++ b/plugins/adc/src/freq/fftplotmanager.cpp @@ -71,6 +71,12 @@ FFTPlotComponent *FFTPlotManager::plot(uint32_t uuid) return dynamic_cast(PlotManager::plot(uuid)); } +void FFTPlotManager::enableMeasurementPanel(bool) +{ + // TODO: Remove this whole function once the measurements for fft + // are implemented. This is just a placeholder. +} + void FFTPlotManager::multiPlotUpdate() { bool b = m_plots.count() > 1; diff --git a/plugins/adc/src/freq/fftplotmanager.h b/plugins/adc/src/freq/fftplotmanager.h index c66fc649e4..7d2681a4e2 100644 --- a/plugins/adc/src/freq/fftplotmanager.h +++ b/plugins/adc/src/freq/fftplotmanager.h @@ -21,6 +21,7 @@ class SCOPY_ADC_EXPORT FFTPlotManager : public PlotManager virtual uint32_t addPlot(QString name) override; virtual void removePlot(uint32_t uuid) override; FFTPlotComponent *plot(uint32_t uuid); + void enableMeasurementPanel(bool) override; private: PlotComponent *m_primary;