QT GUI Chooser: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
See [[GUI Hint]] for how to position the GUI within your window.
See [[GUI Hint]] for how to position the GUI within your window.


Example Flowgraph:
== Example Flowgraph ==


[[File:Chooser-ex.png|700px]]
[[File:Chooser-ex.png|700px]]

Revision as of 03:11, 15 July 2019

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