Re: [PyKDE] PyQt4 Menu Seg Fault

2006-01-14 Thread Phil Thompson
On Friday 13 January 2006 9:20 am, Phil Thompson wrote: On Friday 13 January 2006 2:02 am, Doug Bell wrote: Hi - Menus in PyQt4 work fine when a separate action is created and assigned to a menu item, but there is a problem when defining the action within an overloaded QMenu.addAction()

[PyKDE] Support for PyOS_InputHook?

2006-01-14 Thread Giovanni Bajo
Phil, I just learnt of PyOS_InputHook, which is the way that TkInter manages to work from the command line interpreter without needing an explicit event loop. I was thinking it would be great for prototyping if PyQt had this feature too... -- Giovanni Bajo

[PyKDE] connect with signals

2006-01-14 Thread Andreas Pakulat
Hi, is it possible with PyQt4 to connect 2 signals with each other? If so, how? Without an intermediate slot? Andreas -- Accent on helpful side of your nature. Drain the moat. ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de

Re: [PyKDE] connect with signals

2006-01-14 Thread Phil Thompson
On Saturday 14 January 2006 5:59 pm, Andreas Pakulat wrote: Hi, is it possible with PyQt4 to connect 2 signals with each other? If so, how? Without an intermediate slot? The same way you do it in Qt - pass a SIGNAL() rather than a SLOT() as the 4th argument to connect(). The t14.py has an

Re: [PyKDE] connect with signals

2006-01-14 Thread Andreas Pakulat
On 14.01.06 18:18:44, Phil Thompson wrote: On Saturday 14 January 2006 5:59 pm, Andreas Pakulat wrote: Hi, is it possible with PyQt4 to connect 2 signals with each other? If so, how? Without an intermediate slot? The same way you do it in Qt - pass a SIGNAL() rather than a SLOT() as

[PyKDE] PyQt4 QStringList

2006-01-14 Thread Doug Bell
Hi, I've noticed that the use of QStringList is more common in Qt4. But using the C++ stream operators to initialize a it doesn't seem very Pythonic. Would it be possible to allow the QStringList constructor to automatically convert from a Python list of strings? Or am I missing an easier way

[PyKDE] SIP...Need help

2006-01-14 Thread computernet2000
Hi all ! We try to create binding for Ultimate++ lib have most of widgets and non-gui classes (~70%) without Callback system :( We using SIP to wrap the code. this is a simple code ... Callback TheBack::THE_Callback(void *args) { typedef TheBack CLASSNAME; PyObject *p =

[PyKDE] porting qtdemo example

2006-01-14 Thread Andreas Pakulat
Hi, I'm currently porting the qtdemo example, so far the code has no or (hopefully) only little obvious errors. The whole drawing-stuff does not yet work but I have to work my way through the different classes to get that fixed. However, there are some things I'd like to discuss here, as the