23 #ifndef DOMAIN_DISPLAY_PLOT_H
24 #define DOMAIN_DISPLAY_PLOT_H
30 #include <qwt_painter.h>
31 #include <qwt_plot_canvas.h>
32 #include <qwt_plot_curve.h>
33 #include <qwt_scale_engine.h>
34 #include <qwt_scale_widget.h>
35 #include <qwt_plot_zoomer.h>
36 #include <qwt_plot_panner.h>
37 #include <qwt_plot_magnifier.h>
38 #include <qwt_plot_marker.h>
39 #include <qwt_symbol.h>
40 #include <qwt_legend.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 )
128 virtual void replot() = 0;
194 virtual void setXaxis(
double min,
double max);
201 virtual void setLineStyle(
int which, Qt::PenStyle style);
202 virtual const Qt::PenStyle
getLineStyle(
int which)
const;
203 virtual void setLineMarker(
int which, QwtSymbol::Style marker);
204 virtual const QwtSymbol::Style
getLineMarker(
int which)
const;
void setLineStyle6(Qt::PenStyle)
const QColor getLineColor5() const
int getMarkerAlpha9() const
const Qt::PenStyle getLineStyle8() const
int getLineWidth2() const
void setLineStyle2(Qt::PenStyle)
int getMarkerAlpha1() const
int getLineWidth4() const
int getXaxisLabelFontSize() const
void setMarkerAlpha4(int)
int getLineWidth3() const
int d_nplots
Definition: DisplayPlot.h:285
const QColor getLineColor7() const
void setLineMarker1(QwtSymbol::Style)
int getMarkerAlpha4() const
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
virtual void setXaxis(double min, double max)
QList< QColor > QColorList
Definition: DisplayPlot.h:47
const QColor getLineColor3() const
int getMarkerAlpha3() const
const QColor getLineColor4() const
float min(float a, float b)
const QwtSymbol::Style getLineMarker5() const
const QColor getLineColor2() const
virtual void setYaxis(double min, double max)
const Qt::PenStyle getLineStyle1() const
QwtPlotZoomer * d_zoomer
Definition: DisplayPlot.h:289
void setPaletteColor(QColor c)
void setLineStyle9(Qt::PenStyle)
void setLineStyle7(Qt::PenStyle)
void setLineMarker5(QwtSymbol::Style)
DisplayPlot(int nplots, QWidget *)
virtual void legendEntryChecked(QwtPlotItem *plotItem, bool on)
virtual void setLineWidth(int which, int width)
QwtPlotMagnifier * d_magnifier
Definition: DisplayPlot.h:292
int getLineWidth6() const
void setAxisLabelFontSize(int axisId, int fs)
void onPickerPointSelected6(const QPointF &p)
std::vector< QwtPlotCurve * > d_plot_curve
Definition: DisplayPlot.h:286
void setLineColor5(QColor)
void setMarkerAlpha9(int)
void setLineColor4(QColor)
const QwtSymbol::Style getLineMarker2() const
virtual void setLineColor(int which, QColor color)
const Qt::PenStyle getLineStyle4() const
virtual void setLineLabel(int which, QString label)
void setLineMarker4(QwtSymbol::Style)
void resizeSlot(QSize *s)
const Qt::PenStyle getLineStyle3() const
int getMarkerAlpha6() const
const QwtSymbol::Style getLineMarker4() const
QList< QColor > d_trace_colors
Definition: DisplayPlot.h:298
void setZoomerColor(QColor c)
void plotPointSelected(const QPointF p)
void setLineColor3(QColor)
const Qt::PenStyle getLineStyle9() const
void setLineMarker7(QwtSymbol::Style)
int getMarkerAlpha2() const
int64_t d_numPoints
Definition: DisplayPlot.h:294
void setMarkerAlpha2(int)
void setLineMarker3(QwtSymbol::Style)
void onPickerPointSelected(const QwtDoublePoint &p)
void setLineColor7(QColor)
const QwtSymbol::Style getLineMarker7() const
virtual void setLineStyle(int which, Qt::PenStyle style)
const QwtSymbol::Style getLineMarker9() const
int getLineWidth5() const
void setLineMarker2(QwtSymbol::Style)
void setLineStyle3(Qt::PenStyle)
void setLineStyle4(Qt::PenStyle)
bool d_stop
Definition: DisplayPlot.h:296
QwtDblClickPlotPicker * d_picker
Definition: DisplayPlot.h:291
const QColor getLineColor9() const
void setYaxisLabelFontSize(int fs)
virtual void setMarkerAlpha(int which, int alpha)
int getLineWidth7() const
void setAxesLabelFontSize(int fs)
virtual const QwtSymbol::Style getLineMarker(int which) const
const QColor getLineColor8() const
const Qt::PenStyle getLineStyle7() const
virtual int getLineWidth(int which) const
int getYaxisLabelFontSize() const
virtual void setLineMarker(int which, QwtSymbol::Style marker)
virtual void disableLegend()
void setLineColor9(QColor)
void setMarkerAlpha5(int)
QColor getPaletteColor() const
int getLineWidth8() const
const QwtSymbol::Style getLineMarker6() const
int getLineWidth9() const
void setMarkerAlpha3(int)
int getMarkerAlpha7() const
void setLineColor2(QColor)
int getAxisLabelFontSize(int axisId) const
void setMarkerAlpha8(int)
void setLineColor6(QColor)
const QwtSymbol::Style getLineMarker3() const
void setLineColor8(QColor)
const QColor getLineColor1() const
void setLineColor1(QColor)
QwtPlotPanner * d_panner
Definition: DisplayPlot.h:288
const QwtSymbol::Style getLineMarker8() const
const Qt::PenStyle getLineStyle5() const
void setLineStyle8(Qt::PenStyle)
void setMarkerAlpha7(int)
virtual int getMarkerAlpha(int which) const
int getAxesLabelFontSize() const
virtual QColor getLineColor(int which) const
int getLineWidth1() const
void setXaxisLabelFontSize(int fs)
const QwtSymbol::Style getLineMarker1() const
const QColor getLineColor6() const
virtual QString getLineLabel(int which)
const Qt::PenStyle getLineStyle2() const
void setMarkerAlpha6(int)
void setLineMarker8(QwtSymbol::Style)
void setLineMarker6(QwtSymbol::Style)
void setLineStyle5(Qt::PenStyle)
void setMarkerAlpha1(int)
void setLineStyle1(Qt::PenStyle)
int getMarkerAlpha5() const
int getMarkerAlpha8() const
virtual const Qt::PenStyle getLineStyle(int which) const
QColor getZoomerColor() const
void setLineMarker9(QwtSymbol::Style)
const Qt::PenStyle getLineStyle6() const
bool d_autoscale_state
Definition: DisplayPlot.h:300