Qt设置鼠标等待状态和恢复


如下:

QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); //等待旋转
QApplication::restoreOverrideCursor();            //恢复