00001 //============================================== 00002 // copyright : (C) 2003 by Will Stokes 00003 //============================================== 00004 // This program is free software; you can redistribute it 00005 // and/or modify it under the terms of the GNU General 00006 // Public License as published by the Free Software 00007 // Foundation; either version 2 of the License, or 00008 // (at your option) any later version. 00009 // 00010 // As a special exception, Will Stokes gives permission to 00011 // link this program with Qt non-commercial edition, and 00012 // distribute the resulting executable, without including the 00013 // source code for the Qt non-commercial edition in the 00014 // source distribution. 00015 //============================================== 00016 00017 #ifndef GUI_ABOUT_H 00018 #define GUI_ABOUT_H 00019 00020 #include <qwidget.h> 00021 00022 //forward declarations 00023 class QGridLayout; 00024 class QLabel; 00025 class QPixmap; 00026 00027 //===================================== 00030 //===================================== 00031 00032 //====================== 00033 class About : public QWidget 00034 { 00035 Q_OBJECT 00036 //---------------------- 00037 public: 00038 About( QWidget *parent=0, const char* name=0); 00039 void closeEvent( QCloseEvent* e); 00040 //---------------------- 00041 signals: 00042 void aboutClosed(); 00043 //---------------------- 00044 private: 00045 QGridLayout* grid; 00046 QLabel* progDesc; 00047 QLabel* progIcon; 00048 QPixmap* progImage; 00049 //---------------------- 00050 }; 00051 //====================== 00052 00053 #endif //GUI_ABOUT_H