Re: PT GUI SINK (name)
Hi I 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 Text displayed. 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 test Doesn't need quotes - and in general no hyphens - use underscore instead. -- Cinaed On 4/12/21 4:30 AM, alberto.alle...@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 in the windows "Test" don't appear ... why ? Screenshot attacched Tnx Alberto
Re: PT GUI SINK (name)
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 Text displayed. 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 test Doesn't need quotes - and in general no hyphens - use underscore instead. -- Cinaed On 4/12/21 4:30 AM, alberto.alle...@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 in the windows "Test" don't appear ... why ? Screenshot attacched Tnx Alberto
Re: PT GUI SINK (name)
It looks like the sink label/name is not rendered for the QT Sink. On 12/04/2021 13:30, alberto.alle...@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 in the windows "Test" don't appear ... why ? Screenshot attacched Tnx Alberto
Re: PT GUI SINK (name)
Hi Cinaed, nope, that sets the id, i.e. the name of the Python object. That can't affect the Text displayed. 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 > > test > > Doesn't need quotes - and in general no hyphens - use underscore instead. > > -- Cinaed > > On 4/12/21 4:30 AM, alberto.alle...@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 in >> the windows "Test" don't appear ... why ? >> >> Screenshot attacched >> >> Tnx >> Alberto >> >> > >
Re: QT GUI SINK (name) (was: PT GUI SINK (name))
Hi Alberto, you're mixing things up: the window title is not the title of the Qt GUI Sink. You can have many of these in one window! You set the window title in the "Options" block. Best regards, Marcus On 12.04.21 13:30, alberto.alle...@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 in > the windows "Test" don't appear ... why ? > > Screenshot attacched > > Tnx > Alberto > >
Re: PT GUI SINK (name)
Hi Alberto - in the GRC file, open the Options block and set the Id field to test Doesn't need quotes - and in general no hyphens - use underscore instead. -- Cinaed On 4/12/21 4:30 AM, alberto.alle...@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 in the windows "Test" don't appear ... why ? Screenshot attacched Tnx Alberto
Re: PT GUI SINK (name)
You entered Test, but I think you needed to enter “Test” (with quotes) as I think this is a string. Kind Regards, Nik (Sent from a mobile device) > On 12 Apr 2021, at 12:47, alberto.alle...@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 in the windows "Test" don't appear ... why ? > > Screenshot attacched > > Tnx > Alberto > > > >