[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Dynamic UI loading and signal connecting
From: "Bruno Tikami" <bruno () tikami ! com ! br>
Date: 2008-04-28 14:36:40
Message-ID: 6fd74a2a0804280736j6226f867n9769da4aac95d4f7 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks for the fast reply Phil, I'm gonna try it.
Tkm
On Mon, Apr 28, 2008 at 11:26 AM, Phil Thompson <phil@riverbankcomputing.com>
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/
[Attachment #5 (text/html)]
Thanks for the fast reply Phil, I'm gonna try it.<br><br>Tkm<br><br><div \
class="gmail_quote">On Mon, Apr 28, 2008 at 11:26 AM, Phil Thompson <<a \
href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div \
class="Wj3C7c">On Monday 28 April 2008, Bruno Tikami wrote:<br> > Hi all.<br>
><br>
> I need to load Qt4 Designer.ui files on the fly and, once I've got the \
xml<br> > parsed, I have to connect all the signals and slots concerning that \
form.<br> > I'm planning to transfer the ui xml buffer and the slot objects \
through<br> > pickle / unpickle. The thing is, I cannot assign custom slots using \
Qt4<br> > Designer so I cannot specify which signal should be connected to which \
slot<br> > dynamically.<br>
><br>
> Using GTK / Glade I know it's possible through<br>
><br>
> [code]<br>
> gladeBuff.signal_autoconnect(self)<br>
> [/code]<br>
><br>
> Is it possible using PyQt and Qt4 Designer ?<br>
<br>
</div></div><a href="http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qmetaobject.html#connectSlotsByName" \
target="_blank">http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qmetaobject.html#connectSlotsByName</a><br>
<font color="#888888"><br>
Phil<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>[]s!<br><br>Tkm<br><a \
href="http://djangopeople.net/brunotikami/">http://djangopeople.net/brunotikami/</a>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic