Public Member Functions | List of all members
pqWaitCursor Class Reference

RAII component that displays a wait cursor during a long operation. More...

#include <pqWaitCursor.h>

Inheritance diagram for pqWaitCursor:
Inheritance graph
[legend]
Collaboration diagram for pqWaitCursor:
Collaboration graph
[legend]

Public Member Functions

 pqWaitCursor ()
 
 ~pqWaitCursor () override=default
 
- Public Member Functions inherited from pqScopedOverrideCursor
 pqScopedOverrideCursor ()=delete
 
 pqScopedOverrideCursor (Qt::CursorShape cursorShape)
 
virtual ~pqScopedOverrideCursor ()
 

Detailed Description

RAII component that displays a wait cursor during a long operation.

The normal cursor is restored when the pqWaitCursor object goes out-of-scope:

/code { pqWaitCursor cursor; for(i = 0; i != really_big_number; ++i) { DoSomethingTimeConsuming(); } } /endcode

Definition at line 27 of file pqWaitCursor.h.

Constructor & Destructor Documentation

◆ pqWaitCursor()

pqWaitCursor::pqWaitCursor ( )

◆ ~pqWaitCursor()

pqWaitCursor::~pqWaitCursor ( )
overridedefault

The documentation for this class was generated from the following file: