[PyQt] Slot disconnection problem
Phil Thompson
phil at riverbankcomputing.co.uk
Fri Jul 27 17:41:12 BST 2007
On Thursday 26 July 2007 8:27 pm, Arve Knudsen wrote:
> On 7/26/07, Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
> > On Thursday 26 July 2007 6:33 pm, Arve Knudsen wrote:
> > > Hello
> > >
> > > I've noticed a problem with PyQt's signal/slot mechanism. If I connect
> > > a signal to a QDialog subclass instance's accept method without using
> >
> > SLOT,
> >
> > > and not having defined that method in the subclass (i.e., it is defined
> >
> > in
> >
> > > the C++ superclass), I am not able to disconnect it. I have to use
> > > SLOT both when connecting and disconnecting for this to work. Is this
> >
> > intended?
> >
> > No - do you have a test script?
>
> This should illustrate the problem.
Fixed in tonight's SIP snapshot. This must have been broken for a long time.
Phil
More information about the PyQt
mailing list