GNU Radio C++ API Reference  3.10.11.0
The Free & Open Software Radio Ecosystem
EyeDisplaysForm Class Referenceabstract

Base class for setting up and managing QTGUI plot forms. More...

#include <gnuradio/qtgui/eyedisplaysform.h>

Public Slots

void resizeEvent (QResizeEvent *e) override
 
void mousePressEvent (QMouseEvent *e) override
 
void customEvent (QEvent *e) override=0
 
void closeEvent (QCloseEvent *e) override
 
void setUpdateTime (double t)
 
void setSamplesPerSymbol (int64_t sps)
 
void setTitle (const QString &title)
 
void setLineLabel (unsigned int which, const QString &label)
 
void setLineColor (unsigned int which, const QString &color)
 
void setLineWidth (unsigned int which, unsigned int width)
 
void setLineStyle (unsigned int which, Qt::PenStyle style)
 
void setLineMarker (unsigned int which, QwtSymbol::Style style)
 
void setMarkerAlpha (unsigned int which, unsigned int alpha)
 
QString title ()
 
QString lineLabel (unsigned int which)
 
QString lineColor (unsigned int which)
 
int lineWidth (unsigned int which)
 
Qt::PenStyle lineStyle (unsigned int which)
 
QwtSymbol::Style lineMarker (unsigned int which)
 
int markerAlpha (unsigned int which)
 
virtual void setSampleRate (const QString &rate)
 
void setStop (bool on)
 
void setStop ()
 
void setGrid (bool on)
 
void setAxisLabels (bool en)
 
void saveFigure ()
 
void disableLegend ()
 

Signals

void plotPointSelected (const QPointF p, int type)
 
void toggleGrid (bool en)
 

Public Member Functions

 EyeDisplaysForm (int nplots=1, QWidget *parent=0)
 
 ~EyeDisplaysForm () override
 
void Reset ()
 
void enableMenu (bool en=true)
 

Protected Attributes

unsigned int d_nplots
 
int d_sps
 
QGridLayout * d_layout
 
DisplayPlotd_display_plot
 
std::vector< DisplayPlot * > d_displays_plot
 
bool d_system_specified_flag
 
std::vector< QwtPlotGrid * > d_grids
 
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_axislabelsmenu
 
bool d_axislabels
 
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

Base class for setting up and managing QTGUI plot forms.

Constructor & Destructor Documentation

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

Member Function Documentation

void EyeDisplaysForm::closeEvent ( QCloseEvent *  e)
overrideslot
void EyeDisplaysForm::customEvent ( QEvent *  e)
overridepure virtualslot
void EyeDisplaysForm::disableLegend ( )
slot
void EyeDisplaysForm::enableMenu ( bool  en = true)
QString EyeDisplaysForm::lineColor ( unsigned int  which)
slot
QString EyeDisplaysForm::lineLabel ( unsigned int  which)
slot
QwtSymbol::Style EyeDisplaysForm::lineMarker ( unsigned int  which)
slot
Qt::PenStyle EyeDisplaysForm::lineStyle ( unsigned int  which)
slot
int EyeDisplaysForm::lineWidth ( unsigned int  which)
slot
int EyeDisplaysForm::markerAlpha ( unsigned int  which)
slot
void EyeDisplaysForm::mousePressEvent ( QMouseEvent *  e)
overrideslot
void EyeDisplaysForm::plotPointSelected ( const QPointF  p,
int  type 
)
signal
void EyeDisplaysForm::Reset ( )
void EyeDisplaysForm::resizeEvent ( QResizeEvent *  e)
overrideslot
void EyeDisplaysForm::saveFigure ( )
slot
void EyeDisplaysForm::setAxisLabels ( bool  en)
slot
void EyeDisplaysForm::setGrid ( bool  on)
slot
void EyeDisplaysForm::setLineColor ( unsigned int  which,
const QString &  color 
)
slot
void EyeDisplaysForm::setLineLabel ( unsigned int  which,
const QString &  label 
)
slot
void EyeDisplaysForm::setLineMarker ( unsigned int  which,
QwtSymbol::Style  style 
)
slot
void EyeDisplaysForm::setLineStyle ( unsigned int  which,
Qt::PenStyle  style 
)
slot
void EyeDisplaysForm::setLineWidth ( unsigned int  which,
unsigned int  width 
)
slot
void EyeDisplaysForm::setMarkerAlpha ( unsigned int  which,
unsigned int  alpha 
)
slot
virtual void EyeDisplaysForm::setSampleRate ( const QString &  rate)
virtualslot
void EyeDisplaysForm::setSamplesPerSymbol ( int64_t  sps)
slot
void EyeDisplaysForm::setStop ( bool  on)
slot
void EyeDisplaysForm::setStop ( )
slot
void EyeDisplaysForm::setTitle ( const QString &  title)
slot
void EyeDisplaysForm::setUpdateTime ( double  t)
slot
QString EyeDisplaysForm::title ( )
slot
void EyeDisplaysForm::toggleGrid ( bool  en)
signal

Member Data Documentation

QAction* EyeDisplaysForm::d_autoscale_act
protected
bool EyeDisplaysForm::d_autoscale_state
protected
bool EyeDisplaysForm::d_axislabels
protected
QAction* EyeDisplaysForm::d_axislabelsmenu
protected
DisplayPlot* EyeDisplaysForm::d_display_plot
protected
std::vector<DisplayPlot*> EyeDisplaysForm::d_displays_plot
protected
QAction* EyeDisplaysForm::d_grid_act
protected
bool EyeDisplaysForm::d_grid_state
protected
std::vector<QwtPlotGrid*> EyeDisplaysForm::d_grids
protected
QGridLayout* EyeDisplaysForm::d_layout
protected
QList<LineColorMenu*> EyeDisplaysForm::d_line_color_menu
protected
QList<LineMarkerMenu*> EyeDisplaysForm::d_line_marker_menu
protected
QList<LineStyleMenu*> EyeDisplaysForm::d_line_style_menu
protected
QList<LineTitleAction*> EyeDisplaysForm::d_line_title_act
protected
QList<LineWidthMenu*> EyeDisplaysForm::d_line_width_menu
protected
QList<QMenu*> EyeDisplaysForm::d_lines_menu
protected
QList<MarkerAlphaMenu*> EyeDisplaysForm::d_marker_alpha_menu
protected
QMenu* EyeDisplaysForm::d_menu
protected
bool EyeDisplaysForm::d_menu_on
protected
unsigned int EyeDisplaysForm::d_nplots
protected
PopupMenu* EyeDisplaysForm::d_samp_rate_act
protected
QAction* EyeDisplaysForm::d_save_act
protected
int EyeDisplaysForm::d_sps
protected
QAction* EyeDisplaysForm::d_stop_act
protected
bool EyeDisplaysForm::d_stop_state
protected
bool EyeDisplaysForm::d_system_specified_flag
protected
double EyeDisplaysForm::d_update_time
protected

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