GUI Hint: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 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 12: Line 12:




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


tab@0
tab_id@0


tab@1
tab_id@1


etc.
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