GNU Radio Manual and C++ API Reference  3.7.11
The Free & Open Software Radio Ecosystem

DisplayForm child for managing number sink plots. More...

#include <gnuradio/qtgui/numberdisplayform.h>

Public Slots

void mousePressEvent (QMouseEvent *e)
 
void customEvent (QEvent *e)
 
void setStop (bool on)
 
void setStop ()
 
void setGraphType (const gr::qtgui::graph_t type)
 
void setColor (int which, const QColor &min, const QColor &max)
 
void setColorMin (int which, QString min)
 
void setColorMax (int which, QString max)
 
void setLabel (int which, const std::string &label)
 
void setLabel (int which, QString label)
 
void setAverage (const float avg)
 
void setUpdateTime (const float time)
 
void setUpdateTime (QString time)
 
void saveFigure ()
 
void setScale (int which, int min, int max)
 
void setScaleMin (int which, int min)
 
void setScaleMax (int which, int max)
 
void autoScale (bool on)
 
void setTitle (const std::string &title)
 
void setUnit (int which, const std::string &unit)
 
void setFactor (int which, float factor)
 

Public Member Functions

 NumberDisplayForm (int nplots=1, gr::qtgui::graph_t type=gr::qtgui::NUM_GRAPH_HORIZ, QWidget *parent=0)
 
 ~NumberDisplayForm ()
 
gr::qtgui::graph_t graphType () const
 
QColor colorMin (int which) const
 
QColor colorMax (int which) const
 
std::string label (int which) const
 
float average () const
 
float updateTime () const
 
int scaleMin (int which)
 
int scaleMax (int which)
 
std::string title () const
 
std::string unit (int which) const
 
float factor (int which) const
 

Detailed Description

DisplayForm child for managing number sink plots.

Constructor & Destructor Documentation

◆ NumberDisplayForm()

NumberDisplayForm::NumberDisplayForm ( int  nplots = 1,
gr::qtgui::graph_t  type = gr::qtgui::NUM_GRAPH_HORIZ,
QWidget *  parent = 0 
)

◆ ~NumberDisplayForm()

NumberDisplayForm::~NumberDisplayForm ( )

Member Function Documentation

◆ autoScale

void NumberDisplayForm::autoScale ( bool  on)
slot

◆ average()

float NumberDisplayForm::average ( ) const

◆ colorMax()

QColor NumberDisplayForm::colorMax ( int  which) const

◆ colorMin()

QColor NumberDisplayForm::colorMin ( int  which) const

◆ customEvent

void NumberDisplayForm::customEvent ( QEvent *  e)
slot

◆ factor()

float NumberDisplayForm::factor ( int  which) const

◆ graphType()

gr::qtgui::graph_t NumberDisplayForm::graphType ( ) const

◆ label()

std::string NumberDisplayForm::label ( int  which) const

◆ mousePressEvent

void NumberDisplayForm::mousePressEvent ( QMouseEvent *  e)
slot

◆ saveFigure

void NumberDisplayForm::saveFigure ( )
slot

◆ scaleMax()

int NumberDisplayForm::scaleMax ( int  which)

◆ scaleMin()

int NumberDisplayForm::scaleMin ( int  which)

◆ setAverage

void NumberDisplayForm::setAverage ( const float  avg)
slot

◆ setColor

void NumberDisplayForm::setColor ( int  which,
const QColor &  min,
const QColor &  max 
)
slot

◆ setColorMax

void NumberDisplayForm::setColorMax ( int  which,
QString  max 
)
slot

◆ setColorMin

void NumberDisplayForm::setColorMin ( int  which,
QString  min 
)
slot

◆ setFactor

void NumberDisplayForm::setFactor ( int  which,
float  factor 
)
slot

◆ setGraphType

void NumberDisplayForm::setGraphType ( const gr::qtgui::graph_t  type)
slot

◆ setLabel [1/2]

void NumberDisplayForm::setLabel ( int  which,
const std::string &  label 
)
slot

◆ setLabel [2/2]

void NumberDisplayForm::setLabel ( int  which,
QString  label 
)
slot

◆ setScale

void NumberDisplayForm::setScale ( int  which,
int  min,
int  max 
)
slot

◆ setScaleMax

void NumberDisplayForm::setScaleMax ( int  which,
int  max 
)
slot

◆ setScaleMin

void NumberDisplayForm::setScaleMin ( int  which,
int  min 
)
slot

◆ setStop [1/2]

void NumberDisplayForm::setStop ( bool  on)
slot

◆ setStop [2/2]

void NumberDisplayForm::setStop ( )
slot

◆ setTitle

void NumberDisplayForm::setTitle ( const std::string &  title)
slot

◆ setUnit

void NumberDisplayForm::setUnit ( int  which,
const std::string &  unit 
)
slot

◆ setUpdateTime [1/2]

void NumberDisplayForm::setUpdateTime ( const float  time)
slot

◆ setUpdateTime [2/2]

void NumberDisplayForm::setUpdateTime ( QString  time)
slot

◆ title()

std::string NumberDisplayForm::title ( ) const

◆ unit()

std::string NumberDisplayForm::unit ( int  which) const

◆ updateTime()

float NumberDisplayForm::updateTime ( ) const

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