[PyKDE] cursor change during long activity

Gordon Tyler gordon at doxxx.net
Mon Feb 3 18:10:01 GMT 2003

Matthew Singer wrote:
> I thought I would be able to change the cursor before calling a long to
> execute function with:
>         self.setCursor( QCursor( 3) )
>         qApp.processEvents()
> Obviously, this is not correct.  Any hints on the right way?

Have a look at QApplication.setOverrideCursor. Also, there are named 
constants for the various cursors in PyQt, they're just a bit hard to 
find. I think Qt.waitCursor is the one you're looking for.


More information about the PyQt mailing list