[PyKDE] Using UI files in your app with PyQt4

Detlev Offenbach detlev at die-offenbachs.de
Tue Jan 24 21:47:32 GMT 2006


Am Dienstag, 24. Januar 2006 22:30 schrieb Andreas Pakulat:
> On 24.01.06 22:23:30, Detlev Offenbach wrote:
> > I just installed the latest PyQt4 snapshot, which includes your new
> > autoconnect feature. I compiled a .ui file and tried to find some trace
> > of this feature. However, I didn't succeed (maybe I am getting tiered).
> > How does your autoconnect feature work with compiled .ui files?

I found it, thanks.

>
> I think you are, look for connectSlotsByName in the compiled file. Works
> here perfectly.

Doesn't over here. At least my quick test failed. I have a QSpinBox and wanted 
to have a slot "on_upperspin_valueChanged(self, intValue)" autoconnected. 
However, it gets called with a QString, which is the other signal variant of 
QSpinBox. What do I have to do to make it work?

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list