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 #include <qwt_compat.h>
38 #if QWT_VERSION < 0x060100
39 #include <qwt_legend_item.h>
41 #include <qwt_legend_data.h>
42 #include <qwt_legend_label.h>
83 typedef QwtSymbol::Style QwtSymbolStyle;
85 Q_ENUMS(QwtSymbolStyle)
QList< QColor > QColorList
Definition: DisplayPlot.h:35
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:50
void setMarkerAlpha2(int)
const QwtSymbol::Style getLineMarker1() const
int axes_label_font_size
Definition: DisplayPlot.h:113
void plotPointSelected(const QPointF p)
void setLineStyle4(Qt::PenStyle)
void setXaxisLabelFontSize(int fs)
void setLineMarker3(QwtSymbol::Style)
QwtSymbolStyle line_marker2
Definition: DisplayPlot.h:87
QColor line_color8
Definition: DisplayPlot.h:60
void onPickerPointSelected(const QwtDoublePoint &p)
void setAxesLabelFontSize(int fs)
void setLineMarker2(QwtSymbol::Style)
void setLineColor7(QColor)
const Qt::PenStyle getLineStyle4() const
const Qt::PenStyle getLineStyle1() const
QColor line_color6
Definition: DisplayPlot.h:58
virtual void setLineStyle(unsigned int which, Qt::PenStyle style)
virtual const QwtSymbol::Style getLineMarker(unsigned int which) const
const QColor getLineColor7() const
void setLineStyle3(Qt::PenStyle)
QColor line_color3
Definition: DisplayPlot.h:55
void setLineMarker8(QwtSymbol::Style)
QwtSymbolStyle line_marker8
Definition: DisplayPlot.h:93
QColor palette_color
Definition: DisplayPlot.h:107
const Qt::PenStyle getLineStyle8() const
const QColor getLineColor8() const
QwtSymbolStyle line_marker5
Definition: DisplayPlot.h:90
const QwtSymbol::Style getLineMarker8() const
void setPaletteColor(QColor c)
const QColor getLineColor6() const
int getMarkerAlpha5() const
int line_width8
Definition: DisplayPlot.h:70
int getLineWidth2() const
QColor line_color9
Definition: DisplayPlot.h:61
int marker_alpha7
Definition: DisplayPlot.h:102
void setLineColor9(QColor)
int line_width7
Definition: DisplayPlot.h:69
const QColor getLineColor5() const
void onPickerPointSelected6(const QPointF &p)
int getMarkerAlpha8() const
void setLineColor1(QColor)
int line_width3
Definition: DisplayPlot.h:65
QwtSymbolStyle line_marker1
Definition: DisplayPlot.h:86
QwtPlotPanner * d_panner
Definition: DisplayPlot.h:280
QwtPlotMagnifier * d_magnifier
Definition: DisplayPlot.h:284
QColor line_color2
Definition: DisplayPlot.h:54
const QwtSymbol::Style getLineMarker2() const
void setLineStyle5(Qt::PenStyle)
void setMarkerAlpha7(int)
int getLineWidth6() const
QColor line_color5
Definition: DisplayPlot.h:57
void setLineMarker9(QwtSymbol::Style)
virtual void setAxisLabels(bool en)
void setMarkerAlpha1(int)
Qt::PenStyle line_style2
Definition: DisplayPlot.h:74
int marker_alpha1
Definition: DisplayPlot.h:96
const QColor getLineColor4() const
void setLineColor8(QColor)
Qt::PenStyle line_style1
Definition: DisplayPlot.h:73
Qt::PenStyle line_style3
Definition: DisplayPlot.h:75
void setLineMarker6(QwtSymbol::Style)
const QColor getLineColor9() const
void setLineColor3(QColor)
int marker_alpha8
Definition: DisplayPlot.h:103
int marker_alpha6
Definition: DisplayPlot.h:101
bool d_stop
Definition: DisplayPlot.h:288
int getLineWidth4() const
virtual int getLineWidth(unsigned int which) const
int line_width5
Definition: DisplayPlot.h:67
const QwtSymbol::Style getLineMarker9() const
void setMarkerAlpha9(int)
void setLineColor5(QColor)
int xaxis_label_font_size
Definition: DisplayPlot.h:111
void setLineStyle7(Qt::PenStyle)
void setLineStyle2(Qt::PenStyle)
const Qt::PenStyle getLineStyle7() const
int getMarkerAlpha4() const
const Qt::PenStyle getLineStyle9() const
int getLineWidth7() const
const Qt::PenStyle getLineStyle3() const
const QwtSymbol::Style getLineMarker6() const
int marker_alpha9
Definition: DisplayPlot.h:104
virtual void setLineLabel(unsigned int which, QString label)
QColor line_color7
Definition: DisplayPlot.h:59
int getAxisLabelFontSize(int axisId) const
Qt::PenStyle line_style9
Definition: DisplayPlot.h:81
int getMarkerAlpha7() const
virtual const Qt::PenStyle getLineStyle(unsigned int which) const
void setLineStyle9(Qt::PenStyle)
virtual void setMarkerAlpha(unsigned int which, int alpha)
virtual QString getLineLabel(unsigned int which)
const QwtSymbol::Style getLineMarker5() const
QwtSymbolStyle line_marker3
Definition: DisplayPlot.h:88
virtual void setYaxis(double min, double max)
void setYaxisLabelFontSize(int fs)
QwtDblClickPlotPicker * d_picker
Definition: DisplayPlot.h:283
QColor line_color1
Definition: DisplayPlot.h:53
Qt::PenStyle line_style4
Definition: DisplayPlot.h:76
virtual void legendEntryChecked(QwtPlotItem *plotItem, bool on)
virtual void setLineMarker(unsigned int which, QwtSymbol::Style marker)
const QwtSymbol::Style getLineMarker7() const
void setLineStyle8(Qt::PenStyle)
int line_width6
Definition: DisplayPlot.h:68
const QColor getLineColor2() const
const QColor getLineColor1() const
bool d_autoscale_state
Definition: DisplayPlot.h:292
Qt::PenStyle line_style6
Definition: DisplayPlot.h:78
void setLineColor6(QColor)
void setLineMarker7(QwtSymbol::Style)
int marker_alpha5
Definition: DisplayPlot.h:100
QwtSymbolStyle line_marker7
Definition: DisplayPlot.h:92
void setAxisLabelFontSize(int axisId, int fs)
int getMarkerAlpha6() const
QwtSymbolStyle line_marker9
Definition: DisplayPlot.h:94
int getLineWidth1() const
int marker_alpha2
Definition: DisplayPlot.h:97
QColor getPaletteColor() const
int yaxis_label_font_size
Definition: DisplayPlot.h:109
int getMarkerAlpha1() const
int getLineWidth8() const
void setLineColor2(QColor)
void setLineMarker5(QwtSymbol::Style)
virtual void setXaxis(double min, double max)
const Qt::PenStyle getLineStyle2() const
int marker_alpha3
Definition: DisplayPlot.h:98
Qt::PenStyle line_style5
Definition: DisplayPlot.h:77
int line_width4
Definition: DisplayPlot.h:66
virtual void setLineColor(unsigned int which, QColor color)
int getAxesLabelFontSize() const
void setMarkerAlpha3(int)
virtual QColor getLineColor(unsigned int which) const
const Qt::PenStyle getLineStyle6() const
void setLineColor4(QColor)
QwtSymbolStyle line_marker6
Definition: DisplayPlot.h:91
virtual void disableLegend()
int getMarkerAlpha9() const
const QColor getLineColor3() const
unsigned int d_nplots
Definition: DisplayPlot.h:277
QColor getZoomerColor() const
void setMarkerAlpha4(int)
int getXaxisLabelFontSize() const
QColor line_color4
Definition: DisplayPlot.h:56
void setMarkerAlpha5(int)
QColor zoomer_color
Definition: DisplayPlot.h:106
int line_width9
Definition: DisplayPlot.h:71
int64_t d_numPoints
Definition: DisplayPlot.h:286
QList< QColor > d_trace_colors
Definition: DisplayPlot.h:290
QwtPlotZoomer * d_zoomer
Definition: DisplayPlot.h:281
int line_width2
Definition: DisplayPlot.h:64
void setLineStyle1(Qt::PenStyle)
QwtSymbolStyle line_marker4
Definition: DisplayPlot.h:89
int getLineWidth5() const
const QwtSymbol::Style getLineMarker4() const
int marker_alpha4
Definition: DisplayPlot.h:99
int getLineWidth9() const
int getMarkerAlpha3() const
int getLineWidth3() const
void setZoomerColor(QColor c)
Qt::PenStyle line_style8
Definition: DisplayPlot.h:80
void resizeSlot(QSize *s)
void setMarkerAlpha8(int)
void setMarkerAlpha6(int)
int getYaxisLabelFontSize() const
void setLineStyle6(Qt::PenStyle)
virtual void setLineWidth(unsigned int which, int width)
const QwtSymbol::Style getLineMarker3() const
void setLineMarker1(QwtSymbol::Style)
virtual int getMarkerAlpha(unsigned int which) const
int line_width1
Definition: DisplayPlot.h:63
int getMarkerAlpha2() const
std::vector< QwtPlotCurve * > d_plot_curve
Definition: DisplayPlot.h:278
Qt::PenStyle line_style7
Definition: DisplayPlot.h:79
void setLineMarker4(QwtSymbol::Style)
const Qt::PenStyle getLineStyle5() const
float min(float a, float b)