Re: [PyQt] Is there a way to run the interp AND a gui?

2010-03-04 Thread Ville M. Vainio
On Thu, Mar 4, 2010 at 4:51 AM, Jason H scorp...@yahoo.com wrote: Undoubtedly, that would work for showing the widget. And yes, I've done that much. Unless something has changed recently,  I eventually have to call app.exec_(), which would block until last window has closed... You shouldn't

Re: [PyQt] Is there a way to run the interp AND a gui?

2010-03-04 Thread Phil Thompson
On Wed, 3 Mar 2010 18:51:35 -0800 (PST), Jason H scorp...@yahoo.com wrote: Undoubtedly, that would work for showing the widget. And yes, I've done that much. Unless something has changed recently, I eventually have to call app.exec_(), which would block until last window has closed... I

Re: [PyQt] Is there a way to run the interp AND a gui?

2010-03-04 Thread Ville M. Vainio
On Thu, Mar 4, 2010 at 10:29 AM, V. Armando Solé s...@esrf.fr wrote: When you start ipython as ipython -q4thread you have what you seem to be looking for. Perhaps it is worth to take That feature of ipython is deprecated, even with ipython you should just use the normal inputhook hack. --

Re: [PyQt] Is there a way to run the interp AND a gui?

2010-03-04 Thread Jason H
Hah, I guess I am showing my old VB colors :-) This is freaking awesome! - Original Message From: Phil Thompson p...@riverbankcomputing.com To: Jason H scorp...@yahoo.com Cc: PyQt pyqt@riverbankcomputing.com Sent: Thu, March 4, 2010 3:58:56 AM Subject: Re: [PyQt] Is there a way to

Re: [PyQt] Is there a way to run the interp AND a gui?

2010-03-03 Thread Phil Thompson
On Tue, 2 Mar 2010 15:04:37 -0800 (PST), Jason H scorp...@yahoo.com wrote: I am working on the new Qt/Kinetic stuff and one thing I would really like to have is an interactive GUI for it. Ideally, I'd have something like the interactive interpreter, which when I type x=QGrahpicsTextItem(...)

Re: [PyQt] Is there a way to run the interp AND a gui?

2010-03-03 Thread Jason H
Undoubtedly, that would work for showing the widget. And yes, I've done that much. Unless something has changed recently, I eventually have to call app.exec_(), which would block until last window has closed... I seems the previous email of calling eval() might be the right route. -

[PyQt] Is there a way to run the interp AND a gui?

2010-03-02 Thread Jason H
I am working on the new Qt/Kinetic stuff and one thing I would really like to have is an interactive GUI for it. Ideally, I'd have something like the interactive interpreter, which when I type x=QGrahpicsTextItem(...) and add it to the scene, it appears in the scene. Then I can do that with

Re: [PyQt] Is there a way to run the interp AND a gui?

2010-03-02 Thread Andreas Pakulat
On 02.03.10 15:04:37, Jason H wrote: I am working on the new Qt/Kinetic stuff and one thing I would really like to have is an interactive GUI for it. Ideally, I'd have something like the interactive interpreter, which when I type x=QGrahpicsTextItem(...) and add it to the scene, it appears