Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::Ui::OWait Class Reference

modal hour glass dialog More...

#include </home/clem/local/src/opie/libopie2/opieui/owait.h>

List of all members.

Public Slots

void hide ()

Public Member Functions

 OWait (QWidget *parent=0, const char *name=0, bool dispIcon=TRUE)
 ~OWait ()
void show ()
void setTimerLength (int length)

Private Member Functions

void timerEvent (QTimerEvent *)
void paintEvent (QPaintEvent *)

Private Attributes

QPixmap m_pix
QLabel * m_lb
QTimer * m_waitTimer
int m_timerLength
int m_aniSize
Private * d


Detailed Description

modal hour glass dialog

This class displays a animated waiting icon in the middle of the screen.

See also:
QDialog
Author:
Maximilian Rei�

Definition at line 49 of file owait.h.


Constructor & Destructor Documentation

OWait::OWait QWidget *  parent = 0,
const char *  msg = 0,
bool  dispIcon = TRUE
 

This will construct a modal dialog.

The default timer length is 10.

Parameters:
parent The parent of the widget
msg The name of the object
dispIcon Display Icon?

Definition at line 56 of file owait.cpp.

References hide(), Opie::Core::OResource::loadPixmap(), m_aniSize, m_lb, m_pix, m_timerLength, and m_waitTimer.

OWait::~OWait  ) 
 

Definition at line 114 of file owait.cpp.


Member Function Documentation

void OWait::hide  )  [slot]
 

reimplemented for control reasons

Definition at line 101 of file owait.cpp.

References frame, and m_waitTimer.

Referenced by BackupAndRestore::backupRootFs(), BackupAndRestore::backupUserData(), Interface::callProcess(), OWait(), SearchGroup::realSearch(), BackupAndRestore::restore(), InterfaceSetupImp::saveChanges(), Wait::setWaiting(), SearchBar::slotFind(), and Wait::Wait().

void OWait::paintEvent QPaintEvent *   )  [private]
 

Definition at line 86 of file owait.cpp.

References frame, m_aniSize, m_lb, m_pix, and p.

void OWait::setTimerLength int  length  ) 
 

Set the time before the icon will be automaticly hidden The timer will be started once the widget will be shown.

Parameters:
length - time in seconds

Definition at line 109 of file owait.cpp.

References m_timerLength.

void OWait::show  ) 
 

reimplemented for control reasons

Definition at line 92 of file owait.cpp.

References m_aniSize, m_timerLength, m_waitTimer, and qApp.

Referenced by BackupAndRestore::backupRootFs(), BackupAndRestore::backupUserData(), Interface::callProcess(), SearchGroup::realSearch(), BackupAndRestore::restore(), InterfaceSetupImp::saveChanges(), Wait::setWaiting(), and SearchBar::slotFind().

void OWait::timerEvent QTimerEvent *   )  [private]
 

Definition at line 80 of file owait.cpp.

References frame.


Member Data Documentation

Private* Opie::Ui::OWait::d [private]
 

Definition at line 84 of file owait.h.

int Opie::Ui::OWait::m_aniSize [private]
 

Definition at line 83 of file owait.h.

Referenced by OWait(), paintEvent(), and show().

QLabel* Opie::Ui::OWait::m_lb [private]
 

Definition at line 80 of file owait.h.

Referenced by OWait(), and paintEvent().

QPixmap Opie::Ui::OWait::m_pix [private]
 

Definition at line 79 of file owait.h.

Referenced by OWait(), and paintEvent().

int Opie::Ui::OWait::m_timerLength [private]
 

Definition at line 82 of file owait.h.

Referenced by OWait(), setTimerLength(), and show().

QTimer* Opie::Ui::OWait::m_waitTimer [private]
 

Definition at line 81 of file owait.h.

Referenced by hide(), OWait(), and show().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:02:10 2005 for OPIE by  doxygen 1.4.2