 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef EYE_DISPLAY_PLOT_H
24 #define EYE_DISPLAY_PLOT_H
47 EyeDisplayPlot(
unsigned int nplots,
unsigned int curve_index, QWidget* parent);
51 const int64_t numDataPoints,
53 const double timeInterval,
54 const std::vector<std::vector<gr::tag_t>>& tags =
55 std::vector<std::vector<gr::tag_t>>());
73 void setSampleRate(
double sr,
double units,
const std::string& strunits);
83 void setYLabel(
const std::string& label,
const std::string& unit =
"");
95 void _resetXAxisPoints();
96 void _autoScale(
double bottom,
double top);
98 std::vector<double*> d_ydata;
102 double d_sample_rate;
104 unsigned int d_curve_index;
107 unsigned int d_numPointsPerPeriod;
108 unsigned int d_numPeriods;
110 bool d_autoscale_shot;
112 std::vector<std::vector<QwtPlotMarker*>> d_tag_markers;
113 std::vector<bool> d_tag_markers_en;
115 QList<QColor> colors;
116 QColor d_tag_text_color;
117 QColor d_tag_background_color;
118 Qt::BrushStyle d_tag_background_style;
120 QwtPlotMarker* d_trigger_lines[2];
void setTagBackgroundStyle(Qt::BrushStyle b)
QColor tag_background_color
Definition: EyeDisplayPlot.h:42
void setLineStyle(unsigned int which, Qt::PenStyle style)
void setTagBackgroundColor(QColor c)
void setMarkerAlpha(unsigned int which, int alpha)
const QColor getTagTextColor()
void setLineColor(unsigned int which, QColor color)
double sampleRate() const
void setSampleRate(double sr, double units, const std::string &strunits)
void setLineLabel(unsigned int which, QString label)
QColor tag_text_color
Definition: EyeDisplayPlot.h:40
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:62
QWidget for displaying eye pattern plots.
Definition: EyeDisplayPlot.h:37
virtual ~EyeDisplayPlot()
void legendEntryChecked(const QVariant &plotItem, bool on, int index)
void setLineMarker(unsigned int which, QwtSymbol::Style marker)
void setTagTextColor(QColor c)
void plotNewData(const std::vector< double * > dataPoints, const int64_t numDataPoints, int d_sps, const double timeInterval, const std::vector< std::vector< gr::tag_t >> &tags=std::vector< std::vector< gr::tag_t >>())
Qt::BrushStyle tag_background_style
Definition: EyeDisplayPlot.h:44
void legendEntryChecked(QwtPlotItem *plotItem, bool on)
void setLineWidth(unsigned int which, int width)
void attachTriggerLines(bool en)
void setAutoScale(bool state)
const Qt::BrushStyle getTagBackgroundStyle()
void setTriggerLines(double x, double y)
EyeDisplayPlot(unsigned int nplots, unsigned int curve_index, QWidget *parent)
void enableTagMarker(unsigned int which, bool en)
const QColor getTagBackgroundColor()
void setYLabel(const std::string &label, const std::string &unit="")