RAII component that overrides the mouse cursor during an operation. More...
#include <pqScopedOverrideCursor.h>
Public Member Functions | |
pqScopedOverrideCursor ()=delete | |
pqScopedOverrideCursor (Qt::CursorShape cursorShape) | |
virtual | ~pqScopedOverrideCursor () |
RAII component that overrides the mouse cursor during an operation.
The normal cursor is restored when the pqScopedOverrideCursor object goes out-of-scope:
/code { pqScopedOverrideCursor cursor(Qt::WaitCursor); for(i = 0; i != really_big_number; ++i) { DoSomethingTimeConsuming(); } } /endcode
Definition at line 26 of file pqScopedOverrideCursor.h.
|
delete |
pqScopedOverrideCursor::pqScopedOverrideCursor | ( | Qt::CursorShape | cursorShape | ) |
|
virtual |