GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

QWidget for displaying waterfall (spectrogram) plots. More...

#include <gnuradio/qtgui/WaterfallDisplayPlot.h>

Public Slots

void setIntensityColorMapType (const int, const int, const QColor, const QColor)
 
void setIntensityColorMapType1 (int)
 
void setColorMapTitleFontSize (int tfs)
 
void setUserDefinedLowIntensityColor (QColor)
 
void setUserDefinedHighIntensityColor (QColor)
 
void setPlotPosHalf (bool half)
 
void disableLegend ()
 
void enableLegend ()
 
void enableLegend (bool en)
 
void setNumRows (int nrows)
 
- Public Slots inherited from DisplayPlot
virtual void disableLegend ()
 
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 updatedLowerIntensityLevel (const double)
 
void updatedUpperIntensityLevel (const double)
 
- Signals inherited from DisplayPlot
void plotPointSelected (const QPointF p)
 

Public Member Functions

 WaterfallDisplayPlot (int nplots, QWidget *)
 
virtual ~WaterfallDisplayPlot ()
 
void resetAxis ()
 
void setFrequencyRange (const double, const double, const double units=1000.0, const std::string &strunits="kHz")
 
double getStartFrequency () const
 
double getStopFrequency () const
 
void plotNewData (const std::vector< double * > dataPoints, const int64_t numDataPoints, const double timePerFFT, const gr::high_res_timer_type timestamp, const int droppedFrames)
 
void plotNewData (const double *dataPoints, const int64_t numDataPoints, const double timePerFFT, const gr::high_res_timer_type timestamp, const int droppedFrames)
 
void setIntensityRange (const double minIntensity, const double maxIntensity)
 
double getMinIntensity (int which) const
 
double getMaxIntensity (int which) const
 
void replot (void)
 
void clearData ()
 
int getIntensityColorMapType (int) const
 
int getIntensityColorMapType1 () const
 
int getColorMapTitleFontSize () const
 
const QColor getUserDefinedLowIntensityColor () const
 
const QColor getUserDefinedHighIntensityColor () const
 
int getAlpha (int which)
 
void setAlpha (int which, int alpha)
 
int getNumRows () const
 
- Public Member Functions inherited from DisplayPlot
 DisplayPlot (int nplots, QWidget *)
 
virtual ~DisplayPlot ()
 
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
 

Additional Inherited Members

- Protected Slots inherited from DisplayPlot
virtual void legendEntryChecked (QwtPlotItem *plotItem, bool on)
 
virtual void legendEntryChecked (const QVariant &plotItem, bool on, int index)
 
- Protected Attributes inherited from DisplayPlot
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
 

Detailed Description

QWidget for displaying waterfall (spectrogram) plots.

Constructor & Destructor Documentation

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

Member Function Documentation

void WaterfallDisplayPlot::clearData ( )
void WaterfallDisplayPlot::disableLegend ( )
slot
void WaterfallDisplayPlot::enableLegend ( )
slot
void WaterfallDisplayPlot::enableLegend ( bool  en)
slot
int WaterfallDisplayPlot::getAlpha ( int  which)
int WaterfallDisplayPlot::getColorMapTitleFontSize ( ) const
int WaterfallDisplayPlot::getIntensityColorMapType ( int  ) const
int WaterfallDisplayPlot::getIntensityColorMapType1 ( ) const
double WaterfallDisplayPlot::getMaxIntensity ( int  which) const
double WaterfallDisplayPlot::getMinIntensity ( int  which) const
int WaterfallDisplayPlot::getNumRows ( ) const
double WaterfallDisplayPlot::getStartFrequency ( ) const
double WaterfallDisplayPlot::getStopFrequency ( ) const
const QColor WaterfallDisplayPlot::getUserDefinedHighIntensityColor ( ) const
const QColor WaterfallDisplayPlot::getUserDefinedLowIntensityColor ( ) const
void WaterfallDisplayPlot::plotNewData ( const std::vector< double * >  dataPoints,
const int64_t  numDataPoints,
const double  timePerFFT,
const gr::high_res_timer_type  timestamp,
const int  droppedFrames 
)
void WaterfallDisplayPlot::plotNewData ( const double *  dataPoints,
const int64_t  numDataPoints,
const double  timePerFFT,
const gr::high_res_timer_type  timestamp,
const int  droppedFrames 
)
void WaterfallDisplayPlot::replot ( void  )
virtual

Implements DisplayPlot.

void WaterfallDisplayPlot::resetAxis ( )
void WaterfallDisplayPlot::setAlpha ( int  which,
int  alpha 
)
void WaterfallDisplayPlot::setColorMapTitleFontSize ( int  tfs)
slot
void WaterfallDisplayPlot::setFrequencyRange ( const double  ,
const double  ,
const double  units = 1000.0,
const std::string &  strunits = "kHz" 
)
void WaterfallDisplayPlot::setIntensityColorMapType ( const int  ,
const int  ,
const QColor  ,
const QColor   
)
slot
void WaterfallDisplayPlot::setIntensityColorMapType1 ( int  )
slot
void WaterfallDisplayPlot::setIntensityRange ( const double  minIntensity,
const double  maxIntensity 
)
void WaterfallDisplayPlot::setNumRows ( int  nrows)
slot
void WaterfallDisplayPlot::setPlotPosHalf ( bool  half)
slot
void WaterfallDisplayPlot::setUserDefinedHighIntensityColor ( QColor  )
slot
void WaterfallDisplayPlot::setUserDefinedLowIntensityColor ( QColor  )
slot
void WaterfallDisplayPlot::updatedLowerIntensityLevel ( const double  )
signal
void WaterfallDisplayPlot::updatedUpperIntensityLevel ( const double  )
signal

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