GNU Radio Manual and C++ API Reference  3.9.1.0
The Free & Open Software Radio Ecosystem
DisplayPlot.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2008-2012 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef DOMAIN_DISPLAY_PLOT_H
12 #define DOMAIN_DISPLAY_PLOT_H
13 
14 #include <gnuradio/qtgui/utils.h>
15 #include <qwt_legend.h>
16 #include <qwt_painter.h>
17 #include <qwt_plot.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>
27 #include <cstdint>
28 #include <cstdio>
29 #include <vector>
30 
31 #if QWT_VERSION >= 0x060000
32 #include <qwt_compat.h>
33 #endif
34 
35 typedef QList<QColor> QColorList;
36 Q_DECLARE_METATYPE(QColorList)
37 
38 #if QWT_VERSION < 0x060100
39 #include <qwt_legend_item.h>
40 #else /* QWT_VERSION < 0x060100 */
41 #include <qwt_legend_data.h>
42 #include <qwt_legend_label.h>
43 #endif /* QWT_VERSION < 0x060100 */
44 
45 /*!
46  * \brief QWidget base plot to build QTGUI plotting tools.
47  * \ingroup qtgui_blk
48  */
49 class DisplayPlot : public QwtPlot
50 {
51  Q_OBJECT
52 
53  Q_PROPERTY(QColor line_color1 READ getLineColor1 WRITE setLineColor1)
54  Q_PROPERTY(QColor line_color2 READ getLineColor2 WRITE setLineColor2)
55  Q_PROPERTY(QColor line_color3 READ getLineColor3 WRITE setLineColor3)
56  Q_PROPERTY(QColor line_color4 READ getLineColor4 WRITE setLineColor4)
57  Q_PROPERTY(QColor line_color5 READ getLineColor5 WRITE setLineColor5)
58  Q_PROPERTY(QColor line_color6 READ getLineColor6 WRITE setLineColor6)
59  Q_PROPERTY(QColor line_color7 READ getLineColor7 WRITE setLineColor7)
60  Q_PROPERTY(QColor line_color8 READ getLineColor8 WRITE setLineColor8)
61  Q_PROPERTY(QColor line_color9 READ getLineColor9 WRITE setLineColor9)
62 
63  Q_PROPERTY(int line_width1 READ getLineWidth1 WRITE setLineWidth1)
64  Q_PROPERTY(int line_width2 READ getLineWidth2 WRITE setLineWidth2)
65  Q_PROPERTY(int line_width3 READ getLineWidth3 WRITE setLineWidth3)
66  Q_PROPERTY(int line_width4 READ getLineWidth4 WRITE setLineWidth4)
67  Q_PROPERTY(int line_width5 READ getLineWidth5 WRITE setLineWidth5)
68  Q_PROPERTY(int line_width6 READ getLineWidth6 WRITE setLineWidth6)
69  Q_PROPERTY(int line_width7 READ getLineWidth7 WRITE setLineWidth7)
70  Q_PROPERTY(int line_width8 READ getLineWidth8 WRITE setLineWidth8)
71  Q_PROPERTY(int line_width9 READ getLineWidth9 WRITE setLineWidth9)
72 
73  Q_PROPERTY(Qt::PenStyle line_style1 READ getLineStyle1 WRITE setLineStyle1)
74  Q_PROPERTY(Qt::PenStyle line_style2 READ getLineStyle2 WRITE setLineStyle2)
75  Q_PROPERTY(Qt::PenStyle line_style3 READ getLineStyle3 WRITE setLineStyle3)
76  Q_PROPERTY(Qt::PenStyle line_style4 READ getLineStyle4 WRITE setLineStyle4)
77  Q_PROPERTY(Qt::PenStyle line_style5 READ getLineStyle5 WRITE setLineStyle5)
78  Q_PROPERTY(Qt::PenStyle line_style6 READ getLineStyle6 WRITE setLineStyle6)
79  Q_PROPERTY(Qt::PenStyle line_style7 READ getLineStyle7 WRITE setLineStyle7)
80  Q_PROPERTY(Qt::PenStyle line_style8 READ getLineStyle8 WRITE setLineStyle8)
81  Q_PROPERTY(Qt::PenStyle line_style9 READ getLineStyle9 WRITE setLineStyle9)
82 
83  typedef QwtSymbol::Style QwtSymbolStyle;
84 
85  Q_ENUMS(QwtSymbolStyle)
86  Q_PROPERTY(QwtSymbolStyle line_marker1 READ getLineMarker1 WRITE setLineMarker1)
87  Q_PROPERTY(QwtSymbolStyle line_marker2 READ getLineMarker2 WRITE setLineMarker2)
88  Q_PROPERTY(QwtSymbolStyle line_marker3 READ getLineMarker3 WRITE setLineMarker3)
89  Q_PROPERTY(QwtSymbolStyle line_marker4 READ getLineMarker4 WRITE setLineMarker4)
90  Q_PROPERTY(QwtSymbolStyle line_marker5 READ getLineMarker5 WRITE setLineMarker5)
91  Q_PROPERTY(QwtSymbolStyle line_marker6 READ getLineMarker6 WRITE setLineMarker6)
92  Q_PROPERTY(QwtSymbolStyle line_marker7 READ getLineMarker7 WRITE setLineMarker7)
93  Q_PROPERTY(QwtSymbolStyle line_marker8 READ getLineMarker8 WRITE setLineMarker8)
94  Q_PROPERTY(QwtSymbolStyle line_marker9 READ getLineMarker9 WRITE setLineMarker9)
95 
96  Q_PROPERTY(int marker_alpha1 READ getMarkerAlpha1 WRITE setMarkerAlpha1)
97  Q_PROPERTY(int marker_alpha2 READ getMarkerAlpha2 WRITE setMarkerAlpha2)
98  Q_PROPERTY(int marker_alpha3 READ getMarkerAlpha3 WRITE setMarkerAlpha3)
99  Q_PROPERTY(int marker_alpha4 READ getMarkerAlpha4 WRITE setMarkerAlpha4)
100  Q_PROPERTY(int marker_alpha5 READ getMarkerAlpha5 WRITE setMarkerAlpha5)
101  Q_PROPERTY(int marker_alpha6 READ getMarkerAlpha6 WRITE setMarkerAlpha6)
102  Q_PROPERTY(int marker_alpha7 READ getMarkerAlpha7 WRITE setMarkerAlpha7)
103  Q_PROPERTY(int marker_alpha8 READ getMarkerAlpha8 WRITE setMarkerAlpha8)
104  Q_PROPERTY(int marker_alpha9 READ getMarkerAlpha9 WRITE setMarkerAlpha9)
105 
106  Q_PROPERTY(QColor zoomer_color READ getZoomerColor WRITE setZoomerColor)
107  Q_PROPERTY(QColor palette_color READ getPaletteColor WRITE setPaletteColor)
108  Q_PROPERTY(
110  Q_PROPERTY(
112  Q_PROPERTY(
114 
115 public:
116  DisplayPlot(int nplots, QWidget*);
117  ~DisplayPlot() override;
118 
119  void replot() override = 0;
120 
121  const QColor getLineColor1() const;
122  const QColor getLineColor2() const;
123  const QColor getLineColor3() const;
124  const QColor getLineColor4() const;
125  const QColor getLineColor5() const;
126  const QColor getLineColor6() const;
127  const QColor getLineColor7() const;
128  const QColor getLineColor8() const;
129  const QColor getLineColor9() const;
130 
131  int getLineWidth1() const;
132  int getLineWidth2() const;
133  int getLineWidth3() const;
134  int getLineWidth4() const;
135  int getLineWidth5() const;
136  int getLineWidth6() const;
137  int getLineWidth7() const;
138  int getLineWidth8() const;
139  int getLineWidth9() const;
140 
141  const Qt::PenStyle getLineStyle1() const;
142  const Qt::PenStyle getLineStyle2() const;
143  const Qt::PenStyle getLineStyle3() const;
144  const Qt::PenStyle getLineStyle4() const;
145  const Qt::PenStyle getLineStyle5() const;
146  const Qt::PenStyle getLineStyle6() const;
147  const Qt::PenStyle getLineStyle7() const;
148  const Qt::PenStyle getLineStyle8() const;
149  const Qt::PenStyle getLineStyle9() const;
150 
151  const QwtSymbol::Style getLineMarker1() const;
152  const QwtSymbol::Style getLineMarker2() const;
153  const QwtSymbol::Style getLineMarker3() const;
154  const QwtSymbol::Style getLineMarker4() const;
155  const QwtSymbol::Style getLineMarker5() const;
156  const QwtSymbol::Style getLineMarker6() const;
157  const QwtSymbol::Style getLineMarker7() const;
158  const QwtSymbol::Style getLineMarker8() const;
159  const QwtSymbol::Style getLineMarker9() const;
160 
161  int getMarkerAlpha1() const;
162  int getMarkerAlpha2() const;
163  int getMarkerAlpha3() const;
164  int getMarkerAlpha4() const;
165  int getMarkerAlpha5() const;
166  int getMarkerAlpha6() const;
167  int getMarkerAlpha7() const;
168  int getMarkerAlpha8() const;
169  int getMarkerAlpha9() const;
170 
171  QColor getZoomerColor() const;
172  QColor getPaletteColor() const;
173  int getAxisLabelFontSize(int axisId) const;
174  int getYaxisLabelFontSize() const;
175  int getXaxisLabelFontSize() const;
176  int getAxesLabelFontSize() const;
177 
178  // Make sure to create your won PlotNewData method in the derived
179  // class:
180  // void PlotNewData(...);
181 
182 public slots:
183  virtual void disableLegend();
184  virtual void setAxisLabels(bool en);
185  virtual void setYaxis(double min, double max);
186  virtual void setXaxis(double min, double max);
187  virtual void setLineLabel(unsigned int which, QString label);
188  virtual QString getLineLabel(unsigned int which);
189  virtual void setLineColor(unsigned int which, QColor color);
190  virtual QColor getLineColor(unsigned int which) const;
191  virtual void setLineWidth(unsigned int which, int width);
192  virtual int getLineWidth(unsigned int which) const;
193  virtual void setLineStyle(unsigned int which, Qt::PenStyle style);
194  virtual const Qt::PenStyle getLineStyle(unsigned int which) const;
195  virtual void setLineMarker(unsigned int which, QwtSymbol::Style marker);
196  virtual const QwtSymbol::Style getLineMarker(unsigned int which) const;
197  virtual void setMarkerAlpha(unsigned int which, int alpha);
198  virtual int getMarkerAlpha(unsigned int which) const;
199 
200  // Need a function for each curve for setting via stylesheet.
201  // Can't use preprocessor directives because we're inside a Q_OBJECT.
202  void setLineColor1(QColor);
203  void setLineColor2(QColor);
204  void setLineColor3(QColor);
205  void setLineColor4(QColor);
206  void setLineColor5(QColor);
207  void setLineColor6(QColor);
208  void setLineColor7(QColor);
209  void setLineColor8(QColor);
210  void setLineColor9(QColor);
211 
212  void setLineWidth1(int);
213  void setLineWidth2(int);
214  void setLineWidth3(int);
215  void setLineWidth4(int);
216  void setLineWidth5(int);
217  void setLineWidth6(int);
218  void setLineWidth7(int);
219  void setLineWidth8(int);
220  void setLineWidth9(int);
221 
222  void setLineStyle1(Qt::PenStyle);
223  void setLineStyle2(Qt::PenStyle);
224  void setLineStyle3(Qt::PenStyle);
225  void setLineStyle4(Qt::PenStyle);
226  void setLineStyle5(Qt::PenStyle);
227  void setLineStyle6(Qt::PenStyle);
228  void setLineStyle7(Qt::PenStyle);
229  void setLineStyle8(Qt::PenStyle);
230  void setLineStyle9(Qt::PenStyle);
231 
232  void setLineMarker1(QwtSymbol::Style);
233  void setLineMarker2(QwtSymbol::Style);
234  void setLineMarker3(QwtSymbol::Style);
235  void setLineMarker4(QwtSymbol::Style);
236  void setLineMarker5(QwtSymbol::Style);
237  void setLineMarker6(QwtSymbol::Style);
238  void setLineMarker7(QwtSymbol::Style);
239  void setLineMarker8(QwtSymbol::Style);
240  void setLineMarker9(QwtSymbol::Style);
241 
242  void setMarkerAlpha1(int);
243  void setMarkerAlpha2(int);
244  void setMarkerAlpha3(int);
245  void setMarkerAlpha4(int);
246  void setMarkerAlpha5(int);
247  void setMarkerAlpha6(int);
248  void setMarkerAlpha7(int);
249  void setMarkerAlpha8(int);
250  void setMarkerAlpha9(int);
251 
252  void setZoomerColor(QColor c);
253  void setPaletteColor(QColor c);
254  void setAxisLabelFontSize(int axisId, int fs);
255  void setYaxisLabelFontSize(int fs);
256  void setXaxisLabelFontSize(int fs);
257  void setAxesLabelFontSize(int fs);
258 
259  void setStop(bool on);
260 
261  void resizeSlot(QSize* s);
262 
263  // Because of the preprocessing of slots in QT, these are not
264  // easily separated by the version check. Make one for each
265  // version until it's worked out.
266  void onPickerPointSelected(const QwtDoublePoint& p);
267  void onPickerPointSelected6(const QPointF& p);
268 
269 signals:
270  void plotPointSelected(const QPointF p);
271 
272 protected slots:
273  virtual void legendEntryChecked(QwtPlotItem* plotItem, bool on);
274  virtual void legendEntryChecked(const QVariant& plotItem, bool on, int index);
275 
276 protected:
277  unsigned int d_nplots;
278  std::vector<QwtPlotCurve*> d_plot_curve;
279 
280  QwtPlotPanner* d_panner;
281  QwtPlotZoomer* d_zoomer;
282 
284  QwtPlotMagnifier* d_magnifier;
285 
286  int64_t d_numPoints;
287 
288  bool d_stop;
289 
290  QList<QColor> d_trace_colors;
291 
293 };
294 
295 #endif /* DOMAIN_DISPLAY_PLOT_H */
DisplayPlot::setMarkerAlpha4
void setMarkerAlpha4(int)
DisplayPlot::setLineStyle1
void setLineStyle1(Qt::PenStyle)
DisplayPlot::getLineMarker6
const QwtSymbol::Style getLineMarker6() const
DisplayPlot::setXaxisLabelFontSize
void setXaxisLabelFontSize(int fs)
DisplayPlot::setLineStyle7
void setLineStyle7(Qt::PenStyle)
DisplayPlot::setLineMarker9
void setLineMarker9(QwtSymbol::Style)
DisplayPlot::d_nplots
unsigned int d_nplots
Definition: DisplayPlot.h:277
DisplayPlot::setLineMarker1
void setLineMarker1(QwtSymbol::Style)
DisplayPlot::palette_color
QColor palette_color
Definition: DisplayPlot.h:107
DisplayPlot::marker_alpha5
int marker_alpha5
Definition: DisplayPlot.h:100
DisplayPlot::line_marker7
QwtSymbolStyle line_marker7
Definition: DisplayPlot.h:92
DisplayPlot::setLineWidth7
void setLineWidth7(int)
DisplayPlot::getLineColor
virtual QColor getLineColor(unsigned int which) const
DisplayPlot::line_marker8
QwtSymbolStyle line_marker8
Definition: DisplayPlot.h:93
DisplayPlot::setLineStyle2
void setLineStyle2(Qt::PenStyle)
DisplayPlot::xaxis_label_font_size
int xaxis_label_font_size
Definition: DisplayPlot.h:111
DisplayPlot::getAxisLabelFontSize
int getAxisLabelFontSize(int axisId) const
DisplayPlot::getLineMarker3
const QwtSymbol::Style getLineMarker3() const
DisplayPlot::setLineColor
virtual void setLineColor(unsigned int which, QColor color)
DisplayPlot::getLineWidth9
int getLineWidth9() const
DisplayPlot::getLineStyle4
const Qt::PenStyle getLineStyle4() const
DisplayPlot::setMarkerAlpha1
void setMarkerAlpha1(int)
DisplayPlot::setAxisLabelFontSize
void setAxisLabelFontSize(int axisId, int fs)
DisplayPlot::line_width2
int line_width2
Definition: DisplayPlot.h:64
DisplayPlot::line_style9
Qt::PenStyle line_style9
Definition: DisplayPlot.h:81
DisplayPlot::getAxesLabelFontSize
int getAxesLabelFontSize() const
DisplayPlot::onPickerPointSelected6
void onPickerPointSelected6(const QPointF &p)
DisplayPlot::replot
void replot() override=0
DisplayPlot::line_color6
QColor line_color6
Definition: DisplayPlot.h:58
DisplayPlot::getMarkerAlpha
virtual int getMarkerAlpha(unsigned int which) const
DisplayPlot::getLineMarker
virtual const QwtSymbol::Style getLineMarker(unsigned int which) const
DisplayPlot::d_autoscale_state
bool d_autoscale_state
Definition: DisplayPlot.h:292
DisplayPlot::setLineWidth6
void setLineWidth6(int)
DisplayPlot::getLineWidth8
int getLineWidth8() const
DisplayPlot::setLineColor4
void setLineColor4(QColor)
DisplayPlot::setLineWidth9
void setLineWidth9(int)
DisplayPlot::getLineMarker2
const QwtSymbol::Style getLineMarker2() const
DisplayPlot::marker_alpha2
int marker_alpha2
Definition: DisplayPlot.h:97
gr::trellis::min
float min(float a, float b)
DisplayPlot::setLineMarker4
void setLineMarker4(QwtSymbol::Style)
DisplayPlot::getMarkerAlpha8
int getMarkerAlpha8() const
DisplayPlot::line_marker2
QwtSymbolStyle line_marker2
Definition: DisplayPlot.h:87
DisplayPlot::line_style4
Qt::PenStyle line_style4
Definition: DisplayPlot.h:76
DisplayPlot::line_width8
int line_width8
Definition: DisplayPlot.h:70
DisplayPlot::d_zoomer
QwtPlotZoomer * d_zoomer
Definition: DisplayPlot.h:281
DisplayPlot::getMarkerAlpha6
int getMarkerAlpha6() const
DisplayPlot::line_color8
QColor line_color8
Definition: DisplayPlot.h:60
DisplayPlot::setLineMarker5
void setLineMarker5(QwtSymbol::Style)
DisplayPlot::line_marker1
QwtSymbolStyle line_marker1
Definition: DisplayPlot.h:86
DisplayPlot::setLineColor3
void setLineColor3(QColor)
DisplayPlot::getMarkerAlpha9
int getMarkerAlpha9() const
DisplayPlot::setMarkerAlpha9
void setMarkerAlpha9(int)
DisplayPlot::setLineWidth2
void setLineWidth2(int)
DisplayPlot::getLineColor5
const QColor getLineColor5() const
DisplayPlot::line_marker6
QwtSymbolStyle line_marker6
Definition: DisplayPlot.h:91
DisplayPlot::marker_alpha8
int marker_alpha8
Definition: DisplayPlot.h:103
DisplayPlot::setLineMarker7
void setLineMarker7(QwtSymbol::Style)
DisplayPlot::line_width1
int line_width1
Definition: DisplayPlot.h:63
DisplayPlot::onPickerPointSelected
void onPickerPointSelected(const QwtDoublePoint &p)
DisplayPlot::setYaxis
virtual void setYaxis(double min, double max)
DisplayPlot::d_plot_curve
std::vector< QwtPlotCurve * > d_plot_curve
Definition: DisplayPlot.h:278
DisplayPlot::setLineWidth1
void setLineWidth1(int)
DisplayPlot::getLineWidth5
int getLineWidth5() const
DisplayPlot::setPaletteColor
void setPaletteColor(QColor c)
DisplayPlot::getLineWidth1
int getLineWidth1() const
DisplayPlot::setLineStyle9
void setLineStyle9(Qt::PenStyle)
DisplayPlot::line_color9
QColor line_color9
Definition: DisplayPlot.h:61
DisplayPlot::line_marker4
QwtSymbolStyle line_marker4
Definition: DisplayPlot.h:89
DisplayPlot::getLineWidth4
int getLineWidth4() const
DisplayPlot::setLineLabel
virtual void setLineLabel(unsigned int which, QString label)
DisplayPlot::line_style7
Qt::PenStyle line_style7
Definition: DisplayPlot.h:79
DisplayPlot::legendEntryChecked
virtual void legendEntryChecked(QwtPlotItem *plotItem, bool on)
DisplayPlot::getLineLabel
virtual QString getLineLabel(unsigned int which)
DisplayPlot::d_magnifier
QwtPlotMagnifier * d_magnifier
Definition: DisplayPlot.h:284
DisplayPlot::d_numPoints
int64_t d_numPoints
Definition: DisplayPlot.h:286
DisplayPlot::resizeSlot
void resizeSlot(QSize *s)
utils.h
DisplayPlot::getYaxisLabelFontSize
int getYaxisLabelFontSize() const
DisplayPlot::setMarkerAlpha2
void setMarkerAlpha2(int)
DisplayPlot::marker_alpha3
int marker_alpha3
Definition: DisplayPlot.h:98
DisplayPlot::getLineStyle2
const Qt::PenStyle getLineStyle2() const
DisplayPlot::setLineMarker3
void setLineMarker3(QwtSymbol::Style)
DisplayPlot::setZoomerColor
void setZoomerColor(QColor c)
DisplayPlot::setLineColor7
void setLineColor7(QColor)
DisplayPlot::line_marker3
QwtSymbolStyle line_marker3
Definition: DisplayPlot.h:88
DisplayPlot::getLineColor4
const QColor getLineColor4() const
DisplayPlot::getLineStyle
virtual const Qt::PenStyle getLineStyle(unsigned int which) const
DisplayPlot
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:49
DisplayPlot::plotPointSelected
void plotPointSelected(const QPointF p)
DisplayPlot::getMarkerAlpha1
int getMarkerAlpha1() const
DisplayPlot::getLineWidth6
int getLineWidth6() const
DisplayPlot::getLineStyle7
const Qt::PenStyle getLineStyle7() const
DisplayPlot::setLineColor5
void setLineColor5(QColor)
DisplayPlot::line_width9
int line_width9
Definition: DisplayPlot.h:71
DisplayPlot::line_color7
QColor line_color7
Definition: DisplayPlot.h:59
DisplayPlot::getLineColor8
const QColor getLineColor8() const
DisplayPlot::getLineWidth2
int getLineWidth2() const
DisplayPlot::getLineColor3
const QColor getLineColor3() const
DisplayPlot::line_marker9
QwtSymbolStyle line_marker9
Definition: DisplayPlot.h:94
DisplayPlot::getLineColor7
const QColor getLineColor7() const
DisplayPlot::getLineStyle8
const Qt::PenStyle getLineStyle8() const
DisplayPlot::setMarkerAlpha5
void setMarkerAlpha5(int)
DisplayPlot::setMarkerAlpha
virtual void setMarkerAlpha(unsigned int which, int alpha)
DisplayPlot::getLineWidth
virtual int getLineWidth(unsigned int which) const
DisplayPlot::d_trace_colors
QList< QColor > d_trace_colors
Definition: DisplayPlot.h:290
DisplayPlot::setLineStyle3
void setLineStyle3(Qt::PenStyle)
DisplayPlot::getLineStyle3
const Qt::PenStyle getLineStyle3() const
DisplayPlot::line_color1
QColor line_color1
Definition: DisplayPlot.h:53
DisplayPlot::setLineMarker2
void setLineMarker2(QwtSymbol::Style)
DisplayPlot::setAxesLabelFontSize
void setAxesLabelFontSize(int fs)
DisplayPlot::setLineWidth3
void setLineWidth3(int)
DisplayPlot::line_style3
Qt::PenStyle line_style3
Definition: DisplayPlot.h:75
DisplayPlot::setLineWidth
virtual void setLineWidth(unsigned int which, int width)
DisplayPlot::d_stop
bool d_stop
Definition: DisplayPlot.h:288
DisplayPlot::getMarkerAlpha7
int getMarkerAlpha7() const
DisplayPlot::setLineColor2
void setLineColor2(QColor)
DisplayPlot::getLineColor1
const QColor getLineColor1() const
DisplayPlot::getLineColor9
const QColor getLineColor9() const
DisplayPlot::line_width6
int line_width6
Definition: DisplayPlot.h:68
DisplayPlot::getMarkerAlpha4
int getMarkerAlpha4() const
DisplayPlot::line_color5
QColor line_color5
Definition: DisplayPlot.h:57
DisplayPlot::line_style5
Qt::PenStyle line_style5
Definition: DisplayPlot.h:77
DisplayPlot::setLineColor1
void setLineColor1(QColor)
DisplayPlot::getLineMarker5
const QwtSymbol::Style getLineMarker5() const
DisplayPlot::setLineStyle4
void setLineStyle4(Qt::PenStyle)
DisplayPlot::setMarkerAlpha3
void setMarkerAlpha3(int)
QColorList
QList< QColor > QColorList
Definition: DisplayPlot.h:35
DisplayPlot::getPaletteColor
QColor getPaletteColor() const
DisplayPlot::line_color2
QColor line_color2
Definition: DisplayPlot.h:54
DisplayPlot::d_picker
QwtDblClickPlotPicker * d_picker
Definition: DisplayPlot.h:283
DisplayPlot::line_style1
Qt::PenStyle line_style1
Definition: DisplayPlot.h:73
DisplayPlot::line_width7
int line_width7
Definition: DisplayPlot.h:69
DisplayPlot::setLineWidth5
void setLineWidth5(int)
DisplayPlot::getLineWidth3
int getLineWidth3() const
DisplayPlot::getLineColor6
const QColor getLineColor6() const
DisplayPlot::marker_alpha9
int marker_alpha9
Definition: DisplayPlot.h:104
DisplayPlot::setLineWidth8
void setLineWidth8(int)
DisplayPlot::setLineColor9
void setLineColor9(QColor)
DisplayPlot::setYaxisLabelFontSize
void setYaxisLabelFontSize(int fs)
DisplayPlot::getLineWidth7
int getLineWidth7() const
DisplayPlot::marker_alpha4
int marker_alpha4
Definition: DisplayPlot.h:99
DisplayPlot::getMarkerAlpha3
int getMarkerAlpha3() const
DisplayPlot::axes_label_font_size
int axes_label_font_size
Definition: DisplayPlot.h:113
QwtDblClickPlotPicker
Definition: utils.h:29
DisplayPlot::setLineMarker8
void setLineMarker8(QwtSymbol::Style)
DisplayPlot::setLineStyle
virtual void setLineStyle(unsigned int which, Qt::PenStyle style)
DisplayPlot::setMarkerAlpha7
void setMarkerAlpha7(int)
DisplayPlot::getLineMarker8
const QwtSymbol::Style getLineMarker8() const
DisplayPlot::getMarkerAlpha5
int getMarkerAlpha5() const
DisplayPlot::getXaxisLabelFontSize
int getXaxisLabelFontSize() const
DisplayPlot::getLineMarker1
const QwtSymbol::Style getLineMarker1() const
DisplayPlot::getLineStyle9
const Qt::PenStyle getLineStyle9() const
DisplayPlot::getMarkerAlpha2
int getMarkerAlpha2() const
DisplayPlot::line_style6
Qt::PenStyle line_style6
Definition: DisplayPlot.h:78
DisplayPlot::getLineMarker9
const QwtSymbol::Style getLineMarker9() const
DisplayPlot::disableLegend
virtual void disableLegend()
DisplayPlot::zoomer_color
QColor zoomer_color
Definition: DisplayPlot.h:106
DisplayPlot::getLineStyle6
const Qt::PenStyle getLineStyle6() const
DisplayPlot::line_style8
Qt::PenStyle line_style8
Definition: DisplayPlot.h:80
DisplayPlot::line_width4
int line_width4
Definition: DisplayPlot.h:66
DisplayPlot::getZoomerColor
QColor getZoomerColor() const
DisplayPlot::line_width3
int line_width3
Definition: DisplayPlot.h:65
DisplayPlot::getLineStyle5
const Qt::PenStyle getLineStyle5() const
DisplayPlot::d_panner
QwtPlotPanner * d_panner
Definition: DisplayPlot.h:280
DisplayPlot::setAxisLabels
virtual void setAxisLabels(bool en)
DisplayPlot::line_color4
QColor line_color4
Definition: DisplayPlot.h:56
DisplayPlot::line_marker5
QwtSymbolStyle line_marker5
Definition: DisplayPlot.h:90
DisplayPlot::marker_alpha1
int marker_alpha1
Definition: DisplayPlot.h:96
DisplayPlot::setLineStyle8
void setLineStyle8(Qt::PenStyle)
DisplayPlot::line_width5
int line_width5
Definition: DisplayPlot.h:67
DisplayPlot::yaxis_label_font_size
int yaxis_label_font_size
Definition: DisplayPlot.h:109
DisplayPlot::setMarkerAlpha8
void setMarkerAlpha8(int)
DisplayPlot::setLineWidth4
void setLineWidth4(int)
DisplayPlot::setLineColor6
void setLineColor6(QColor)
DisplayPlot::setStop
void setStop(bool on)
DisplayPlot::getLineStyle1
const Qt::PenStyle getLineStyle1() const
DisplayPlot::getLineColor2
const QColor getLineColor2() const
DisplayPlot::setLineStyle6
void setLineStyle6(Qt::PenStyle)
DisplayPlot::setLineColor8
void setLineColor8(QColor)
DisplayPlot::marker_alpha6
int marker_alpha6
Definition: DisplayPlot.h:101
DisplayPlot::setXaxis
virtual void setXaxis(double min, double max)
DisplayPlot::getLineMarker4
const QwtSymbol::Style getLineMarker4() const
DisplayPlot::setMarkerAlpha6
void setMarkerAlpha6(int)
DisplayPlot::setLineMarker
virtual void setLineMarker(unsigned int which, QwtSymbol::Style marker)
DisplayPlot::setLineMarker6
void setLineMarker6(QwtSymbol::Style)
DisplayPlot::setLineStyle5
void setLineStyle5(Qt::PenStyle)
DisplayPlot::line_style2
Qt::PenStyle line_style2
Definition: DisplayPlot.h:74
DisplayPlot::line_color3
QColor line_color3
Definition: DisplayPlot.h:55
DisplayPlot::marker_alpha7
int marker_alpha7
Definition: DisplayPlot.h:102
DisplayPlot::getLineMarker7
const QwtSymbol::Style getLineMarker7() const