23 #ifndef INCLUDED_QTGUI_FREQ_SINK_F_H 24 #define INCLUDED_QTGUI_FREQ_SINK_F_H 34 #include <qapplication.h> 90 typedef boost::shared_ptr<freq_sink_f>
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;
151 virtual void set_plot_pos_half(
bool half) = 0;
179 const std::string& tag_key =
"") = 0;
181 virtual std::string title() = 0;
182 virtual std::string line_label(
unsigned int which) = 0;
183 virtual std::string line_color(
unsigned int which) = 0;
184 virtual int line_width(
unsigned int which) = 0;
185 virtual int line_style(
unsigned int which) = 0;
186 virtual int line_marker(
unsigned int which) = 0;
187 virtual double line_alpha(
unsigned int which) = 0;
189 virtual void set_size(
int width,
int height) = 0;
191 virtual void enable_menu(
bool en =
true) = 0;
192 virtual void enable_grid(
bool en =
true) = 0;
193 virtual void enable_autoscale(
bool en =
true) = 0;
194 virtual void enable_control_panel(
bool en =
true) = 0;
195 virtual void enable_max_hold(
bool en) = 0;
196 virtual void enable_min_hold(
bool en) = 0;
197 virtual void clear_max_hold() = 0;
198 virtual void clear_min_hold() = 0;
199 virtual void disable_legend() = 0;
200 virtual void reset() = 0;
201 virtual void enable_axis_labels(
bool en =
true) = 0;
float min(float a, float b)
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
QApplication * d_qApplication
Definition: freq_sink_f.h:203
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
A graphical sink to display multiple signals in frequency.
Definition: freq_sink_f.h:86
boost::shared_ptr< freq_sink_f > sptr
Definition: freq_sink_f.h:90
win_type
Definition: firdes.h:45