kstars
KStarsSplash Class Reference
The KStars Splash Screen. More...
#include <kstarssplash.h>
Public Slots | |
void | setMessage (QString s) |
Signals | |
void | closeWindow () |
Public Member Functions | |
KStarsSplash (QWidget *parent, const char *name) | |
~KStarsSplash () | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *e) |
virtual void | paintEvent (QPaintEvent *) |
Detailed Description
The KStars Splash Screen.The splash screen shows the KStars logo and progress messages while data files are parsed and objects are initialized. the KStars Splash Screen.
- Version:
- 1.0
Definition at line 33 of file kstarssplash.h.
Constructor & Destructor Documentation
KStarsSplash::KStarsSplash | ( | QWidget * | parent, | |
const char * | name | |||
) |
Constructor.
Create widgets. Load KStars logo. Start load timer.
Definition at line 28 of file kstarssplash.cpp.
KStarsSplash::~KStarsSplash | ( | ) |
Member Function Documentation
void KStarsSplash::closeEvent | ( | QCloseEvent * | e | ) | [protected] |
If the user clicks on the "X" close-window button, then abort loading as soon as possible and shut down the program.
Definition at line 87 of file kstarssplash.cpp.
void KStarsSplash::closeWindow | ( | ) | [signal] |
void KStarsSplash::paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Paint event to redraw the widgets.
This only gets called when the timer fires. It should also repaint if another window was on top of the splash screen, but this may be difficult to implement (it may be that the program is too busy loading data to notice that a redraw is required).
Definition at line 81 of file kstarssplash.cpp.
void KStarsSplash::setMessage | ( | QString | s | ) | [slot] |
Display the text argument in the Splash Screen's status label.
This is connected to KStarsData::progressText(QString)
Flush all event data. This is needed because events will buffered and repaint call will queued in event buffer. With flush all X11 events of this application will flushed.
Definition at line 92 of file kstarssplash.cpp.
The documentation for this class was generated from the following files: