Re: [PyQt] Sip generates wrong argument parsing code

2008-06-12 Thread Phil Thompson
On Wednesday 11 June 2008 6:13:21 pm Olaf Schumann wrote: Hello, I have a problem with sip 4.7.6 under both linux and windows I wrap a self-written C++-library for Python. For a Matrix-Object I implement a __getitem__ and __setitem__ method in the sip-file with two integer arguments. While

[PyQt] Adding multiple actions

2008-06-12 Thread David Klasinc
Greetings, I have more Qt oriented question about adding actions. If I add several actions to a toolbar, how do I refer to them later? myToolBar.addAction (Button 1) myToolBar.addAction (Button 2) myToolBar.addAction (Button 3) myToolBar.addAction (Button 4) How to connect those action's

[PyQt] Re: Adding multiple actions

2008-06-12 Thread Alberto Berti
David == David Klasinc [EMAIL PROTECTED] writes: David Greetings, I have more Qt oriented question about adding David actions. If I add several actions to a toolbar, how do I David refer to them later? you can prepare actions before adding them to the tolbar, But you can always

[PyQt] Re: RAD with PyQt?

2008-06-12 Thread Alberto Berti
I forgot to mention that: dev news are at http://www.pypapi.org/rdg/timeline and source code and changes browser is at http://www.pypapi.org/rdg/browser . ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] Re: Adding multiple actions

2008-06-12 Thread David Klasinc
Alberto Berti wrote: QSignalMapper: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qsignalmapper.html cheers Works like a charm, many thanks! regards, David ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] Re: RAD with PyQt?

2008-06-12 Thread Aaron Digulla
Quoting Alberto Berti [EMAIL PROTECTED]: I forgot to mention that: dev news are at http://www.pypapi.org/rdg/timeline and source code and changes browser is at http://www.pypapi.org/rdg/browser . Is there an English version of the docs somewhere? I have a hard time to follow the Italian

Re: [PyQt] Re: RAD with PyQt?

2008-06-12 Thread lotrpy
On Thu, Jun 12, 2008 at 6:54 PM, Aaron Digulla [EMAIL PROTECTED] wrote: Quoting Alberto Berti [EMAIL PROTECTED]: I forgot to mention that: dev news are at http://www.pypapi.org/rdg/timeline and source code and changes browser is at http://www.pypapi.org/rdg/browser . Is there an English

Re: [PyQt] RAD with PyQt?

2008-06-12 Thread johnf
On Wednesday 11 June 2008 08:56:58 am Aaron Digulla wrote: Hello, I was wondering: Is there a Rapid Application Development framework to quickly write apps with PyQt? Specifically, I'm looking for these features: - Connect model fields (properties) to UI elements (for example, string

Re: [PyQt] RAD with PyQt?

2008-06-12 Thread Phil Thompson
On Wednesday 11 June 2008 4:56:58 pm Aaron Digulla wrote: Hello, I was wondering: Is there a Rapid Application Development framework to quickly write apps with PyQt? Specifically, I'm looking for these features: - Connect model fields (properties) to UI elements (for example, string

[PyQt] Next Releases of PyQt and SIP and Updated Windows Installer

2008-06-12 Thread Phil Thompson
-Py2.5-gpl-4.4.3-snapshot-20080612-1.exe Those with an interest in how and where things get installed to should check it out to make sure it is what you want. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com

Re: [PyQt] Re: RAD with PyQt?

2008-06-12 Thread David Boddie
On Thu Jun 12 11:11:46 BST 2008, Alberto Berti wrote: I forgot to mention that: dev news are at http://www.pypapi.org/rdg/timeline and source code and changes browser is at http://www.pypapi.org/rdg/browser . Does this project share some of the same goals as PyDADL?

[PyQt] /NewThread/, and Python stack in Visual Studio

2008-06-12 Thread Kevin Watters
I noticed /NewThread/ on QThread and QRunnable in the PyQT source-- and a peek at the source code shows SIP creating thread local structures for pending objects. My app creates threads, but only through Python's threading module. Do I need to use /NewThread/, or call something like

Re: [PyQt] /NewThread/, and Python stack in Visual Studio

2008-06-12 Thread Phil Thompson
On Thursday 12 June 2008 3:50:00 pm Kevin Watters wrote: I noticed /NewThread/ on QThread and QRunnable in the PyQT source-- and a peek at the source code shows SIP creating thread local structures for pending objects. My app creates threads, but only through Python's threading module. Do I

[PyQt] reading from stdin breaks on .close()

2008-06-12 Thread Markus Straub
Hello, I noticed that a program which is reading data from stdin will stop doing so as soon as .close() has been evoked onto a PyQt4-element. Does anybody know what is exactly happening (broken pipe? pipe output redirectt?) and if this is a known and valid behaviour? It seems to me that this

[PyQt] Re: /NewThread/, and Python stack in Visual Studio

2008-06-12 Thread Kevin Watters
Phil Thompson phil at riverbankcomputing.com writes: On Thursday 12 June 2008 3:50:00 pm Kevin Watters wrote: I noticed /NewThread/ on QThread and QRunnable in the PyQT source-- and a peek at the source code shows SIP creating thread local structures for pending objects. My app

Re: [PyQt] Re: /NewThread/, and Python stack in Visual Studio

2008-06-12 Thread Giovanni Bajo
On 6/12/2008 6:44 PM, Kevin Watters wrote: Anyone lucky enough to be using Visual Studio for their SIP projects have any advice on the Python stack trace issue? Not that I know of, but please let me know if you find out something. -- Giovanni Bajo Develer S.r.l. http://www.develer.com

Re: [PyQt] Next Releases of PyQt and SIP and Updated Windows Installer

2008-06-12 Thread Erick Tryzelaar
On Thu, Jun 12, 2008 at 7:29 AM, Phil Thompson [EMAIL PROTECTED] wrote: PyQt v4.4.3 and SIP v4.7.7 should be released some time over the next week. The emphasis is on fixing regressions and pyuic4 catching up with the changes in Qt v4.4. Hi Phil, Did you get a chance to look at my sip

[PyQt] Re: Next Releases of PyQt and SIP and Updated Windows Installer

2008-06-12 Thread kib2
Hi Phil, I had to switch to Windows for the moment, so I gave the new installer a test. Great work : even the Custom widget plugins are working fine now. Cheers, Christophe K. ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] segfault / infinite loop in sip's parser

2008-06-12 Thread Phil Thompson
On Wednesday 04 June 2008 12:15:05 am Erick Tryzelaar wrote: Hello again, I'm still trying to track down the other segfaults, but in the process I found one in sip's grammar. I found that if I edited pyqt4's sip/phonon/phononmod.sip to be: %Module PyQt4.phonon 0 %Import

Re: [PyQt] patch to fix segfault on mac

2008-06-12 Thread Phil Thompson
On Wednesday 04 June 2008 5:09:25 am Erick Tryzelaar wrote: I tracked down another segfault for me on the mac. I wasn't able to do import PyQt4.QtWebKit using the sip 4.7.4 You can't build PyQt v4.4 with SIP v4.7.4. and pyqt4 4.4.2. The problem turned out to be how the superclasses were