[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&#39;m gonna try it.<br><br>Tkm<br><br><div \
class="gmail_quote">On Mon, Apr 28, 2008 at 11:26 AM, Phil Thompson &lt;<a \
href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>&gt; \
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> &gt; Hi all.<br>
&gt;<br>
&gt; I need to load Qt4 Designer.ui files on the fly and, once I&#39;ve got the \
xml<br> &gt; parsed, I have to connect all the signals and slots concerning that \
form.<br> &gt; I&#39;m planning to transfer the ui xml buffer and the slot objects \
through<br> &gt; pickle / unpickle. The thing is, I cannot assign custom slots using \
Qt4<br> &gt; Designer so I cannot specify which signal should be connected to which \
slot<br> &gt; dynamically.<br>
&gt;<br>
&gt; Using GTK / Glade I know it&#39;s possible through<br>
&gt;<br>
&gt; [code]<br>
&gt; &nbsp; &nbsp;gladeBuff.signal_autoconnect(self)<br>
&gt; [/code]<br>
&gt;<br>
&gt; 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