gSAFE  1.3.8
Public Slots | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
HPleaseWaitWindow Class Reference

#include <guilib.h>

Inherits QWidget.

Public Slots

void progress (void)
 

Static Public Member Functions

static void end (void)
 
static HPleaseWaitWindowstart (void)
 
static void step (void)
 

Static Public Attributes

static HPleaseWaitWindowpww = NULL
 

Protected Member Functions

void mouseMoveEvent (QMouseEvent *me)
 
void mousePressEvent (QMouseEvent *me)
 
void paintEvent (QPaintEvent *pe)
 

Protected Attributes

QTime t
 

Detailed Description

HPleaseWaitWindow is an animated work indicator window. You can easily start this animatid window, with calling an everywhere available static function. You don't need to care about the speed of animation, it handled automatically.

hpww.png
while(...) //long time work
{
do_the_job();
...
}

Definition at line 1237 of file guilib.h.

Member Function Documentation

void HPleaseWaitWindow::end ( void  )
static

Call this function to stop and close a work indicator animated splash line window.

See Also
start()
step()
end()

Definition at line 4478 of file guilib.cpp.

void HPleaseWaitWindow::paintEvent ( QPaintEvent *  pe)
protected

You can redefine this function if you would line to change my stupid animation...

Definition at line 4438 of file guilib.cpp.

void HPleaseWaitWindow::progress ( void  )
slot
See Also
step()

Definition at line 4413 of file guilib.cpp.

HPleaseWaitWindow * HPleaseWaitWindow::start ( void  )
static

Call this function to start and show a work indicator animated splash like window.

See Also
start()
step()
end()

Definition at line 4461 of file guilib.cpp.

void HPleaseWaitWindow::step ( void  )
static

Call this function to step the animation of the work indicator window. If you don't call this function regulary the animation stops. Put this funtion to a work cycle to indicate the work. You don't need to care about the speed of animation, it handled automatically.

See Also
start()
step()
end()

Definition at line 4471 of file guilib.cpp.

Member Data Documentation

HPleaseWaitWindow * HPleaseWaitWindow::pww = NULL
static

Pointer of the current HPleaseWaitWindow

Definition at line 1265 of file guilib.h.


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