 |
GNU Radio Manual and C++ API Reference
3.10.3.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef DOMAIN_DISPLAY_PLOT_H
12 #define DOMAIN_DISPLAY_PLOT_H
15 #include <qwt_legend.h>
16 #include <qwt_painter.h>
18 #include <qwt_plot_canvas.h>
19 #include <qwt_plot_curve.h>
20 #include <qwt_plot_magnifier.h>
21 #include <qwt_plot_marker.h>
22 #include <qwt_plot_panner.h>
23 #include <qwt_plot_zoomer.h>
24 #include <qwt_scale_engine.h>
25 #include <qwt_scale_widget.h>
26 #include <qwt_symbol.h>
31 #if QWT_VERSION >= 0x060000
32 typedef QPointF QwtDoublePoint;
33 typedef QRectF QwtDoubleRect;
35 typedef QwtInterval QwtDoubleInterval;
41 #if QWT_VERSION < 0x060100
42 #include <qwt_legend_item.h>
44 #include <qwt_legend_data.h>
45 #include <qwt_legend_label.h>
86 typedef QwtSymbol::Style QwtSymbolStyle;
88 Q_ENUMS(QwtSymbolStyle)
122 void replot() override = 0;
190 virtual
void setLineLabel(
unsigned int which, QString label);
192 virtual
void setLineColor(
unsigned int which, QColor color);
194 virtual
void setLineWidth(
unsigned int which,
int width);
196 virtual
void setLineStyle(
unsigned int which, Qt::PenStyle style);
197 virtual const Qt::PenStyle
getLineStyle(
unsigned int which) const;
198 virtual
void setLineMarker(
unsigned int which, QwtSymbol::Style marker);
199 virtual const QwtSymbol::Style
getLineMarker(
unsigned int which) const;
void setMarkerAlpha4(int)
void setLineStyle1(Qt::PenStyle)
const QwtSymbol::Style getLineMarker6() const
void setXaxisLabelFontSize(int fs)
void setLineStyle7(Qt::PenStyle)
void setLineMarker9(QwtSymbol::Style)
unsigned int d_nplots
Definition: DisplayPlot.h:280
void setLineMarker1(QwtSymbol::Style)
QColor palette_color
Definition: DisplayPlot.h:110
int marker_alpha5
Definition: DisplayPlot.h:103
QwtSymbolStyle line_marker7
Definition: DisplayPlot.h:95
virtual QColor getLineColor(unsigned int which) const
QwtSymbolStyle line_marker8
Definition: DisplayPlot.h:96
void setLineStyle2(Qt::PenStyle)
int xaxis_label_font_size
Definition: DisplayPlot.h:114
int getAxisLabelFontSize(int axisId) const
const QwtSymbol::Style getLineMarker3() const
virtual void setLineColor(unsigned int which, QColor color)
int getLineWidth9() const
const Qt::PenStyle getLineStyle4() const
void setMarkerAlpha1(int)
void setAxisLabelFontSize(int axisId, int fs)
int line_width2
Definition: DisplayPlot.h:67
Qt::PenStyle line_style9
Definition: DisplayPlot.h:84
int getAxesLabelFontSize() const
void onPickerPointSelected6(const QPointF &p)
QColor line_color6
Definition: DisplayPlot.h:61
virtual int getMarkerAlpha(unsigned int which) const
virtual const QwtSymbol::Style getLineMarker(unsigned int which) const
bool d_autoscale_state
Definition: DisplayPlot.h:295
int getLineWidth8() const
void setLineColor4(QColor)
const QwtSymbol::Style getLineMarker2() const
int marker_alpha2
Definition: DisplayPlot.h:100
float min(float a, float b)
void setLineMarker4(QwtSymbol::Style)
int getMarkerAlpha8() const
QwtSymbolStyle line_marker2
Definition: DisplayPlot.h:90
Qt::PenStyle line_style4
Definition: DisplayPlot.h:79
int line_width8
Definition: DisplayPlot.h:73
QwtPlotZoomer * d_zoomer
Definition: DisplayPlot.h:284
int getMarkerAlpha6() const
QColor line_color8
Definition: DisplayPlot.h:63
void setLineMarker5(QwtSymbol::Style)
QwtSymbolStyle line_marker1
Definition: DisplayPlot.h:89
void setLineColor3(QColor)
int getMarkerAlpha9() const
void setMarkerAlpha9(int)
const QColor getLineColor5() const
QwtSymbolStyle line_marker6
Definition: DisplayPlot.h:94
int marker_alpha8
Definition: DisplayPlot.h:106
void setLineMarker7(QwtSymbol::Style)
int line_width1
Definition: DisplayPlot.h:66
void onPickerPointSelected(const QwtDoublePoint &p)
virtual void setYaxis(double min, double max)
std::vector< QwtPlotCurve * > d_plot_curve
Definition: DisplayPlot.h:281
int getLineWidth5() const
void setPaletteColor(QColor c)
int getLineWidth1() const
void setLineStyle9(Qt::PenStyle)
QColor line_color9
Definition: DisplayPlot.h:64
QwtSymbolStyle line_marker4
Definition: DisplayPlot.h:92
int getLineWidth4() const
virtual void setLineLabel(unsigned int which, QString label)
Qt::PenStyle line_style7
Definition: DisplayPlot.h:82
virtual void legendEntryChecked(QwtPlotItem *plotItem, bool on)
virtual QString getLineLabel(unsigned int which)
QwtPlotMagnifier * d_magnifier
Definition: DisplayPlot.h:287
int64_t d_numPoints
Definition: DisplayPlot.h:289
void resizeSlot(QSize *s)
int getYaxisLabelFontSize() const
void setMarkerAlpha2(int)
int marker_alpha3
Definition: DisplayPlot.h:101
const Qt::PenStyle getLineStyle2() const
void setLineMarker3(QwtSymbol::Style)
void setZoomerColor(QColor c)
void setLineColor7(QColor)
QwtSymbolStyle line_marker3
Definition: DisplayPlot.h:91
const QColor getLineColor4() const
virtual const Qt::PenStyle getLineStyle(unsigned int which) const
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:52
void plotPointSelected(const QPointF p)
int getMarkerAlpha1() const
int getLineWidth6() const
const Qt::PenStyle getLineStyle7() const
void setLineColor5(QColor)
int line_width9
Definition: DisplayPlot.h:74
QColor line_color7
Definition: DisplayPlot.h:62
const QColor getLineColor8() const
int getLineWidth2() const
const QColor getLineColor3() const
QwtSymbolStyle line_marker9
Definition: DisplayPlot.h:97
const QColor getLineColor7() const
const Qt::PenStyle getLineStyle8() const
void setMarkerAlpha5(int)
virtual void setMarkerAlpha(unsigned int which, int alpha)
virtual int getLineWidth(unsigned int which) const
QList< QColor > d_trace_colors
Definition: DisplayPlot.h:293
void setLineStyle3(Qt::PenStyle)
const Qt::PenStyle getLineStyle3() const
QColor line_color1
Definition: DisplayPlot.h:56
void setLineMarker2(QwtSymbol::Style)
void setAxesLabelFontSize(int fs)
Qt::PenStyle line_style3
Definition: DisplayPlot.h:78
virtual void setLineWidth(unsigned int which, int width)
bool d_stop
Definition: DisplayPlot.h:291
int getMarkerAlpha7() const
void setLineColor2(QColor)
const QColor getLineColor1() const
const QColor getLineColor9() const
int line_width6
Definition: DisplayPlot.h:71
int getMarkerAlpha4() const
QColor line_color5
Definition: DisplayPlot.h:60
Qt::PenStyle line_style5
Definition: DisplayPlot.h:80
void setLineColor1(QColor)
const QwtSymbol::Style getLineMarker5() const
void setLineStyle4(Qt::PenStyle)
void setMarkerAlpha3(int)
QList< QColor > QColorList
Definition: DisplayPlot.h:38
QColor getPaletteColor() const
QColor line_color2
Definition: DisplayPlot.h:57
QwtDblClickPlotPicker * d_picker
Definition: DisplayPlot.h:286
Qt::PenStyle line_style1
Definition: DisplayPlot.h:76
int line_width7
Definition: DisplayPlot.h:72
int getLineWidth3() const
const QColor getLineColor6() const
int marker_alpha9
Definition: DisplayPlot.h:107
void setLineColor9(QColor)
void setYaxisLabelFontSize(int fs)
int getLineWidth7() const
int marker_alpha4
Definition: DisplayPlot.h:102
int getMarkerAlpha3() const
int axes_label_font_size
Definition: DisplayPlot.h:116
void setLineMarker8(QwtSymbol::Style)
virtual void setLineStyle(unsigned int which, Qt::PenStyle style)
void setMarkerAlpha7(int)
const QwtSymbol::Style getLineMarker8() const
int getMarkerAlpha5() const
int getXaxisLabelFontSize() const
const QwtSymbol::Style getLineMarker1() const
const Qt::PenStyle getLineStyle9() const
int getMarkerAlpha2() const
Qt::PenStyle line_style6
Definition: DisplayPlot.h:81
const QwtSymbol::Style getLineMarker9() const
virtual void disableLegend()
QColor zoomer_color
Definition: DisplayPlot.h:109
const Qt::PenStyle getLineStyle6() const
Qt::PenStyle line_style8
Definition: DisplayPlot.h:83
int line_width4
Definition: DisplayPlot.h:69
QColor getZoomerColor() const
int line_width3
Definition: DisplayPlot.h:68
const Qt::PenStyle getLineStyle5() const
QwtPlotPanner * d_panner
Definition: DisplayPlot.h:283
virtual void setAxisLabels(bool en)
QColor line_color4
Definition: DisplayPlot.h:59
QwtSymbolStyle line_marker5
Definition: DisplayPlot.h:93
int marker_alpha1
Definition: DisplayPlot.h:99
void setLineStyle8(Qt::PenStyle)
int line_width5
Definition: DisplayPlot.h:70
int yaxis_label_font_size
Definition: DisplayPlot.h:112
void setMarkerAlpha8(int)
void setLineColor6(QColor)
const Qt::PenStyle getLineStyle1() const
const QColor getLineColor2() const
void setLineStyle6(Qt::PenStyle)
void setLineColor8(QColor)
int marker_alpha6
Definition: DisplayPlot.h:104
virtual void setXaxis(double min, double max)
const QwtSymbol::Style getLineMarker4() const
void setMarkerAlpha6(int)
virtual void setLineMarker(unsigned int which, QwtSymbol::Style marker)
void setLineMarker6(QwtSymbol::Style)
void setLineStyle5(Qt::PenStyle)
Qt::PenStyle line_style2
Definition: DisplayPlot.h:77
QColor line_color3
Definition: DisplayPlot.h:58
int marker_alpha7
Definition: DisplayPlot.h:105
const QwtSymbol::Style getLineMarker7() const