QT GUI Chooser: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(replaced pictures)
Line 1: Line 1:
[[Category:Block Docs]]
This block creates a variable with enumerated options. The gui widget is implemented as a combo box or radio button group. When the label is left blank, the option will be used as the label. Set the number of options to "list" to enter a single list of options and labels.
This block creates a variable with enumerated options. The gui widget is implemented as a combo box or radio button group. Leave the label blank to use the variable id as the label.
 
Choose the number of options available to your chooser. When the label is left blank, the option will be used as the label. Set the number of options to "list" to enter a single list of options and labels. When the labels is an empty list, the options will be used as the label.


See [[GUI Hint]] for how to position the GUI within your window.
See [[GUI Hint]] for how to position the GUI within your window.
Line 8: Line 5:
== Example Flowgraph ==
== Example Flowgraph ==


[[File:Chooser-ex.png|700px]]
This shows the QT GUI Chooser block and how it looks in the output.


This is what the parameters of the Chooser looked like:
[[File:FunCube_AM_out.png]]


[[File:Chooser-ex2.png|400px]]
Here are what the parameters of the Chooser looked like:
 
[[File:FunCube_AM_prop.png|100]]
 
[[Category:Block Docs]]

Revision as of 21:09, 15 April 2020

This block creates a variable with enumerated options. The gui widget is implemented as a combo box or radio button group. When the label is left blank, the option will be used as the label. Set the number of options to "list" to enter a single list of options and labels.

See GUI Hint for how to position the GUI within your window.

Example Flowgraph

This shows the QT GUI Chooser block and how it looks in the output.

FunCube AM out.png

Here are what the parameters of the Chooser looked like:

100