[PyQt] Dynamic UI loading and signal connecting

Bruno Tikami bruno at tikami.com.br
Mon Apr 28 15:16:08 BST 2008


Hi all.

I need to load Qt4 Designer.ui files on the fly and, once I've got the xml
parsed, I have to connect all the signals and slots concerning that form.
I'm planning to transfer the ui xml buffer and the slot objects through
pickle / unpickle. The thing is, I cannot assign custom slots using Qt4
Designer so I cannot specify which signal should be connected to which slot
dynamically.

Using GTK / Glade I know it's possible through

[code]
   gladeBuff.signal_autoconnect(self)
[/code]

Is it possible using PyQt and Qt4 Designer ?

Regards,

Tkm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080428/cf6853af/attachment.html


More information about the PyQt mailing list