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

Create a QT Text box widget (QLabel) where the values are posted as a message. More...

#include <display_text_msg.h>

Inheritance diagram for gr::display::text_msg:
gr::display::text_msg_impl

Public Types

typedef std::shared_ptr< text_msgsptr

Public Member Functions

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

Static Public Member Functions

static sptr make (const std::string &label, const std::string &message_key, int splitlength=80, int maxlines=100, QWidget *parent=nullptr)
 Constructs the Edit box block.

Detailed Description

Create a QT Text box widget (QLabel) where the values are posted as a message.

This block creates a QT Text box widget that manages data through message passing interfaces. It is derived from the gnuradio Message Edit Box

Message Ports:

  • text (input): Accepts text messages to be displayed

Member Typedef Documentation

◆ sptr

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

Member Function Documentation

◆ exec_()

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

Implemented in gr::display::text_msg_impl.

◆ make()

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

Constructs the Edit box block.

Parameters
labelHeader text of the window usefull if using several windows
message_keyname of the message key or empty
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::text_msg::qwidget ( )
pure virtual

Implemented in gr::display::text_msg_impl.


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