Class used for management cursors.
#include <SUIT_OverrideCursor.h>
Public Member Functions | |
SUIT_OverrideCursor () | |
SUIT_OverrideCursor (const QCursor &) | |
virtual | ~SUIT_OverrideCursor () |
bool | isActive () const |
void | suspend () |
void | resume () |
Private Attributes | |
QList< QCursor > | myCursors |
SUIT_OverrideCursor::SUIT_OverrideCursor | ( | ) |
Constructor. Initialize wait cursor.
SUIT_OverrideCursor::SUIT_OverrideCursor | ( | const QCursor & | cursor | ) |
Copy constructor.
|
virtual |
Destructor. restoring override cursor.
bool SUIT_OverrideCursor::isActive | ( | ) | const |
Check cursors is empty
References myCursors.
void SUIT_OverrideCursor::resume | ( | ) |
Resume cursors.
References isActive(), and myCursors.
void SUIT_OverrideCursor::suspend | ( | ) |
Suspend cursors.
References isActive(), and myCursors.
|
private |