discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] WX GUI Widgets Under C++


From: Daniel Labarowski
Subject: Re: [Discuss-gnuradio] WX GUI Widgets Under C++
Date: Tue, 21 Aug 2012 13:23:08 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

Josh,
Thanks for the reply. The QT Gui Time Sink sounds like it might be similar to the scope and the Sink sounds like it might be an fft, but I can't seem to get them to run in GRC. I am receiving the error below. It looks like these blocks make a call to top layout which doesn't exist? I built gnuradio using the build-gnuradio script on the 25th of last month.

-Dan

Time Sink
Traceback (most recent call last):
  File "top_block.py", line 59, in <module>
    tb = top_block()
  File "top_block.py", line 41, in __init__
    self.top_layout.addWidget(self._qtgui_time_sink_x_0_win)
  File "top_block.py", line 94, in __getattr__
    return getattr(self._tb, name)
AttributeError: 'gr_top_block_sptr' object has no attribute 'top_layout'

Sink
Traceback (most recent call last):
  File "top_block.py", line 67, in <module>
    tb = top_block()
  File "top_block.py", line 46, in __init__
    self.top_layout.addWidget(self._qtgui_sink_x_0_win)
  File "top_block.py", line 94, in __getattr__
AttributeError: 'gr_top_block_sptr' object has no attribute 'top_layout'
    return getattr(self._tb, name)


On 08/21/2012 12:05 PM, Josh Blum wrote:
The existing WX widgets and windows in gnuradio are exclusively python.
You would have to involve python in your application to use them.

Now, the QTGui widgets, those are written and can be used in C++

-josh


reply via email to

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