discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Python chaos


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Python chaos
Date: Wed, 7 May 2014 09:29:41 -0400

On Wed, May 7, 2014 at 3:43 AM, Vanush Vaswani <address@hidden> wrote:
Tom,

Have you looked at PyQtGraph? I've had some success with it.

Vanush

Thanks for the suggestion! Yes, I have looked at it. It looks like a great project for working directly in Python, but we mostly do all of our plotting in QT C++ and export. The use of PyQWT is specifically to get us QWT widgets like the range, check boxes, radio buttons, etc. Pretty much what you see under "GUI Tools -> QT" in the GRC block list. It doesn't look like PyQtGraph provides equivalents to those (or even anything that would effectively replace them).

Tom


 
On Thu, Dec 5, 2013 at 1:50 AM, Tom Rondeau <address@hidden> wrote:
On Wed, Dec 4, 2013 at 4:49 AM, Stefan Gofferje <address@hidden> wrote:
> Well, joy was short... I added a QT GUI range item and...
>
> Traceback (most recent call last):
>   File "/home/sgofferj/top_block.py", line 16, in <module>
>     import PyQt4.Qwt5 as Qwt
> ImportError: No module named Qwt5
>
> libqwt5 *is* installed and there's no "qwt5" package in any repo I know
> off...


You must also have python-qwt5 (or PyQWT) installed to use these widgets.

And to respond to the above comment from the OpenSUSE mailing list you
posted, this is /not/ reinventing the wheel. We are doing something
completely different with Qwt than what PyQwt does to make all of the
blocks work in C++. We make our own QWT widgets in C++ and then export
those. But we also use PyQWT for things that are naturally supported
there.

Plus, PyQWT has stopped development and has even stated that they will
not support QWT6, which is a shame and will eventually cause us and
anyone else trying to use PyQWT real issues in the future. I've been
looking for an alternative to it.

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]