QT GUI Dial: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
== 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 10: | Line 10: | ||
; Label | ; Label | ||
: the name for the dial | : the name for the dial | ||
; Type | ; Type | ||
: | : Float or Integer | ||
; Default Value | ; Default Value | ||
Line 31: | Line 28: | ||
; Show Value | ; Show Value | ||
: default: False | : default: False | ||
; Minimum Size | ; Minimum Size | ||
: default: 100 | : default: 100 | ||
; Message Property Name | ; Message Property Name | ||
: default: 'value' | : default: 'value' | ||
; Color | ; Color | ||
: options: [default, silver, gray, black, white, red, green, blue, navy, yellow, orange, purple, lime, aqua, teal] | : options: [default, silver, gray, black, white, red, green, blue, navy, yellow, orange, purple, lime, aqua, teal] | ||
Latest revision as of 17:01, 8 November 2020
This block creates a dial control. The dial controls a variable which can be used for other items. Leave the label blank to use the variable id as the label. The block also creates an optional message with the control value that can be used in message-based applications. Note the Message Debug output in the Example Output below.
Added in 3.9
Parameters
(R): Run-time adjustable
- Id
- The variable name
- Label
- the name for the dial
- Type
- Float or Integer
- Default Value
- default: 0
- Minimum
- default: 0
- Maximum
- default: 100
- Scale Factor
- default: 1
- Show Value
- default: False
- Minimum Size
- default: 100
- Message Property Name
- default: 'value'
- Color
- options: [default, silver, gray, black, white, red, green, blue, navy, yellow, orange, purple, lime, aqua, teal]
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