QT GUI Label: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(add example flowgraph)
Line 19: Line 19:
== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
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 <code>Label:</code> value 'Frequency' and the <code>Default Value:</code> value '100.0m'. The <code>freq</code> value is used to set the Signal Source Frequency.
 
[[File:QT_GUI_demo.png|800px]]


== Source Files ==
== Source Files ==

Revision as of 22:09, 19 April 2020

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