QT GUI Entry: Difference between revisions
Jump to navigation
Jump to search
(add note) |
(add Parameters section) |
||
Line 1: | Line 1: | ||
This block creates a variable with a text entry box. | |||
This block creates a variable with a text entry box. | |||
<b>Note: Before version 3.10.8.0, after typing the entry, the 'Enter/Return' key must be pressed.</b> With version 3.10.8.0, the parameter "Update Trigger" allows selection of the 'Enter/Return' key <u>only</u>; or 'Enter/Return' key or 'loss of focus' (clicking on something other than the entry box). | |||
<b> | == Parameters == | ||
<b>(''R''):</b> <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | |||
[[File:QT_GUI_Entry_prop.png]] | |||
; Label | |||
: Leave the label blank to use the variable id as the label. | |||
; Type | |||
: options: [Float, Integer, String, Boolean, Any] | |||
; <b>(''R'')</b> Default Value | |||
: default: '0' | |||
; Update Trigger - only version 3.10.8.0 and after | |||
: options: ["'Enter'", "'Enter' or focus lost"] | |||
; GUI Hint | |||
: See [[GUI Hint]] for how to position the widget within the application. | |||
== Example Output == | |||
[[File:Qt-gui-entry.png]] | [[File:Qt-gui-entry.png]] | ||
== Source Files == | |||
; C++ files | |||
: [https://github.com/gnuradio/gnuradio TODO] | |||
; Header files | |||
: [https://github.com/gnuradio/gnuradio TODO] | |||
; Public header files | |||
: [https://github.com/gnuradio/gnuradio TODO] | |||
; Block definition | |||
: [https://github.com/gnuradio/gnuradio/blob/main/gr-qtgui/grc/qtgui_entry.block.yml qtgui_entry.block.yml] | |||
[[Category:Block Docs]] |
Revision as of 17:05, 21 October 2023
This block creates a variable with a text entry box.
Note: Before version 3.10.8.0, after typing the entry, the 'Enter/Return' key must be pressed. With version 3.10.8.0, the parameter "Update Trigger" allows selection of the 'Enter/Return' key only; or 'Enter/Return' key or 'loss of focus' (clicking on something other than the entry box).
Parameters
(R): Run-time adjustable
- Label
- Leave the label blank to use the variable id as the label.
- Type
- options: [Float, Integer, String, Boolean, Any]
- (R) Default Value
- default: '0'
- Update Trigger - only version 3.10.8.0 and after
- options: ["'Enter'", "'Enter' or focus lost"]
- GUI Hint
- See GUI Hint for how to position the widget within the application.
Example Output
Source Files
- C++ files
- TODO
- Header files
- TODO
- Public header files
- TODO
- Block definition
- qtgui_entry.block.yml