[PyQt] Multi-threading and live-plotting software.

2012-02-28 Thread Fabien Lafont
Hello everyone, I'm trying to plot live data. I manage to do it but the only problem is it's a bit laggy because I'm comunicating with devices and it takes few seconds to receive the datas. During this delay the plot (matplotlib) is not responsive, and it's a bit problematic for my application.

Re: [PyQt] Text write on effect

2012-02-28 Thread JPolk
Bravo Wilbert!...pure genius!that solution never occurred to meThank you very much! -- View this message in context: http://python.6.n6.nabble.com/Text-write-on-effect-tp4518350p4523288.html Sent from the PyQt mailing list archive at Nabble.com.

Re: [PyQt] isRunning() returns true after QThread completion

2012-02-28 Thread Lars Beiderbecke
Hello Hans-Peter, Thanks for your answer! The connection type default Qt.AutoConnection should be equivalent to Qt.QueuedConnection, which in turn should be the right kind of connection to avoid race conditions. With both types, however, I do experience a race condition. With type

Re: [PyQt] Gui best practice

2012-02-28 Thread JPolk
I also use the second method...for me, it's more direct...and let's me make very small tweeks to the UI (via the .ui file) without requiring modifying any source code...unless it needs it of course,... -- View this message in context:

Re: [PyQt] Gui best practice

2012-02-28 Thread paolo
So for best performance at runtime it's prefereble to choose the first option Thank you On Wed, 29 Feb 2012 00:44:32 +0800, Goldfish Huang hgoldf...@gmail.com wrote: The second depends on Qt,QtXml and PyQt4.uic. They cause inconvenience when you distributing your PyQt program. And, the program

Re: [PyQt] Gui best practice

2012-02-28 Thread Rapczak, Jesse
I use the second option, but I noticed that python errors from functions called by my UI are not reported in Maya when using uic. Has anyone else noticed this? Maybe I'm just doing it wrong. It's fine once I notice an error is happening but it silently fails and I often won't even realize there