pyqt  

Re: [PyQt] Dynamic UI loading and signal connecting

Bruno Tikami
Mon, 28 Apr 2008 07:38:07 -0700

Thanks for the fast reply Phil, I'm gonna try it.

Tkm

On Mon, Apr 28, 2008 at 11:26 AM, Phil Thompson <[EMAIL PROTECTED]>
wrote:

> On Monday 28 April 2008, Bruno Tikami wrote:
> > 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 ?
>
>
> http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qmetaobject.html#connectSlotsByName
>
> Phil
>



-- 
[]s!

Tkm
http://djangopeople.net/brunotikami/
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt