QT GUI Msg CheckBox: Difference between revisions
Jump to navigation
Jump to search
(initial creation) |
|||
Line 3: | Line 3: | ||
== Parameters == | == Parameters == | ||
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | <b>(''R''):</b> <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | ||
; Id | ; Id | ||
Line 9: | Line 9: | ||
; Label | ; Label | ||
: the name for the check box | : the name for the check box | ||
; Type | ; Type | ||
: options: [Float, Integer, String, Boolean] | : options: [Float, Integer, String, Boolean] | ||
Line 21: | Line 18: | ||
; Initial State | ; Initial State | ||
: options: [Unchecked, Checked] | : options: [Unchecked, Checked] | ||
Line 32: | Line 27: | ||
; Cell Alignment | ; Cell Alignment | ||
: options: [Center,Left,Right] | : options: [Center,Left,Right] | ||
; Vertical Alignment | ; Vertical Alignment | ||
: options: [Center,Top,Bottom] | : options: [Center,Top,Bottom] | ||
; Message Property Name | ; Message Property Name | ||
: default: value | : default: value | ||
Latest revision as of 17:10, 8 November 2020
This block creates a variable checkbox. Leave the label blank to use the variable id as the label. This checkbox selects between two values of similar type, but will stay clicked until clicked again. The variable will take on one value or the other depending on whether the button is pressed or released. This control also will produce a state message matching the set values.
Added in 3.9
Parameters
(R): Run-time adjustable
- Id
- The variable name
- Label
- the name for the check box
- Type
- options: [Float, Integer, String, Boolean]
- Default Value
- default: 0
- Initial State
- options: [Unchecked, Checked]
- Checked
- default: 1
- Unchecked
- default: 0
- Cell Alignment
- options: [Center,Left,Right]
- Vertical Alignment
- options: [Center,Top,Bottom]
- Message Property Name
- default: value
See GUI Hint for how to position the GUI within a window.
Example Flowgraph
This file can be found at [1]
Example Output
Source Files
- C++ files
- TODO
- Header files
- TODO
- Public header files
- TODO
- Block definition
- TODO