2026-11-13 03:29:59 +08:00
|
|
|
#ifndef WAITCURSOR_H
|
|
|
|
|
#define WAITCURSOR_H
|
|
|
|
|
|
|
|
|
|
class WaitCursor
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
WaitCursor() { QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); }
|
|
|
|
|
~WaitCursor() { QApplication::restoreOverrideCursor(); }
|
|
|
|
|
protected:
|
|
|
|
|
private:
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|