GNU Radio's DISPLAY Package
gr::display::show_text Class Referenceabstract

Create a QT Text sink, where the values are received as stream. More...

#include <show_text.h>

Inheritance diagram for gr::display::show_text:
gr::display::show_text_impl

Public Types

typedef std::shared_ptr< show_textsptr

Public Member Functions

virtual QWidget * qwidget ()=0
virtual void exec_ ()=0

Static Public Member Functions

static sptr make (const std::string &label, int splitlength=80, int maxlines=100, QWidget *parent=nullptr)
 Build a graphical sink to display ascii text.

Detailed Description

Create a QT Text sink, where the values are received as stream.

This is a QT-based graphical sink that display simply ascii text in a scrollable window

Member Typedef Documentation

◆ sptr

typedef std::shared_ptr<show_text> gr::display::show_text::sptr

Member Function Documentation

◆ exec_()

virtual void gr::display::show_text::exec_ ( )
pure virtual

Implemented in gr::display::show_text_impl.

◆ make()

sptr gr::display::show_text::make ( const std::string & label,
int splitlength = 80,
int maxlines = 100,
QWidget * parent = nullptr )
static

Build a graphical sink to display ascii text.

Parameters
labelHeader text of the window usefull if using several windows
splitlengthenter newline after splitlength characters without newline
maxlinesmaximum number of lines that can be displayed in the scrollarea
parenta QWidget parent in the QT app.

◆ qwidget()

virtual QWidget * gr::display::show_text::qwidget ( )
pure virtual

Implemented in gr::display::show_text_impl.


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