A popup screen inviting user to wait, appearing after a delay. More...
#include <klfguiutil.h>
Public Slots | |
virtual void | process () |
![]() | |
virtual void | showPleaseWait () |
Public Member Functions | |
KLFDelayedPleaseWaitPopup (const QString &text, QWidget *callingWidget=NULL) | |
virtual | ~KLFDelayedPleaseWaitPopup () |
virtual void | setDelay (int ms) |
![]() | |
KLFPleaseWaitPopup (const QString &text, QWidget *callingWidget=NULL, bool alwaysAbove=false) | |
virtual | ~KLFPleaseWaitPopup () |
bool | willDisableUi () const |
virtual void | setDisableUi (bool disableUi) |
virtual bool | pleaseWaitShown () const |
virtual bool | wasUserDiscarded () const |
Additional Inherited Members | |
![]() | |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | paintEvent (QPaintEvent *event) |
![]() | |
bool | disableUi |
A popup screen inviting user to wait, appearing after a delay.
See KLFPleaseWaitPopup.
Additionally, this class provides setDelay(int) where you can specify after how much time this popup should be displayed.
Your code should regularly call process(). process() will check current time, and show the widget if the delay has elapsed from the time the widget was constructed.
Definition at line 305 of file klfguiutil.h.
KLFDelayedPleaseWaitPopup::KLFDelayedPleaseWaitPopup | ( | const QString & | text, |
QWidget * | callingWidget = NULL |
||
) |
Definition at line 240 of file klfguiutil.cpp.
References QTime::start().
|
virtual |
Definition at line 245 of file klfguiutil.cpp.
|
virtualslot |
Definition at line 252 of file klfguiutil.cpp.
References QTime::elapsed(), KLFPleaseWaitPopup::pleaseWaitShown(), and KLFPleaseWaitPopup::showPleaseWait().
|
virtual |
Definition at line 248 of file klfguiutil.cpp.