GNU Radio 3.7.2 C++ API
DisplayPlot Class Referenceabstract

QWidget base plot to build QTGUI plotting tools. More...

#include <gnuradio/qtgui/DisplayPlot.h>

Inheritance diagram for DisplayPlot:

Public Types

typedef QwtSymbol::Style QwtSymbolStyle
 

Public Slots

virtual void setYaxis (double min, double max)
 
virtual void setXaxis (double min, double max)
 
virtual void setLineLabel (int which, QString label)
 
virtual QString getLineLabel (int which)
 
virtual void setLineColor (int which, QColor color)
 
virtual QColor getLineColor (int which) const
 
virtual void setLineWidth (int which, int width)
 
virtual int getLineWidth (int which) const
 
virtual void setLineStyle (int which, Qt::PenStyle style)
 
virtual const Qt::PenStyle getLineStyle (int which) const
 
virtual void setLineMarker (int which, QwtSymbol::Style marker)
 
virtual const QwtSymbol::Style getLineMarker (int which) const
 
virtual void setMarkerAlpha (int which, int alpha)
 
virtual int getMarkerAlpha (int which) const
 
void setLineColor1 (QColor)
 
void setLineColor2 (QColor)
 
void setLineColor3 (QColor)
 
void setLineColor4 (QColor)
 
void setLineColor5 (QColor)
 
void setLineColor6 (QColor)
 
void setLineColor7 (QColor)
 
void setLineColor8 (QColor)
 
void setLineColor9 (QColor)
 
void setLineWidth1 (int)
 
void setLineWidth2 (int)
 
void setLineWidth3 (int)
 
void setLineWidth4 (int)
 
void setLineWidth5 (int)
 
void setLineWidth6 (int)
 
void setLineWidth7 (int)
 
void setLineWidth8 (int)
 
void setLineWidth9 (int)
 
void setLineStyle1 (Qt::PenStyle)
 
void setLineStyle2 (Qt::PenStyle)
 
void setLineStyle3 (Qt::PenStyle)
 
void setLineStyle4 (Qt::PenStyle)
 
void setLineStyle5 (Qt::PenStyle)
 
void setLineStyle6 (Qt::PenStyle)
 
void setLineStyle7 (Qt::PenStyle)
 
void setLineStyle8 (Qt::PenStyle)
 
void setLineStyle9 (Qt::PenStyle)
 
void setLineMarker1 (QwtSymbol::Style)
 
void setLineMarker2 (QwtSymbol::Style)
 
void setLineMarker3 (QwtSymbol::Style)
 
void setLineMarker4 (QwtSymbol::Style)
 
void setLineMarker5 (QwtSymbol::Style)
 
void setLineMarker6 (QwtSymbol::Style)
 
void setLineMarker7 (QwtSymbol::Style)
 
void setLineMarker8 (QwtSymbol::Style)
 
void setLineMarker9 (QwtSymbol::Style)
 
void setMarkerAlpha1 (int)
 
void setMarkerAlpha2 (int)
 
void setMarkerAlpha3 (int)
 
void setMarkerAlpha4 (int)
 
void setMarkerAlpha5 (int)
 
void setMarkerAlpha6 (int)
 
void setMarkerAlpha7 (int)
 
void setMarkerAlpha8 (int)
 
void setMarkerAlpha9 (int)
 
void setZoomerColor (QColor c)
 
void setPaletteColor (QColor c)
 
void setAxisLabelFontSize (int axisId, int fs)
 
void setYaxisLabelFontSize (int fs)
 
void setXaxisLabelFontSize (int fs)
 
void setAxesLabelFontSize (int fs)
 
void setStop (bool on)
 
void resizeSlot (QSize *s)
 
void onPickerPointSelected (const QwtDoublePoint &p)
 
void onPickerPointSelected6 (const QPointF &p)
 

Signals

void plotPointSelected (const QPointF p)
 

Public Member Functions

 DisplayPlot (int nplots, QWidget *)
 
virtual ~DisplayPlot ()
 
virtual void replot ()=0
 
const QColor getLineColor1 () const
 
const QColor getLineColor2 () const
 
const QColor getLineColor3 () const
 
const QColor getLineColor4 () const
 
const QColor getLineColor5 () const
 
const QColor getLineColor6 () const
 
const QColor getLineColor7 () const
 
const QColor getLineColor8 () const
 
const QColor getLineColor9 () const
 
int getLineWidth1 () const
 
int getLineWidth2 () const
 
int getLineWidth3 () const
 
int getLineWidth4 () const
 
int getLineWidth5 () const
 
int getLineWidth6 () const
 
int getLineWidth7 () const
 
int getLineWidth8 () const
 
int getLineWidth9 () const
 
const Qt::PenStyle getLineStyle1 () const
 
const Qt::PenStyle getLineStyle2 () const
 
const Qt::PenStyle getLineStyle3 () const
 
const Qt::PenStyle getLineStyle4 () const
 
const Qt::PenStyle getLineStyle5 () const
 
const Qt::PenStyle getLineStyle6 () const
 
const Qt::PenStyle getLineStyle7 () const
 
const Qt::PenStyle getLineStyle8 () const
 
const Qt::PenStyle getLineStyle9 () const
 
const QwtSymbol::Style getLineMarker1 () const
 
const QwtSymbol::Style getLineMarker2 () const
 
const QwtSymbol::Style getLineMarker3 () const
 
const QwtSymbol::Style getLineMarker4 () const
 
const QwtSymbol::Style getLineMarker5 () const
 
const QwtSymbol::Style getLineMarker6 () const
 
const QwtSymbol::Style getLineMarker7 () const
 
const QwtSymbol::Style getLineMarker8 () const
 
const QwtSymbol::Style getLineMarker9 () const
 
int getMarkerAlpha1 () const
 
int getMarkerAlpha2 () const
 
int getMarkerAlpha3 () const
 
int getMarkerAlpha4 () const
 
int getMarkerAlpha5 () const
 
int getMarkerAlpha6 () const
 
int getMarkerAlpha7 () const
 
int getMarkerAlpha8 () const
 
int getMarkerAlpha9 () const
 
QColor getZoomerColor () const
 
QColor getPaletteColor () const
 
int getAxisLabelFontSize (int axisId) const
 
int getYaxisLabelFontSize () const
 
int getXaxisLabelFontSize () const
 
int getAxesLabelFontSize () const
 

Protected Slots

virtual void legendEntryChecked (QwtPlotItem *plotItem, bool on)
 

Protected Attributes

int d_nplots
 
std::vector< QwtPlotCurve * > d_plot_curve
 
QwtPlotPanner * d_panner
 
QwtPlotZoomer * d_zoomer
 
QwtDblClickPlotPickerd_picker
 
QwtPlotMagnifier * d_magnifier
 
int64_t d_numPoints
 
bool d_stop
 
QList< QColor > d_trace_colors
 
bool d_autoscale_state
 

Properties

QColor line_color1
 
QColor line_color2
 
QColor line_color3
 
QColor line_color4
 
QColor line_color5
 
QColor line_color6
 
QColor line_color7
 
QColor line_color8
 
QColor line_color9
 
int line_width1
 
int line_width2
 
int line_width3
 
int line_width4
 
int line_width5
 
int line_width6
 
int line_width7
 
int line_width8
 
int line_width9
 
Qt::PenStyle line_style1
 
Qt::PenStyle line_style2
 
Qt::PenStyle line_style3
 
Qt::PenStyle line_style4
 
Qt::PenStyle line_style5
 
Qt::PenStyle line_style6
 
Qt::PenStyle line_style7
 
Qt::PenStyle line_style8
 
Qt::PenStyle line_style9
 
QwtSymbolStyle line_marker1
 
QwtSymbolStyle line_marker2
 
QwtSymbolStyle line_marker3
 
QwtSymbolStyle line_marker4
 
QwtSymbolStyle line_marker5
 
QwtSymbolStyle line_marker6
 
QwtSymbolStyle line_marker7
 
QwtSymbolStyle line_marker8
 
QwtSymbolStyle line_marker9
 
int marker_alpha1
 
int marker_alpha2
 
int marker_alpha3
 
int marker_alpha4
 
int marker_alpha5
 
int marker_alpha6
 
int marker_alpha7
 
int marker_alpha8
 
int marker_alpha9
 
QColor zoomer_color
 
QColor palette_color
 
int yaxis_label_font_size
 
int xaxis_label_font_size
 
int axes_label_font_size
 

Detailed Description

QWidget base plot to build QTGUI plotting tools.

Member Typedef Documentation

typedef QwtSymbol::Style DisplayPlot::QwtSymbolStyle

Constructor & Destructor Documentation

DisplayPlot::DisplayPlot ( int  nplots,
QWidget *   
)
virtual DisplayPlot::~DisplayPlot ( )
virtual

Member Function Documentation

int DisplayPlot::getAxesLabelFontSize ( ) const
int DisplayPlot::getAxisLabelFontSize ( int  axisId) const
virtual QColor DisplayPlot::getLineColor ( int  which) const
virtualslot
const QColor DisplayPlot::getLineColor1 ( ) const
const QColor DisplayPlot::getLineColor2 ( ) const
const QColor DisplayPlot::getLineColor3 ( ) const
const QColor DisplayPlot::getLineColor4 ( ) const
const QColor DisplayPlot::getLineColor5 ( ) const
const QColor DisplayPlot::getLineColor6 ( ) const
const QColor DisplayPlot::getLineColor7 ( ) const
const QColor DisplayPlot::getLineColor8 ( ) const
const QColor DisplayPlot::getLineColor9 ( ) const
virtual QString DisplayPlot::getLineLabel ( int  which)
virtualslot
virtual const QwtSymbol::Style DisplayPlot::getLineMarker ( int  which) const
virtualslot
const QwtSymbol::Style DisplayPlot::getLineMarker1 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker2 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker3 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker4 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker5 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker6 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker7 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker8 ( ) const
const QwtSymbol::Style DisplayPlot::getLineMarker9 ( ) const
virtual const Qt::PenStyle DisplayPlot::getLineStyle ( int  which) const
virtualslot
const Qt::PenStyle DisplayPlot::getLineStyle1 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle2 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle3 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle4 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle5 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle6 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle7 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle8 ( ) const
const Qt::PenStyle DisplayPlot::getLineStyle9 ( ) const
virtual int DisplayPlot::getLineWidth ( int  which) const
virtualslot
int DisplayPlot::getLineWidth1 ( ) const
int DisplayPlot::getLineWidth2 ( ) const
int DisplayPlot::getLineWidth3 ( ) const
int DisplayPlot::getLineWidth4 ( ) const
int DisplayPlot::getLineWidth5 ( ) const
int DisplayPlot::getLineWidth6 ( ) const
int DisplayPlot::getLineWidth7 ( ) const
int DisplayPlot::getLineWidth8 ( ) const
int DisplayPlot::getLineWidth9 ( ) const
virtual int DisplayPlot::getMarkerAlpha ( int  which) const
virtualslot
int DisplayPlot::getMarkerAlpha1 ( ) const
int DisplayPlot::getMarkerAlpha2 ( ) const
int DisplayPlot::getMarkerAlpha3 ( ) const
int DisplayPlot::getMarkerAlpha4 ( ) const
int DisplayPlot::getMarkerAlpha5 ( ) const
int DisplayPlot::getMarkerAlpha6 ( ) const
int DisplayPlot::getMarkerAlpha7 ( ) const
int DisplayPlot::getMarkerAlpha8 ( ) const
int DisplayPlot::getMarkerAlpha9 ( ) const
QColor DisplayPlot::getPaletteColor ( ) const
int DisplayPlot::getXaxisLabelFontSize ( ) const
int DisplayPlot::getYaxisLabelFontSize ( ) const
QColor DisplayPlot::getZoomerColor ( ) const
virtual void DisplayPlot::legendEntryChecked ( QwtPlotItem *  plotItem,
bool  on 
)
protectedvirtualslot
void DisplayPlot::onPickerPointSelected ( const QwtDoublePoint &  p)
slot
void DisplayPlot::onPickerPointSelected6 ( const QPointF &  p)
slot
void DisplayPlot::plotPointSelected ( const QPointF  p)
signal
void DisplayPlot::resizeSlot ( QSize *  s)
slot
void DisplayPlot::setAxesLabelFontSize ( int  fs)
slot
void DisplayPlot::setAxisLabelFontSize ( int  axisId,
int  fs 
)
slot
virtual void DisplayPlot::setLineColor ( int  which,
QColor  color 
)
virtualslot
void DisplayPlot::setLineColor1 ( QColor  )
slot
void DisplayPlot::setLineColor2 ( QColor  )
slot
void DisplayPlot::setLineColor3 ( QColor  )
slot
void DisplayPlot::setLineColor4 ( QColor  )
slot
void DisplayPlot::setLineColor5 ( QColor  )
slot
void DisplayPlot::setLineColor6 ( QColor  )
slot
void DisplayPlot::setLineColor7 ( QColor  )
slot
void DisplayPlot::setLineColor8 ( QColor  )
slot
void DisplayPlot::setLineColor9 ( QColor  )
slot
virtual void DisplayPlot::setLineLabel ( int  which,
QString  label 
)
virtualslot
virtual void DisplayPlot::setLineMarker ( int  which,
QwtSymbol::Style  marker 
)
virtualslot
void DisplayPlot::setLineMarker1 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker2 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker3 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker4 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker5 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker6 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker7 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker8 ( QwtSymbol::Style  )
slot
void DisplayPlot::setLineMarker9 ( QwtSymbol::Style  )
slot
virtual void DisplayPlot::setLineStyle ( int  which,
Qt::PenStyle  style 
)
virtualslot
void DisplayPlot::setLineStyle1 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle2 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle3 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle4 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle5 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle6 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle7 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle8 ( Qt::PenStyle  )
slot
void DisplayPlot::setLineStyle9 ( Qt::PenStyle  )
slot
virtual void DisplayPlot::setLineWidth ( int  which,
int  width 
)
virtualslot
void DisplayPlot::setLineWidth1 ( int  )
slot
void DisplayPlot::setLineWidth2 ( int  )
slot
void DisplayPlot::setLineWidth3 ( int  )
slot
void DisplayPlot::setLineWidth4 ( int  )
slot
void DisplayPlot::setLineWidth5 ( int  )
slot
void DisplayPlot::setLineWidth6 ( int  )
slot
void DisplayPlot::setLineWidth7 ( int  )
slot
void DisplayPlot::setLineWidth8 ( int  )
slot
void DisplayPlot::setLineWidth9 ( int  )
slot
virtual void DisplayPlot::setMarkerAlpha ( int  which,
int  alpha 
)
virtualslot
void DisplayPlot::setMarkerAlpha1 ( int  )
slot
void DisplayPlot::setMarkerAlpha2 ( int  )
slot
void DisplayPlot::setMarkerAlpha3 ( int  )
slot
void DisplayPlot::setMarkerAlpha4 ( int  )
slot
void DisplayPlot::setMarkerAlpha5 ( int  )
slot
void DisplayPlot::setMarkerAlpha6 ( int  )
slot
void DisplayPlot::setMarkerAlpha7 ( int  )
slot
void DisplayPlot::setMarkerAlpha8 ( int  )
slot
void DisplayPlot::setMarkerAlpha9 ( int  )
slot
void DisplayPlot::setPaletteColor ( QColor  c)
slot
void DisplayPlot::setStop ( bool  on)
slot
virtual void DisplayPlot::setXaxis ( double  min,
double  max 
)
virtualslot
void DisplayPlot::setXaxisLabelFontSize ( int  fs)
slot
virtual void DisplayPlot::setYaxis ( double  min,
double  max 
)
virtualslot

Reimplemented in FrequencyDisplayPlot.

void DisplayPlot::setYaxisLabelFontSize ( int  fs)
slot
void DisplayPlot::setZoomerColor ( QColor  c)
slot

Member Data Documentation

bool DisplayPlot::d_autoscale_state
protected
QwtPlotMagnifier* DisplayPlot::d_magnifier
protected
int DisplayPlot::d_nplots
protected
int64_t DisplayPlot::d_numPoints
protected
QwtPlotPanner* DisplayPlot::d_panner
protected
QwtDblClickPlotPicker* DisplayPlot::d_picker
protected
std::vector<QwtPlotCurve*> DisplayPlot::d_plot_curve
protected
bool DisplayPlot::d_stop
protected
QList<QColor> DisplayPlot::d_trace_colors
protected
QwtPlotZoomer* DisplayPlot::d_zoomer
protected

Property Documentation

int DisplayPlot::axes_label_font_size
readwrite
QColor DisplayPlot::line_color1
readwrite
QColor DisplayPlot::line_color2
readwrite
QColor DisplayPlot::line_color3
readwrite
QColor DisplayPlot::line_color4
readwrite
QColor DisplayPlot::line_color5
readwrite
QColor DisplayPlot::line_color6
readwrite
QColor DisplayPlot::line_color7
readwrite
QColor DisplayPlot::line_color8
readwrite
QColor DisplayPlot::line_color9
readwrite
QwtSymbolStyle DisplayPlot::line_marker1
readwrite
QwtSymbolStyle DisplayPlot::line_marker2
readwrite
QwtSymbolStyle DisplayPlot::line_marker3
readwrite
QwtSymbolStyle DisplayPlot::line_marker4
readwrite
QwtSymbolStyle DisplayPlot::line_marker5
readwrite
QwtSymbolStyle DisplayPlot::line_marker6
readwrite
QwtSymbolStyle DisplayPlot::line_marker7
readwrite
QwtSymbolStyle DisplayPlot::line_marker8
readwrite
QwtSymbolStyle DisplayPlot::line_marker9
readwrite
Qt::PenStyle DisplayPlot::line_style1
readwrite
Qt::PenStyle DisplayPlot::line_style2
readwrite
Qt::PenStyle DisplayPlot::line_style3
readwrite
Qt::PenStyle DisplayPlot::line_style4
readwrite
Qt::PenStyle DisplayPlot::line_style5
readwrite
Qt::PenStyle DisplayPlot::line_style6
readwrite
Qt::PenStyle DisplayPlot::line_style7
readwrite
Qt::PenStyle DisplayPlot::line_style8
readwrite
Qt::PenStyle DisplayPlot::line_style9
readwrite
int DisplayPlot::line_width1
readwrite
int DisplayPlot::line_width2
readwrite
int DisplayPlot::line_width3
readwrite
int DisplayPlot::line_width4
readwrite
int DisplayPlot::line_width5
readwrite
int DisplayPlot::line_width6
readwrite
int DisplayPlot::line_width7
readwrite
int DisplayPlot::line_width8
readwrite
int DisplayPlot::line_width9
readwrite
int DisplayPlot::marker_alpha1
readwrite
int DisplayPlot::marker_alpha2
readwrite
int DisplayPlot::marker_alpha3
readwrite
int DisplayPlot::marker_alpha4
readwrite
int DisplayPlot::marker_alpha5
readwrite
int DisplayPlot::marker_alpha6
readwrite
int DisplayPlot::marker_alpha7
readwrite
int DisplayPlot::marker_alpha8
readwrite
int DisplayPlot::marker_alpha9
readwrite
QColor DisplayPlot::palette_color
readwrite
int DisplayPlot::xaxis_label_font_size
readwrite
int DisplayPlot::yaxis_label_font_size
readwrite
QColor DisplayPlot::zoomer_color
readwrite

The documentation for this class was generated from the following file: