#include <aboutbox.h>
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. |
|
The default constructor. It loads the required pixmap and centers the dialog on the screen. Definition at line 43 of file aboutbox.cpp. |
|
The default destructor.
Definition at line 60 of file aboutbox.cpp. |
|
Intercept all key presses and closes the dialog when it encounters one.
Definition at line 70 of file aboutbox.cpp. |
|
Intercept all mouse presses and closes the dialog when it encounters one.
Definition at line 77 of file aboutbox.cpp. |