libopie API Documentation

OWait Class Reference

This class displays a animated waiting icon in the middle of the screen. modal hour glass dialog. More...

#include <owait.h>

Inheritance diagram for OWait:

Inheritance graph
[legend]
Collaboration diagram for OWait:

Collaboration graph
[legend]
List of all members.

Public Slots

void hide ()
 reimplemented for control reasons


Public Member Functions

 OWait (QWidget *parent=0, const char *name=0, bool dispIcon=TRUE)
 This will construct a modal dialog.

void show ()
 reimplemented for control reasons

void setTimerLength (int length)
 Set the time before the icon will be automaticly hidden The timer will be started once the widget will be shown.


Detailed Description

This class displays a animated waiting icon in the middle of the screen. modal hour glass dialog.

See also:
QDialog
Author:
Maximilian Reiß

Definition at line 37 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 41 of file owait.cpp.

References QLayout::activate(), QBoxLayout::addWidget(), QObject::connect(), QPixmap::height(), hide(), Resource::loadPixmap(), QWidget::resize(), and QWidget::setBackgroundMode().


Member Function Documentation

void OWait::show  ) 
 

reimplemented for control reasons

Reimplemented from QDialog.

Definition at line 73 of file owait.cpp.

References QWidget::move(), QDialog::show(), QTimer::start(), and QObject::startTimer().

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 88 of file owait.cpp.

void OWait::hide  )  [slot]
 

reimplemented for control reasons

Reimplemented from QWidget.

Definition at line 81 of file owait.cpp.

References QWidget::hide(), QObject::killTimers(), and QTimer::stop().

Referenced by OWait().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:25:07 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001