Re: [PyQt] Some advice needed please

2011-07-31 Thread Martin Airs
On Saturday 30 July 2011 14:43:26 Mike Ramirez wrote: > > just curious, why aren't you using a QTextBrowser[2] for this? looking at > the members list, it has some scroll methods[1] and an append method which > adds the text, and ads all the things you need to implement a modern chat > client rea

Re: [PyQt] Running Python scripts from a SIP-wrapped library

2011-07-31 Thread Jens Thoms Toerring
Hi Matt; On Sat, Jul 30, 2011 at 04:49:07PM -0700, Matt Newell wrote: > My quick guess is that you should not be calling Py_NewInterpreter, but > instead wrap your calls into python code with > > SIP_BLOCK_THREADS > // Call python functions > SIP_UNBLOCK_THREADS > > These are just macros for ca