AboutBox Class Reference

#include <aboutbox.h>

List of all members.


Detailed Description

This class shows an About Box.

This subclass of QDialog handles te closing of the box by any keypress or any mouse release event.

Definition at line 31 of file aboutbox.h.

Public Member Functions

 AboutBox (QWidget *parent=0, const char *name=0)
 The default constructor.
 ~AboutBox ()
 The default destructor.

Protected Member Functions

void keyPressEvent (QKeyEvent *e)
 Intercept all key presses and closes the dialog when it encounters one.
void mousePressEvent (QMouseEvent *e)
 Intercept all mouse presses and closes the dialog when it encounters one.


Constructor & Destructor Documentation

AboutBox::AboutBox QWidget *  parent = 0,
const char *  name = 0
 

The default constructor.

It loads the required pixmap and centers the dialog on the screen.

Definition at line 43 of file aboutbox.cpp.

AboutBox::~AboutBox  ) 
 

The default destructor.

Definition at line 60 of file aboutbox.cpp.


Member Function Documentation

void AboutBox::keyPressEvent QKeyEvent *  e  )  [protected]
 

Intercept all key presses and closes the dialog when it encounters one.

Definition at line 70 of file aboutbox.cpp.

void AboutBox::mousePressEvent QMouseEvent *  e  )  [protected]
 

Intercept all mouse presses and closes the dialog when it encounters one.

Definition at line 77 of file aboutbox.cpp.


Generated on Fri May 19 14:31:57 2006 for Brabosphere by  doxygen 1.4.6-NO