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

DisplayForm child for managing waterfall (spectrogram) plots. More...

#include <gnuradio/qtgui/waterfalldisplayform.h>

Public Slots

void customEvent (QEvent *e)
 
void setTimeTitle (const std::string)
 
void setSampleRate (const QString &samprate)
 
void setFFTSize (const int)
 
void setFFTAverage (const float)
 
void setFFTWindowType (const gr::filter::firdes::win_type)
 
void setFrequencyRange (const double centerfreq, const double bandwidth)
 
void setIntensityRange (const double minIntensity, const double maxIntensity)
 
void setMaxIntensity (const QString &m)
 
void setMinIntensity (const QString &m)
 
void setAlpha (int which, int alpha)
 
void setColorMap (int which, const int newType, const QColor lowColor=QColor("white"), const QColor highColor=QColor("white"))
 
void autoScale (bool en=false)
 
void setPlotPosHalf (bool half)
 
void setTimePerFFT (double t)
 
void setUpdateTime (double t)
 
- Public Slots inherited from DisplayForm
void resizeEvent (QResizeEvent *e)
 
void mousePressEvent (QMouseEvent *e)
 
virtual void customEvent (QEvent *e)=0
 
void closeEvent (QCloseEvent *e)
 
void setUpdateTime (double t)
 
void setTitle (const QString &title)
 
void setLineLabel (int which, const QString &label)
 
void setLineColor (int which, const QString &color)
 
void setLineWidth (int which, int width)
 
void setLineStyle (int which, Qt::PenStyle style)
 
void setLineMarker (int which, QwtSymbol::Style style)
 
void setMarkerAlpha (int which, int alpha)
 
QString title ()
 
QString lineLabel (int which)
 
QString lineColor (int which)
 
int lineWidth (int which)
 
Qt::PenStyle lineStyle (int which)
 
QwtSymbol::Style lineMarker (int which)
 
int markerAlpha (int which)
 
virtual void setSampleRate (const QString &rate)
 
void setStop (bool on)
 
void setStop ()
 
void setGrid (bool on)
 
void saveFigure ()
 
void disableLegend ()
 

Public Member Functions

 WaterfallDisplayForm (int nplots=1, QWidget *parent=0)
 
 ~WaterfallDisplayForm ()
 
WaterfallDisplayPlotgetPlot ()
 
int getFFTSize () const
 
double getTimePerFFT ()
 
float getFFTAverage () const
 
gr::filter::firdes::win_type getFFTWindowType () const
 
int getColorMap (int which)
 
int getAlpha (int which)
 
double getMinIntensity (int which)
 
double getMaxIntensity (int which)
 
void clearData ()
 
float getClickedFreq () const
 
bool checkClicked ()
 
- Public Member Functions inherited from DisplayForm
 DisplayForm (int nplots=1, QWidget *parent=0)
 
 ~DisplayForm ()
 
void Reset ()
 
bool isClosed () const
 
void enableMenu (bool en=true)
 

Additional Inherited Members

- Signals inherited from DisplayForm
void plotPointSelected (const QPointF p, int type)
 
void toggleGrid (bool en)
 
- Protected Attributes inherited from DisplayForm
bool d_isclosed
 
int d_nplots
 
QGridLayout * d_layout
 
DisplayPlotd_display_plot
 
bool d_system_specified_flag
 
QwtPlotGrid * d_grid
 
bool d_menu_on
 
QMenu * d_menu
 
QAction * d_stop_act
 
bool d_stop_state
 
QAction * d_grid_act
 
bool d_grid_state
 
QAction * d_autoscale_act
 
bool d_autoscale_state
 
QList< QMenu * > d_lines_menu
 
QList< LineTitleAction * > d_line_title_act
 
QList< LineColorMenu * > d_line_color_menu
 
QList< LineWidthMenu * > d_line_width_menu
 
QList< LineStyleMenu * > d_line_style_menu
 
QList< LineMarkerMenu * > d_line_marker_menu
 
QList< MarkerAlphaMenu * > d_marker_alpha_menu
 
PopupMenud_samp_rate_act
 
QAction * d_save_act
 
double d_update_time
 

Detailed Description

DisplayForm child for managing waterfall (spectrogram) plots.

Constructor & Destructor Documentation

WaterfallDisplayForm::WaterfallDisplayForm ( int  nplots = 1,
QWidget *  parent = 0 
)
WaterfallDisplayForm::~WaterfallDisplayForm ( )

Member Function Documentation

void WaterfallDisplayForm::autoScale ( bool  en = false)
slot
bool WaterfallDisplayForm::checkClicked ( )
void WaterfallDisplayForm::clearData ( )
void WaterfallDisplayForm::customEvent ( QEvent *  e)
slot
int WaterfallDisplayForm::getAlpha ( int  which)
float WaterfallDisplayForm::getClickedFreq ( ) const
int WaterfallDisplayForm::getColorMap ( int  which)
float WaterfallDisplayForm::getFFTAverage ( ) const
int WaterfallDisplayForm::getFFTSize ( ) const
gr::filter::firdes::win_type WaterfallDisplayForm::getFFTWindowType ( ) const
double WaterfallDisplayForm::getMaxIntensity ( int  which)
double WaterfallDisplayForm::getMinIntensity ( int  which)
WaterfallDisplayPlot* WaterfallDisplayForm::getPlot ( )
virtual

Implements DisplayForm.

double WaterfallDisplayForm::getTimePerFFT ( )
void WaterfallDisplayForm::setAlpha ( int  which,
int  alpha 
)
slot
void WaterfallDisplayForm::setColorMap ( int  which,
const int  newType,
const QColor  lowColor = QColor("white"),
const QColor  highColor = QColor("white") 
)
slot
void WaterfallDisplayForm::setFFTAverage ( const float  )
slot
void WaterfallDisplayForm::setFFTSize ( const int  )
slot
void WaterfallDisplayForm::setFFTWindowType ( const gr::filter::firdes::win_type  )
slot
void WaterfallDisplayForm::setFrequencyRange ( const double  centerfreq,
const double  bandwidth 
)
slot
void WaterfallDisplayForm::setIntensityRange ( const double  minIntensity,
const double  maxIntensity 
)
slot
void WaterfallDisplayForm::setMaxIntensity ( const QString &  m)
slot
void WaterfallDisplayForm::setMinIntensity ( const QString &  m)
slot
void WaterfallDisplayForm::setPlotPosHalf ( bool  half)
slot
void WaterfallDisplayForm::setSampleRate ( const QString &  samprate)
slot
void WaterfallDisplayForm::setTimePerFFT ( double  t)
slot
void WaterfallDisplayForm::setTimeTitle ( const std::string  )
slot
void WaterfallDisplayForm::setUpdateTime ( double  t)
slot

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