Difference between revisions of "QT GUI Digital Number Control"

From GNU Radio
Jump to: navigation, search
(add <code>Added in 3.9</code>; add Gui Hint)
(Parameters)
 
(One intermediate revision by the same user not shown)
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 21: Line 21:
  
 
; Thousands Separator
 
; Thousands Separator
: pull down choices: comma, period, none
+
: options: [Comma, Period, None]
  
 
; Message Property Name
 
; Message Property Name
Line 27: Line 27:
  
 
; Background
 
; Background
: pull down choices
+
: options: [silver, gray, black, white, red, green, blue, navy, yellow, orange, purple, lime, aqua, teal]
  
 
; Font Color
 
; Font Color
: pull down choices
+
: options: see above
  
 
; Read Only
 
; Read Only
: true or false
+
: True / False
  
 
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 03:13, 5 November 2020

While it can be used for anything, this block replicates the frequency display found in many SDR receivers.
Added in 3.9

Parameters[edit]

(R): Run-time adjustable

Id
The variable name
Label
The label of the display
Min Freq (Hz)
The minimum value which can be displayed
Max Freq (Hz)
The maximum value which can be displayed
Value (R)
The initial value to be displayed
Thousands Separator
options: [Comma, Period, None]
Message Property Name
The name paired with the message value
Background
options: [silver, gray, black, white, red, green, blue, navy, yellow, orange, purple, lime, aqua, teal]
Font Color
options: see above
Read Only
True / False

See GUI Hint for how to position the GUI within a window.

Example Flowgraph[edit]

This file can be found at [1]

Test dignum fg.png

Example Output[edit]

Test dignum out.png

Source Files[edit]

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