return (QWidget*)_spectrumDisplayForm;
}
+void
+SpectrumGUIClass::SetTimeDomainAxis(double min, double max)
+{
+ _spectrumDisplayForm->SetTimeDomainAxis(min, max);
+}
+
+void
+SpectrumGUIClass::SetConstellationAxis(double xmin, double xmax,
+ double ymin, double ymax)
+{
+ _spectrumDisplayForm->SetConstellationAxis(xmin, xmax, ymin, ymax);
+
+}
+
#endif /* SPECTRUM_GUI_CLASS_CPP */
QWidget* qwidget();
+ void SetTimeDomainAxis(double min, double max);
+ void SetConstellationAxis(double xmin, double xmax,
+ double ymin, double ymax);
+
protected:
private:
void set_frequency_range(const double centerfreq,
const double startfreq,
const double stopfreq);
+ void set_time_domain_axis(double min, double max);
+ void set_constellation_axis(double xmin, double xmax,
+ double ymin, double ymax);
};
public:
void exec_();
PyObject* pyqwidget();
+
+ void set_frequency_range(const double centerfreq,
+ const double startfreq,
+ const double stopfreq);
+ void set_time_domain_axis(double min, double max);
+ void set_constellation_axis(double xmin, double xmax,
+ double ymin, double ymax);
};
d_main_gui->SetFrequencyRange(centerfreq, startfreq, stopfreq);
}
+void
+qtgui_sink_c::set_time_domain_axis(double min, double max)
+{
+ d_main_gui->SetTimeDomainAxis(min, max);
+}
+
+void
+qtgui_sink_c::set_constellation_axis(double xmin, double xmax,
+ double ymin, double ymax)
+{
+ d_main_gui->SetConstellationAxis(xmin, xmax, ymin, ymax);
+}
+
void
qtgui_sink_c::fft(const gr_complex *data_in, int size, gr_complex *data_out)
{
const double startfreq,
const double stopfreq);
+ void set_time_domain_axis(double min, double max);
+ void set_constellation_axis(double xmin, double xmax,
+ double ymin, double ymax);
+
QApplication *d_qApplication;
qtgui_obj *d_object;
d_main_gui->SetFrequencyRange(centerfreq, startfreq, stopfreq);
}
+void
+qtgui_sink_f::set_time_domain_axis(double min, double max)
+{
+ d_main_gui->SetTimeDomainAxis(min, max);
+}
+
+void
+qtgui_sink_f::set_constellation_axis(double xmin, double xmax,
+ double ymin, double ymax)
+{
+ d_main_gui->SetConstellationAxis(xmin, xmax, ymin, ymax);
+}
+
void
qtgui_sink_f::fft(const float *data_in, int size, gr_complex *data_out)
{
const double startfreq,
const double stopfreq);
+ void set_time_domain_axis(double min, double max);
+ void set_constellation_axis(double xmin, double xmax,
+ double ymin, double ymax);
+
QApplication *d_qApplication;
qtgui_obj *d_object;
d_plot_constellation = -1;
}
}
+
+
+void
+SpectrumDisplayForm::SetTimeDomainAxis(double min, double max)
+{
+ _timeDomainDisplayPlot->set_yaxis(min, max);
+}
+
+void
+SpectrumDisplayForm::SetConstellationAxis(double xmin, double xmax,
+ double ymin, double ymax)
+{
+ _constellationDisplayPlot->set_axis(xmin, xmax, ymin, ymax);
+}
void ToggleTabTime(const bool state);
void ToggleTabConstellation(const bool state);
+ void SetTimeDomainAxis(double min, double max);
+ void SetConstellationAxis(double xmin, double xmax,
+ double ymin, double ymax);
private slots:
void newFrequencyData( const SpectrumUpdateEvent* );