[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Two instances of QT GUI Sink in a single program

From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Two instances of QT GUI Sink in a single program
Date: Mon, 29 Aug 2011 12:20:49 -0400

On Sun, Aug 28, 2011 at 7:15 AM, Sivan Toledo <address@hidden> wrote:
> Thanks Tom. I guess I did not make myself clear. I do have several QT GUI
> blocks in the program, which I indeed generate using GRC. I have many
> sliders, a checkbox, and a sink (FFT). If I add a slider, I see it on the
> screen when I run the new program. When when I add a sink block, there is
> still only one FFT display, showing the results from one of the FFT blocks.
> The problem is only with the QT Sink block, not with all the QT blocks.
> Sivan

When you create more than one GT GUI window, they get stacked
vertically. It's likely that one is just off screen. Look into using
the QT GUI Tab Widget to be able to tab between windows. It helps
clean up the desktop.


> On Sun, Aug 28, 2011 at 12:14 AM, Tom Rondeau <address@hidden>
> wrote:
>> On Thu, Aug 25, 2011 at 4:41 AM, Sivan Toledo <address@hidden>
>> wrote:
>> > Is it possible to put two QT GUI Sinks (FFT displays) in a single
>> > application window? I want to use one to show the radio spectrum
>> > (to/from
>> > UHD) and another to show the audio spectrum, at the same time.
>> >
>> > When I put two QT GUI Sink blocks in a GRC graph, I see only one of them
>> > in
>> > the application windows, unlike QT GUI Entries and other GUI elements
>> > that
>> > can have many instances in the same window.
>> >
>> > Thanks, Sivan Toledo
>> You can definitely have more than one QT GUI blocks in a program. It's
>> probably an initialization problem that's going wrong in your code.
>> You can see multiple QT GUI's used in
>> gnuradio-examples/python/digital/benchmark_qt_loopback.py.
>> Also, gnuradio-companion now works with QT GUI (set in the Options
>> block), and it handles multiple QT GUI blocks. You could create
>> something there, build the flow graph, and then see how the QT GUI
>> objects are manipulated to make sure they all get shown properly.
>> Tom
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]