[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Slots | Public Member Functions | List of all members
KLFDelayedPleaseWaitPopup Class Reference

A popup screen inviting user to wait, appearing after a delay. More...

#include <klfguiutil.h>

Inheritance diagram for KLFDelayedPleaseWaitPopup:
Inheritance graph
[legend]
Collaboration diagram for KLFDelayedPleaseWaitPopup:
Collaboration graph
[legend]

Public Slots

virtual void process ()
 
- Public Slots inherited from KLFPleaseWaitPopup
virtual void showPleaseWait ()
 

Public Member Functions

 KLFDelayedPleaseWaitPopup (const QString &text, QWidget *callingWidget=NULL)
 
virtual ~KLFDelayedPleaseWaitPopup ()
 
virtual void setDelay (int ms)
 
- Public Member Functions inherited from KLFPleaseWaitPopup
 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

- Protected Member Functions inherited from KLFPleaseWaitPopup
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
- Properties inherited from KLFPleaseWaitPopup
bool disableUi
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ KLFDelayedPleaseWaitPopup()

KLFDelayedPleaseWaitPopup::KLFDelayedPleaseWaitPopup ( const QString text,
QWidget *  callingWidget = NULL 
)

Definition at line 240 of file klfguiutil.cpp.

References QTime::start().

◆ ~KLFDelayedPleaseWaitPopup()

KLFDelayedPleaseWaitPopup::~KLFDelayedPleaseWaitPopup ( )
virtual

Definition at line 245 of file klfguiutil.cpp.

Member Function Documentation

◆ process

void KLFDelayedPleaseWaitPopup::process ( )
virtualslot

◆ setDelay()

void KLFDelayedPleaseWaitPopup::setDelay ( int  ms)
virtual

Definition at line 248 of file klfguiutil.cpp.


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

Generated by doxygen 1.8.13