code: def starting_long_process(self, message):
          
          self.show_message(message)
          QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
          QApplication.processEvents()
docs: Showing message in main window's status bar.
  
          This also changes mouse cursor to Qt.WaitCursor