[PyKDE] Using UI files in your app with PyQt4
phil at riverbankcomputing.co.uk
Tue Jan 24 22:07:37 GMT 2006
On Tuesday 24 January 2006 9:47 pm, Detlev Offenbach wrote:
> 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?
Look at the comments in the calculatorform.py example. I don't think there is
anything else I can do about this.
More information about the PyQt