23 #ifndef INCLUDED_QTGUI_FREQ_SINK_C_H 24 #define INCLUDED_QTGUI_FREQ_SINK_C_H 34 #include <qapplication.h> 90 typedef boost::shared_ptr<freq_sink_c>
sptr;
108 static sptr make(
int fftsize,
112 const std::string& name,
113 int nconnections = 1,
114 QWidget* parent = NULL);
116 virtual void exec_() = 0;
117 virtual QWidget* qwidget() = 0;
120 virtual PyObject* pyqwidget() = 0;
122 virtual void* pyqwidget() = 0;
125 virtual void set_fft_size(
const int fftsize) = 0;
126 virtual int fft_size()
const = 0;
127 virtual void set_fft_average(
const float fftavg) = 0;
128 virtual float fft_average()
const = 0;
132 virtual void set_frequency_range(
const double centerfreq,
const double bandwidth) = 0;
133 virtual void set_y_axis(
double min,
double max) = 0;
135 virtual void set_update_time(
double t) = 0;
137 virtual void set_title(
const std::string& title) = 0;
138 virtual void set_y_label(
const std::string& label,
const std::string& unit) = 0;
139 virtual void set_line_label(
unsigned int which,
const std::string& label) = 0;
140 virtual void set_line_color(
unsigned int which,
const std::string& color) = 0;
141 virtual void set_line_width(
unsigned int which,
int width) = 0;
142 virtual void set_line_style(
unsigned int which,
int style) = 0;
143 virtual void set_line_marker(
unsigned int which,
int marker) = 0;
144 virtual void set_line_alpha(
unsigned int which,
double alpha) = 0;
172 const std::string& tag_key =
"") = 0;
174 virtual std::string title() = 0;
175 virtual std::string line_label(
unsigned int which) = 0;
176 virtual std::string line_color(
unsigned int which) = 0;
177 virtual int line_width(
unsigned int which) = 0;
178 virtual int line_style(
unsigned int which) = 0;
179 virtual int line_marker(
unsigned int which) = 0;
180 virtual double line_alpha(
unsigned int which) = 0;
182 virtual void set_size(
int width,
int height) = 0;
184 virtual void enable_menu(
bool en =
true) = 0;
185 virtual void enable_grid(
bool en =
true) = 0;
186 virtual void enable_autoscale(
bool en =
true) = 0;
187 virtual void enable_control_panel(
bool en =
true) = 0;
188 virtual void enable_max_hold(
bool en) = 0;
189 virtual void enable_min_hold(
bool en) = 0;
190 virtual void clear_max_hold() = 0;
191 virtual void clear_min_hold() = 0;
192 virtual void disable_legend() = 0;
193 virtual void reset() = 0;
194 virtual void enable_axis_labels(
bool en =
true) = 0;
float min(float a, float b)
A graphical sink to display multiple signals in frequency.
Definition: freq_sink_c.h:86
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
trigger_mode
Definition: trigger_mode.h:29
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
QApplication * d_qApplication
Definition: freq_sink_c.h:196
boost::shared_ptr< freq_sink_c > sptr
Definition: freq_sink_c.h:90
win_type
Definition: firdes.h:45