Difference between revisions of "GUI Hint"

From GNU Radio
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
All of the QT GUI widgets and plots have a parameter called GUI Hint.  This is used to arrange GUIs in the window, as well as assign them to tabs.
+
All of the QT GUI widgets and plots have a parameter called GUI Hint.  This is used to arrange GUIs in the window, as well as assign them to tabs in a [[QT GUI Tab Widget]].
  
 
[[File:Gui-hint-ex-2.png]]
 
[[File:Gui-hint-ex-2.png]]
Line 10: Line 10:
  
 
[[File:Gui-hint-ex.png]]
 
[[File:Gui-hint-ex.png]]
 +
 +
 +
To assign GUIs to certain tabs using the [[QT GUI Tab Widget]], use the format:
 +
 +
tab_id@0
 +
 +
tab_id@1
 +
 +
etc.
 +
 +
Note that tab_id is the ID of your [[QT GUI Tab Widget]]
 +
 +
You can combine the row/col and the tab format using a colon, e.g.:
 +
 +
tab_id@1 : 0,0,1,1

Latest revision as of 05:52, 27 December 2018

All of the QT GUI widgets and plots have a parameter called GUI Hint. This is used to arrange GUIs in the window, as well as assign them to tabs in a QT GUI Tab Widget.

Gui-hint-ex-2.png

The format is:

(row, column, row span, column span)

For example,

Gui-hint-ex.png


To assign GUIs to certain tabs using the QT GUI Tab Widget, use the format:

tab_id@0

tab_id@1

etc.

Note that tab_id is the ID of your QT GUI Tab Widget

You can combine the row/col and the tab format using a colon, e.g.:

tab_id@1 : 0,0,1,1