QT GUI Chooser: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "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...")
 
No edit summary
Line 8: Line 8:


[[File:Chooser-ex.png|700px]]
[[File:Chooser-ex.png|700px]]
This is what the parameters of the Chooser looked like:


[[File:Chooser-ex2.png|400px]]
[[File:Chooser-ex2.png|400px]]

Revision as of 02:56, 29 December 2018

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.

Example Flowgraph:

Chooser-ex.png

This is what the parameters of the Chooser looked like:

Chooser-ex2.png