I think this should work:
qt.QApplication.setOverrideCursor(qt.Qt.WaitCursor)
myFunctionThatTakesLongToExecute()
qt.QApplication.restoreOverrideCursor()
I think this should work:
qt.QApplication.setOverrideCursor(qt.Qt.WaitCursor)
myFunctionThatTakesLongToExecute()
qt.QApplication.restoreOverrideCursor()