GNU Radio 3.7.3 C++ API
DisplayForm Class Referenceabstract

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

#include <gnuradio/qtgui/displayform.h>

Inheritance diagram for DisplayForm:

Public Slots

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 ()
 

Signals

void plotPointSelected (const QPointF p, int type)
 

Public Member Functions

 DisplayForm (int nplots=1, QWidget *parent=0)
 
 ~DisplayForm ()
 
virtual DisplayPlotgetPlot ()=0
 
void Reset ()
 
bool isClosed () const
 
void enableMenu (bool en=true)
 

Protected Attributes

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

Base class for setting up and managing QTGUI plot forms.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

QAction* DisplayForm::d_autoscale_act
protected
bool DisplayForm::d_autoscale_state
protected
DisplayPlot* DisplayForm::d_display_plot
protected
QwtPlotGrid* DisplayForm::d_grid
protected
QAction* DisplayForm::d_grid_act
protected
bool DisplayForm::d_grid_state
protected
bool DisplayForm::d_isclosed
protected
QGridLayout* DisplayForm::d_layout
protected
QList<LineColorMenu*> DisplayForm::d_line_color_menu
protected
QList<LineMarkerMenu*> DisplayForm::d_line_marker_menu
protected
QList<LineStyleMenu*> DisplayForm::d_line_style_menu
protected
QList<LineTitleAction*> DisplayForm::d_line_title_act
protected
QList<LineWidthMenu*> DisplayForm::d_line_width_menu
protected
QList<QMenu*> DisplayForm::d_lines_menu
protected
QList<MarkerAlphaMenu*> DisplayForm::d_marker_alpha_menu
protected
QMenu* DisplayForm::d_menu
protected
bool DisplayForm::d_menu_on
protected
int DisplayForm::d_nplots
protected
PopupMenu* DisplayForm::d_samp_rate_act
protected
QAction* DisplayForm::d_save_act
protected
QAction* DisplayForm::d_stop_act
protected
bool DisplayForm::d_stop_state
protected
bool DisplayForm::d_system_specified_flag
protected
double DisplayForm::d_update_time
protected

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