GNU Radio C++ API Reference: DisplayPlot.h Source File

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

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