|
From: | Christophe Seguinot |
Subject: | Re: PT GUI SINK (name) |
Date: | Wed, 14 Apr 2021 17:52:09 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
HiI didn't had time to look at this, so the following expectation may be wrong.
The problem with qtgui sink is probably the same as for the eye_sink I developed.
This QT sink have Mutliple figures, each figure having a title. This title is set using set_title() method which is a method of the main widget class used for every QT xxx sink.
Eye_sink and probably "qtgui sink" are defined from a widget inside a widget; some figures inside a QT Widget.
in case of qtgui sink, one may define a new method set_main_title() in order to have a main_title above the 4 tabs, since the set_title method is probably used for individual figure.
In my case, for the eye_sink, as every individual eye_diagram is titled, I decided not to implement such a main_title. This can be implemented but need some coding .
Regards , Christophe On 14/04/2021 07:12, Cinaed Simson wrote:
Hi Marcus - not to beat a dead horse, but in 3.8, the id sets both name of the python script and name the qtgui sink. In the qtgui sink, the name can be overridden.-- Cinaed On 4/12/21 12:54 PM, Marcus Müller wrote:Hi Cinaed,nope, that sets the id, i.e. the name of the Python object. That can't affect the Textdisplayed. Best regards, Marcus On 12.04.21 21:33, Cinaed Simson wrote:Hi Alberto - in the GRC file, open the Options block and set the Id field to testDoesn't need quotes - and in general no hyphens - use underscore instead.-- Cinaed On 4/12/21 4:30 AM, alberto.alletto@alice.it wrote:Hi to all! Today i have another question.. I have created a small spectrum analyzer and it work fine.But, in the QT GUI SINK, at "Name" field i have writted "Test".....but when i execute inthe windows "Test" don't appear ... why ? Screenshot attacched Tnx Alberto
[Prev in Thread] | Current Thread | [Next in Thread] |