Re: [PyQt] SIP: how to add a new annotation

2007-10-05 Thread Giovanni Bajo
On 10/4/2007 6:11 PM, Phil Thompson wrote: You'd need to define a new over flag in sip.h, set it in parser.y and test it (and generate the necessary code) in gencode.c. Thanks! Or you could use the existing PreHook annotation. But I'd have to duplicate the code for every function I need

Re: [PyQt] SIP: how to add a new annotation

2007-10-05 Thread Phil Thompson
On Friday 05 October 2007, Giovanni Bajo wrote: On 10/4/2007 6:11 PM, Phil Thompson wrote: You'd need to define a new over flag in sip.h, set it in parser.y and test it (and generate the necessary code) in gencode.c. Thanks! Or you could use the existing PreHook annotation. But I'd

[PyQt] Re: Building on Fedora 7

2007-10-05 Thread Rex Dieter
Rex Dieter wrote: Jeremy Sanders wrote: It appears PyQt-x11-gpl-4.3.1 is not picking up that the Qt libraries on Fedora 7 are shared. This is with the latest qt4-4.3.1-3.fc7 package. fyi, see PyQt4 fedora package review: http://bugzilla.redhat.com/190189 Good news! the package review

[PyQt] Re: Building on Fedora 7

2007-10-05 Thread Rex Dieter
Jeremy Sanders wrote: Rex Dieter wrote: Good news! the package review is (finally) finished/approved, so PyQt4 will be making it's way into Fedora posthaste. Great! It's a shame it's not 4.3.x yet - working on it! :) sip/PyQt/PyQt4 updates coming soon. I don't suppose you'd patch

[PyQt] Re: Building on Fedora 7

2007-10-05 Thread Jeremy Sanders
Rex Dieter wrote: Good news! the package review is (finally) finished/approved, so PyQt4 will be making it's way into Fedora posthaste. Great! It's a shame it's not 4.3.x yet - it would be nice to actually be able to use dialog boxes created with the Qt-4.3 designer (which is shipped with

[PyQt] Re: Building on Fedora 7

2007-10-05 Thread Jeremy Sanders
Rex Dieter wrote: Let's see if I can help make PyQt4-4.3.x happen soon first. I'll have to update my package Veusz to the Qt4 version... -- http://www.jeremysanders.net/ ___ PyQt mailing listPyQt@riverbankcomputing.com

[PyQt] pyuic expects certain property methods in Designer plugins

2007-10-05 Thread Arve Knudsen
Hi I've just written a Designer plugin in Python, which I have to say is very nice. However I discovered some surprising behaviour in pyuic. My widget contains Qt properties (defined using pyqtProperty), but the generated code don't use the properties, instead it tries to use the underlying

[PyQt] Dumb question about QAction

2007-10-05 Thread Nahuel Defossé
Hi, I'm sure there's a simple answer for this question. I have a QSystemTrayIcon which sets its context menu with a custom class I wrote with a few actions (exit, start, stop, status). I conntect signals with QtCore.QMetaObject.connectSlotsByName(self), after I've set up all actions in the menu