[PyQt] QSpinBox and setLineEdit
Matt Smith
melkor at orangepalantir.org
Fri Jan 30 15:08:17 GMT 2009
On Fri, 2009-01-30 at 16:00 +0100, Mads Ipsen wrote:
> Yes, this will do the trick provided that the function you connect to does
> not take to long to update. In that case the spin box jams or locks and does
> several increments of its value. This is exactly why I want to connect to
> the lineedit since this is first updated once the function you connect to
> returns. I post a small cone snippet in a separate post that illustrates
> this.
>
> Mads
I think that is because of where the signal is connected, if you are
going to run a process that takes a long time, connect it to something
other than line edit and it should run w/out pausing the line edit.
mbs
More information about the PyQt
mailing list