23 #ifndef DOMAIN_DISPLAY_PLOT_H 24 #define DOMAIN_DISPLAY_PLOT_H 27 #include <qwt_legend.h> 28 #include <qwt_painter.h> 30 #include <qwt_plot_canvas.h> 31 #include <qwt_plot_curve.h> 32 #include <qwt_plot_magnifier.h> 33 #include <qwt_plot_marker.h> 34 #include <qwt_plot_panner.h> 35 #include <qwt_plot_zoomer.h> 36 #include <qwt_scale_engine.h> 37 #include <qwt_scale_widget.h> 38 #include <qwt_symbol.h> 43 #if QWT_VERSION >= 0x060000 44 #include <qwt_compat.h> 50 #if QWT_VERSION < 0x060100 51 #include <qwt_legend_item.h> 53 #include <qwt_legend_data.h> 54 #include <qwt_legend_label.h> 95 typedef QwtSymbol::Style QwtSymbolStyle;
97 Q_ENUMS(QwtSymbolStyle)
131 virtual
void replot() = 0;
198 virtual
void setXaxis(
double min,
double max);
199 virtual
void setLineLabel(
unsigned int which, QString label);
201 virtual
void setLineColor(
unsigned int which, QColor color);
203 virtual
void setLineWidth(
unsigned int which,
int width);
205 virtual
void setLineStyle(
unsigned int which, Qt::PenStyle style);
206 virtual const Qt::PenStyle
getLineStyle(
unsigned int which) const;
207 virtual
void setLineMarker(
unsigned int which, QwtSymbol::Style marker);
208 virtual const QwtSymbol::Style
getLineMarker(
unsigned int which) const;
214 void setLineColor1(QColor);
int line_width3
Definition: DisplayPlot.h:77
void setLineStyle6(Qt::PenStyle)
int getLineWidth8() const
const QwtSymbol::Style getLineMarker2() const
void setLineStyle2(Qt::PenStyle)
virtual void setLineMarker(unsigned int which, QwtSymbol::Style marker)
const Qt::PenStyle getLineStyle4() const
QColor line_color3
Definition: DisplayPlot.h:67
Qt::PenStyle line_style2
Definition: DisplayPlot.h:86
int line_width5
Definition: DisplayPlot.h:79
void setMarkerAlpha4(int)
QColor line_color6
Definition: DisplayPlot.h:70
unsigned int d_nplots
Definition: DisplayPlot.h:289
void setLineMarker1(QwtSymbol::Style)
QColor palette_color
Definition: DisplayPlot.h:119
QwtSymbolStyle line_marker7
Definition: DisplayPlot.h:104
virtual QColor getLineColor(unsigned int which) const
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
virtual void setXaxis(double min, double max)
int xaxis_label_font_size
Definition: DisplayPlot.h:123
QList< QColor > QColorList
Definition: DisplayPlot.h:47
QwtSymbolStyle line_marker6
Definition: DisplayPlot.h:103
const QwtSymbol::Style getLineMarker4() const
const QwtSymbol::Style getLineMarker3() const
float min(float a, float b)
int getMarkerAlpha8() const
virtual void setYaxis(double min, double max)
int getAxesLabelFontSize() const
int getLineWidth5() const
QwtPlotZoomer * d_zoomer
Definition: DisplayPlot.h:293
void setPaletteColor(QColor c)
void setLineStyle9(Qt::PenStyle)
int getLineWidth1() const
void setLineStyle7(Qt::PenStyle)
void setLineMarker5(QwtSymbol::Style)
int marker_alpha5
Definition: DisplayPlot.h:112
QwtSymbolStyle line_marker1
Definition: DisplayPlot.h:98
QwtSymbolStyle line_marker8
Definition: DisplayPlot.h:105
Qt::PenStyle line_style7
Definition: DisplayPlot.h:91
virtual void legendEntryChecked(QwtPlotItem *plotItem, bool on)
virtual void setLineColor(unsigned int which, QColor color)
int getLineWidth9() const
QwtPlotMagnifier * d_magnifier
Definition: DisplayPlot.h:296
QwtSymbolStyle line_marker2
Definition: DisplayPlot.h:99
int marker_alpha8
Definition: DisplayPlot.h:115
void setAxisLabelFontSize(int axisId, int fs)
int line_width8
Definition: DisplayPlot.h:82
Qt::PenStyle line_style4
Definition: DisplayPlot.h:88
Qt::PenStyle line_style9
Definition: DisplayPlot.h:93
int marker_alpha3
Definition: DisplayPlot.h:110
void onPickerPointSelected6(const QPointF &p)
int getMarkerAlpha6() const
std::vector< QwtPlotCurve * > d_plot_curve
Definition: DisplayPlot.h:290
const Qt::PenStyle getLineStyle7() const
int line_width9
Definition: DisplayPlot.h:83
void setLineColor5(QColor)
void setMarkerAlpha9(int)
const QColor getLineColor3() const
void setLineColor4(QColor)
QwtSymbolStyle line_marker4
Definition: DisplayPlot.h:101
const QColor getLineColor8() const
int getLineWidth4() const
int marker_alpha2
Definition: DisplayPlot.h:109
void setLineMarker4(QwtSymbol::Style)
void resizeSlot(QSize *s)
const Qt::PenStyle getLineStyle2() const
int line_width1
Definition: DisplayPlot.h:75
QwtSymbolStyle line_marker3
Definition: DisplayPlot.h:100
QList< QColor > d_trace_colors
Definition: DisplayPlot.h:302
void setZoomerColor(QColor c)
QColor line_color1
Definition: DisplayPlot.h:65
QColor line_color8
Definition: DisplayPlot.h:72
QColor line_color9
Definition: DisplayPlot.h:73
void plotPointSelected(const QPointF p)
int getMarkerAlpha7() const
int getMarkerAlpha9() const
QColor line_color7
Definition: DisplayPlot.h:71
Qt::PenStyle line_style3
Definition: DisplayPlot.h:87
const QColor getLineColor5() const
void setLineColor3(QColor)
virtual void setLineLabel(unsigned int which, QString label)
virtual QString getLineLabel(unsigned int which)
const QColor getLineColor9() const
void setLineMarker7(QwtSymbol::Style)
int64_t d_numPoints
Definition: DisplayPlot.h:298
void setMarkerAlpha2(int)
void setLineMarker3(QwtSymbol::Style)
void onPickerPointSelected(const QwtDoublePoint &p)
void setLineColor7(QColor)
QColor line_color5
Definition: DisplayPlot.h:69
void setLineMarker2(QwtSymbol::Style)
void setLineStyle3(Qt::PenStyle)
const QwtSymbol::Style getLineMarker5() const
void setLineStyle4(Qt::PenStyle)
bool d_stop
Definition: DisplayPlot.h:300
int getLineWidth2() const
QwtDblClickPlotPicker * d_picker
Definition: DisplayPlot.h:295
const QColor getLineColor7() const
int getYaxisLabelFontSize() const
void setYaxisLabelFontSize(int fs)
virtual void setMarkerAlpha(unsigned int which, int alpha)
virtual int getLineWidth(unsigned int which) const
const Qt::PenStyle getLineStyle3() const
const QColor getLineColor4() const
int getMarkerAlpha3() const
int marker_alpha4
Definition: DisplayPlot.h:111
virtual const Qt::PenStyle getLineStyle(unsigned int which) const
void setAxesLabelFontSize(int fs)
int getMarkerAlpha1() const
int getLineWidth6() const
int axes_label_font_size
Definition: DisplayPlot.h:125
virtual void setLineWidth(unsigned int which, int width)
virtual void setLineStyle(unsigned int which, Qt::PenStyle style)
QwtSymbolStyle line_marker9
Definition: DisplayPlot.h:106
const QColor getLineColor1() const
int getLineWidth3() const
Qt::PenStyle line_style6
Definition: DisplayPlot.h:90
int marker_alpha9
Definition: DisplayPlot.h:116
virtual void disableLegend()
void setLineColor9(QColor)
const Qt::PenStyle getLineStyle8() const
void setMarkerAlpha5(int)
QColor zoomer_color
Definition: DisplayPlot.h:118
Qt::PenStyle line_style5
Definition: DisplayPlot.h:89
int getLineWidth7() const
Qt::PenStyle line_style8
Definition: DisplayPlot.h:92
QColor getZoomerColor() const
const Qt::PenStyle getLineStyle5() const
virtual void setAxisLabels(bool en)
void setMarkerAlpha3(int)
void setLineColor2(QColor)
Qt::PenStyle line_style1
Definition: DisplayPlot.h:85
const QColor getLineColor6() const
const Qt::PenStyle getLineStyle9() const
int getMarkerAlpha2() const
void setMarkerAlpha8(int)
void setLineColor6(QColor)
int line_width6
Definition: DisplayPlot.h:80
const QwtSymbol::Style getLineMarker9() const
const Qt::PenStyle getLineStyle1() const
int getMarkerAlpha4() const
void setLineColor8(QColor)
void setLineColor1(QColor)
int line_width4
Definition: DisplayPlot.h:78
QwtPlotPanner * d_panner
Definition: DisplayPlot.h:292
QwtSymbolStyle line_marker5
Definition: DisplayPlot.h:102
void setLineStyle8(Qt::PenStyle)
int marker_alpha1
Definition: DisplayPlot.h:108
void setMarkerAlpha7(int)
int marker_alpha7
Definition: DisplayPlot.h:114
QColor line_color2
Definition: DisplayPlot.h:66
QColor getPaletteColor() const
int yaxis_label_font_size
Definition: DisplayPlot.h:121
int line_width7
Definition: DisplayPlot.h:81
const QwtSymbol::Style getLineMarker1() const
void setXaxisLabelFontSize(int fs)
const QColor getLineColor2() const
int marker_alpha6
Definition: DisplayPlot.h:113
QColor line_color4
Definition: DisplayPlot.h:68
int getAxisLabelFontSize(int axisId) const
void setMarkerAlpha6(int)
void setLineMarker8(QwtSymbol::Style)
void setLineMarker6(QwtSymbol::Style)
void setLineStyle5(Qt::PenStyle)
void setMarkerAlpha1(int)
const QwtSymbol::Style getLineMarker8() const
int getMarkerAlpha5() const
const QwtSymbol::Style getLineMarker7() const
int getXaxisLabelFontSize() const
int line_width2
Definition: DisplayPlot.h:76
void setLineStyle1(Qt::PenStyle)
virtual int getMarkerAlpha(unsigned int which) const
const QwtSymbol::Style getLineMarker6() const
virtual const QwtSymbol::Style getLineMarker(unsigned int which) const
const Qt::PenStyle getLineStyle6() const
void setLineMarker9(QwtSymbol::Style)
bool d_autoscale_state
Definition: DisplayPlot.h:304