QT GUI Dial: Difference between revisions
Jump to navigation
Jump to search
m (add note) |
|||
Line 4: | Line 4: | ||
== Parameters == | == Parameters == | ||
[ | (''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | ||
; Id | |||
: The variable name | |||
; Label | |||
: dtype: string | |||
: the name for the dial | |||
; Type | |||
: dtype: enum | |||
: default: int | |||
: options: [Float, Integer] | |||
; Default Value | |||
: default: 0 | |||
; Minimum | |||
: default: 0 | |||
; Maximum | |||
: default: 100 | |||
; Scale Factor | |||
: default: 1 | |||
; Show Value | |||
: dtype: bool | |||
: default: False | |||
; Minimum Size | |||
: dtype: int | |||
: default: 100 | |||
; Message Property Name | |||
: dtype: string | |||
: default: 'value' | |||
; Color | |||
: dtype: enum | |||
: default: default | |||
: 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. | See [[GUI Hint]] for how to position the GUI within a window. | ||
Revision as of 16:10, 30 October 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
- dtype: string
- the name for the dial
- Type
- dtype: enum
- default: int
- options: [Float, Integer]
- Default Value
- default: 0
- Minimum
- default: 0
- Maximum
- default: 100
- Scale Factor
- default: 1
- Show Value
- dtype: bool
- default: False
- Minimum Size
- dtype: int
- default: 100
- Message Property Name
- dtype: string
- default: 'value'
- Color
- dtype: enum
- default: default
- 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