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 frequency (PSD) plots. More...

#include <gnuradio/qtgui/freqdisplayform.h>

Public Slots

void customEvent (QEvent *e)
 
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 setYaxis (double min, double max)
 
void setYMax (const QString &m)
 
void setYMin (const QString &m)
 
void autoScale (bool en)
 
void autoScaleShot ()
 
void setPlotPosHalf (bool half)
 
void clearMaxHold ()
 
void clearMinHold ()
 
void updateTrigger (gr::qtgui::trigger_mode mode)
 
void setTriggerMode (gr::qtgui::trigger_mode mode)
 
void setTriggerLevel (QString s)
 
void setTriggerLevel (float level)
 
void setTriggerChannel (int chan)
 
void setTriggerTagKey (QString s)
 
void setTriggerTagKey (const std::string &s)
 
void setupControlPanel (bool en)
 
void setupControlPanel ()
 
void teardownControlPanel ()
 
void notifyYAxisPlus ()
 
void notifyYAxisMinus ()
 
void notifyYRangePlus ()
 
void notifyYRangeMinus ()
 
void notifyFFTSize (const QString &s)
 
void notifyFFTWindow (const QString &s)
 
void notifyMaxHold (bool en)
 
void notifyMinHold (bool en)
 
void notifyTriggerMode (const QString &mode)
 
void notifyTriggerLevelPlus ()
 
void notifyTriggerLevelMinus ()
 
- 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 ()
 

Signals

void signalFFTSize (int size)
 
void signalFFTWindow (gr::filter::firdes::win_type win)
 
void signalClearMaxData ()
 
void signalClearMinData ()
 
void signalSetMaxFFTVisible (bool en)
 
void signalSetMinFFTVisible (bool en)
 
void signalTriggerMode (gr::qtgui::trigger_mode mode)
 
void signalTriggerLevel (float level)
 
void signalReplot ()
 
- Signals inherited from DisplayForm
void plotPointSelected (const QPointF p, int type)
 
void toggleGrid (bool en)
 

Public Member Functions

 FreqDisplayForm (int nplots=1, QWidget *parent=0)
 
 ~FreqDisplayForm ()
 
FrequencyDisplayPlotgetPlot ()
 
int getFFTSize () const
 
float getFFTAverage () const
 
gr::filter::firdes::win_type getFFTWindowType () const
 
gr::qtgui::trigger_mode getTriggerMode () const
 
float getTriggerLevel () const
 
int getTriggerChannel () const
 
std::string getTriggerTagKey () const
 
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

- 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 frequency (PSD) plots.

Constructor & Destructor Documentation

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

Member Function Documentation

void FreqDisplayForm::autoScale ( bool  en)
slot
void FreqDisplayForm::autoScaleShot ( )
slot
bool FreqDisplayForm::checkClicked ( )
void FreqDisplayForm::clearMaxHold ( )
slot
void FreqDisplayForm::clearMinHold ( )
slot
void FreqDisplayForm::customEvent ( QEvent *  e)
slot
float FreqDisplayForm::getClickedFreq ( ) const
float FreqDisplayForm::getFFTAverage ( ) const
int FreqDisplayForm::getFFTSize ( ) const
gr::filter::firdes::win_type FreqDisplayForm::getFFTWindowType ( ) const
FrequencyDisplayPlot* FreqDisplayForm::getPlot ( )
virtual

Implements DisplayForm.

int FreqDisplayForm::getTriggerChannel ( ) const
float FreqDisplayForm::getTriggerLevel ( ) const
gr::qtgui::trigger_mode FreqDisplayForm::getTriggerMode ( ) const
std::string FreqDisplayForm::getTriggerTagKey ( ) const
void FreqDisplayForm::notifyFFTSize ( const QString &  s)
slot
void FreqDisplayForm::notifyFFTWindow ( const QString &  s)
slot
void FreqDisplayForm::notifyMaxHold ( bool  en)
slot
void FreqDisplayForm::notifyMinHold ( bool  en)
slot
void FreqDisplayForm::notifyTriggerLevelMinus ( )
slot
void FreqDisplayForm::notifyTriggerLevelPlus ( )
slot
void FreqDisplayForm::notifyTriggerMode ( const QString &  mode)
slot
void FreqDisplayForm::notifyYAxisMinus ( )
slot
void FreqDisplayForm::notifyYAxisPlus ( )
slot
void FreqDisplayForm::notifyYRangeMinus ( )
slot
void FreqDisplayForm::notifyYRangePlus ( )
slot
void FreqDisplayForm::setFFTAverage ( const float  )
slot
void FreqDisplayForm::setFFTSize ( const int  )
slot
void FreqDisplayForm::setFFTWindowType ( const gr::filter::firdes::win_type  )
slot
void FreqDisplayForm::setFrequencyRange ( const double  centerfreq,
const double  bandwidth 
)
slot
void FreqDisplayForm::setPlotPosHalf ( bool  half)
slot
void FreqDisplayForm::setSampleRate ( const QString &  samprate)
slot
void FreqDisplayForm::setTriggerChannel ( int  chan)
slot
void FreqDisplayForm::setTriggerLevel ( QString  s)
slot
void FreqDisplayForm::setTriggerLevel ( float  level)
slot
void FreqDisplayForm::setTriggerMode ( gr::qtgui::trigger_mode  mode)
slot
void FreqDisplayForm::setTriggerTagKey ( QString  s)
slot
void FreqDisplayForm::setTriggerTagKey ( const std::string &  s)
slot
void FreqDisplayForm::setupControlPanel ( bool  en)
slot
void FreqDisplayForm::setupControlPanel ( )
slot
void FreqDisplayForm::setYaxis ( double  min,
double  max 
)
slot
void FreqDisplayForm::setYMax ( const QString &  m)
slot
void FreqDisplayForm::setYMin ( const QString &  m)
slot
void FreqDisplayForm::signalClearMaxData ( )
signal
void FreqDisplayForm::signalClearMinData ( )
signal
void FreqDisplayForm::signalFFTSize ( int  size)
signal
void FreqDisplayForm::signalFFTWindow ( gr::filter::firdes::win_type  win)
signal
void FreqDisplayForm::signalReplot ( )
signal
void FreqDisplayForm::signalSetMaxFFTVisible ( bool  en)
signal
void FreqDisplayForm::signalSetMinFFTVisible ( bool  en)
signal
void FreqDisplayForm::signalTriggerLevel ( float  level)
signal
void FreqDisplayForm::signalTriggerMode ( gr::qtgui::trigger_mode  mode)
signal
void FreqDisplayForm::teardownControlPanel ( )
slot
void FreqDisplayForm::updateTrigger ( gr::qtgui::trigger_mode  mode)
slot

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