A popup screen inviting user to wait, appearing after a delay. More...
#include <klfguiutil.h>
Public Slots | |
virtual void | process () |
Public Member Functions | |
KLFDelayedPleaseWaitPopup (const QString &text, QWidget *callingWidget=NULL) | |
virtual | ~KLFDelayedPleaseWaitPopup () |
virtual void | setDelay (int ms) |
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().
KLFDelayedPleaseWaitPopup::~KLFDelayedPleaseWaitPopup | ( | ) | [virtual] |
Definition at line 245 of file klfguiutil.cpp.
void KLFDelayedPleaseWaitPopup::process | ( | ) | [virtual, slot] |
Definition at line 252 of file klfguiutil.cpp.
References QTime::elapsed(), KLFPleaseWaitPopup::pleaseWaitShown(), and KLFPleaseWaitPopup::showPleaseWait().
void KLFDelayedPleaseWaitPopup::setDelay | ( | int | ms | ) | [virtual] |
Definition at line 248 of file klfguiutil.cpp.