QT GUI Dial: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
m (add note)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
== Parameters ==
== Parameters ==


[[File:GUI_Dial_parms.png]]
<b>(''R''):</b> <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
 
; 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]


Note: underlined items are run-time adjustable.<br>
See [[GUI Hint]] for how to position the GUI within a window.
See [[GUI Hint]] for how to position the GUI within a window.



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]

Test dialcontrol fg.png

Example Output

Test dialcontrol out.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO