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 |
![]() | |
Alignment | |
TextFormat | |
TextInteractionFlags | |
QLabel (QWidget *parent=0, Qt::WindowFlags f=0) | |
QLabel (const QString &text, QWidget *parent=0, Qt::WindowFlags f=0) | |
buddy () | |
clear () | |
linkActivated (const QString &link) | |
linkHovered (const QString &link) | |
movie () | |
picture () | |
setBuddy (QWidget *buddy) | |
setMovie (QMovie *movie) | |
setNum (int num) | |
setNum (double num) | |
setPicture (const QPicture &picture) | |
QLabel (QWidget *parent, const char *name, Qt::WindowFlags f=0) | |
QLabel (const QString &text, QWidget *parent, const char *name, Qt::WindowFlags f=0) | |
QLabel (QWidget *buddy, const QString &text, QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0) | |
setAlignment (int alignment) | |
Additional Inherited Members | |
![]() | |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | paintEvent (QPaintEvent *event) |
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 239 of file klfguiutil.cpp.
References QTime::start().
|
virtual |
Definition at line 244 of file klfguiutil.cpp.
|
virtualslot |
Definition at line 251 of file klfguiutil.cpp.
References QTime::elapsed(), KLFPleaseWaitPopup::pleaseWaitShown(), and KLFPleaseWaitPopup::showPleaseWait().
|
virtual |
Definition at line 247 of file klfguiutil.cpp.