kstars
kstarssplash.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 KStarsSplash.h - description 00003 ------------------- 00004 begin : Thu Jul 26 2001 00005 copyright : (C) 2001 by Heiko Evermann 00006 email : heiko@evermann.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KSTARSSPLASH_H_ 00019 #define KSTARSSPLASH_H_ 00020 00021 #include <kdialogbase.h> 00022 00031 class QLabel; 00032 00033 class KStarsSplash : public KDialogBase 00034 { 00035 Q_OBJECT 00036 00037 public: 00040 KStarsSplash( QWidget *parent, const char* name ); 00041 00044 ~KStarsSplash(); 00045 00046 public slots: 00049 void setMessage(QString s); 00050 00051 protected: 00057 virtual void paintEvent( QPaintEvent* ); 00058 00062 void closeEvent( QCloseEvent *e ); 00063 00064 signals: 00065 void closeWindow(); 00066 00067 private: 00068 QLabel *textCurrentStatus, *label; 00069 QWidget *Banner; 00070 QPixmap *splashImage; 00071 }; 00072 00073 #endif