GUI Hint: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
Note that tab_id is the ID of your [[QT GUI Tab Widget]]
Note that tab_id is the ID of your [[QT GUI Tab Widget]]


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


tab_id@1 : [0, 0, 1, 1].
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