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 time domain plots. More...

#include <gnuradio/qtgui/timedisplayform.h>

Public Slots

void customEvent (QEvent *e)
 
void setSampleRate (const double samprate)
 
void setSampleRate (const QString &samprate)
 
void setYaxis (double min, double max)
 
void setYLabel (const std::string &label, const std::string &unit="")
 
void setNPoints (const int)
 
void setStem (bool en)
 
void autoScale (bool en)
 
void autoScaleShot ()
 
void setSemilogx (bool en)
 
void setSemilogy (bool en)
 
void tagMenuSlot (bool en)
 
void setTagMenu (int which, bool en)
 
void updateTrigger (gr::qtgui::trigger_mode mode)
 
void setTriggerMode (gr::qtgui::trigger_mode mode)
 
void setTriggerSlope (gr::qtgui::trigger_slope slope)
 
void setTriggerLevel (QString s)
 
void setTriggerLevel (float level)
 
void setTriggerDelay (QString s)
 
void setTriggerDelay (float delay)
 
void setTriggerChannel (int chan)
 
void setTriggerTagKey (QString s)
 
void setTriggerTagKey (const std::string &s)
 
void setupControlPanel (bool en)
 
void setupControlPanel ()
 
void teardownControlPanel ()
 
- 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 signalTriggerMode (gr::qtgui::trigger_mode mode)
 
void signalTriggerSlope (gr::qtgui::trigger_slope slope)
 
void signalTriggerLevel (float level)
 
void signalTriggerDelay (float delay)
 
void signalReplot ()
 
void signalNPoints (const int npts)
 
- Signals inherited from DisplayForm
void plotPointSelected (const QPointF p, int type)
 
void toggleGrid (bool en)
 

Public Member Functions

 TimeDisplayForm (int nplots=1, QWidget *parent=0)
 
 ~TimeDisplayForm ()
 
TimeDomainDisplayPlotgetPlot ()
 
int getNPoints () const
 
gr::qtgui::trigger_mode getTriggerMode () const
 
gr::qtgui::trigger_slope getTriggerSlope () const
 
float getTriggerLevel () const
 
float getTriggerDelay () const
 
int getTriggerChannel () const
 
std::string getTriggerTagKey () const
 
- 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 time domain plots.

Constructor & Destructor Documentation

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

Member Function Documentation

void TimeDisplayForm::autoScale ( bool  en)
slot
void TimeDisplayForm::autoScaleShot ( )
slot
void TimeDisplayForm::customEvent ( QEvent *  e)
slot
int TimeDisplayForm::getNPoints ( ) const
TimeDomainDisplayPlot* TimeDisplayForm::getPlot ( )
virtual

Implements DisplayForm.

int TimeDisplayForm::getTriggerChannel ( ) const
float TimeDisplayForm::getTriggerDelay ( ) const
float TimeDisplayForm::getTriggerLevel ( ) const
gr::qtgui::trigger_mode TimeDisplayForm::getTriggerMode ( ) const
gr::qtgui::trigger_slope TimeDisplayForm::getTriggerSlope ( ) const
std::string TimeDisplayForm::getTriggerTagKey ( ) const
void TimeDisplayForm::setNPoints ( const int  )
slot
void TimeDisplayForm::setSampleRate ( const double  samprate)
slot
void TimeDisplayForm::setSampleRate ( const QString &  samprate)
slot
void TimeDisplayForm::setSemilogx ( bool  en)
slot
void TimeDisplayForm::setSemilogy ( bool  en)
slot
void TimeDisplayForm::setStem ( bool  en)
slot
void TimeDisplayForm::setTagMenu ( int  which,
bool  en 
)
slot
void TimeDisplayForm::setTriggerChannel ( int  chan)
slot
void TimeDisplayForm::setTriggerDelay ( QString  s)
slot
void TimeDisplayForm::setTriggerDelay ( float  delay)
slot
void TimeDisplayForm::setTriggerLevel ( QString  s)
slot
void TimeDisplayForm::setTriggerLevel ( float  level)
slot
void TimeDisplayForm::setTriggerMode ( gr::qtgui::trigger_mode  mode)
slot
void TimeDisplayForm::setTriggerSlope ( gr::qtgui::trigger_slope  slope)
slot
void TimeDisplayForm::setTriggerTagKey ( QString  s)
slot
void TimeDisplayForm::setTriggerTagKey ( const std::string &  s)
slot
void TimeDisplayForm::setupControlPanel ( bool  en)
slot
void TimeDisplayForm::setupControlPanel ( )
slot
void TimeDisplayForm::setYaxis ( double  min,
double  max 
)
slot
void TimeDisplayForm::setYLabel ( const std::string &  label,
const std::string &  unit = "" 
)
slot
void TimeDisplayForm::signalNPoints ( const int  npts)
signal
void TimeDisplayForm::signalReplot ( )
signal
void TimeDisplayForm::signalTriggerDelay ( float  delay)
signal
void TimeDisplayForm::signalTriggerLevel ( float  level)
signal
void TimeDisplayForm::signalTriggerMode ( gr::qtgui::trigger_mode  mode)
signal
void TimeDisplayForm::signalTriggerSlope ( gr::qtgui::trigger_slope  slope)
signal
void TimeDisplayForm::tagMenuSlot ( bool  en)
slot
void TimeDisplayForm::teardownControlPanel ( )
slot
void TimeDisplayForm::updateTrigger ( gr::qtgui::trigger_mode  mode)
slot

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