QT GUI Label

From GNU Radio
Jump to navigation Jump to search

This block creates a variable with a label widget for text. Leave the label blank to use the variable id as the label.

Parameters

(R): Run-time adjustable

Label
Type (R)
Type of data to handle
Defaut Value (R)
Formatter
Function returning string. Something like lambda x: f'{x:.3f}' can be used to format a number.
GUI Hint
See GUI Hint for info about how to organize multiple QT GUIs

Example Flowgraph

This flowgraph and output show a QT GUI Label with an id:freq and a value of 0.1 Note that the output shows the Label: value 'Frequency' and the Default Value: value '100.0m'. The freq value is used to set the Signal Source Frequency.

QT GUI demo.png

Source Files

Block definition
[1]