Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

splash_screen.h

Go to the documentation of this file.
00001 /********************************************************************** 00002 ** Author: Nicolas Remy 00003 ** Copyright (C) 2002-2004 The Board of Trustees of the Leland Stanford Junior 00004 ** University 00005 ** All rights reserved. 00006 ** 00007 ** This file is part of the "gui" module of the Geostatistical Earth 00008 ** Modeling Software (GEMS) 00009 ** 00010 ** This file may be distributed and/or modified under the terms of the 00011 ** license defined by the Stanford Center for Reservoir Forecasting and 00012 ** appearing in the file LICENSE.XFREE included in the packaging of this file. 00013 ** 00014 ** This file may be distributed and/or modified under the terms of the 00015 ** GNU General Public License version 2 as published by the Free Software 00016 ** Foundation and appearing in the file LICENSE.GPL included in the 00017 ** packaging of this file. 00018 ** 00019 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00020 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00021 ** 00022 ** See http://www.gnu.org/copyleft/gpl.html for GPL licensing information. 00023 ** 00024 ** Contact the Stanford Center for Reservoir Forecasting, Stanford University 00025 ** if any conditions of this licensing are not clear to you. 00026 ** 00027 **********************************************************************/ 00028 00029 #ifndef __GSTLAPPLI_GUI_APPLI_SPLASH_SCREEN_H__ 00030 #define __GSTLAPPLI_GUI_APPLI_SPLASH_SCREEN_H__ 00031 00032 #include <GsTLAppli/gui/common.h> 00033 00034 #include <qpixmap.h> 00035 #include <qwidget.h> 00036 00037 class GUI_DECL SplashScreen : public QWidget { 00038 public: 00039 SplashScreen( const QPixmap& pixmap ); 00040 // SplashScreen( const QPixmap& pixmap, const QString& version ); 00041 virtual ~SplashScreen() {} 00042 00043 void setStatus( const QString& message, int alignment = AlignLeft, 00044 const QColor& color = black ); 00045 void finish( QWidget* main_win); 00046 void repaint(); 00047 00048 protected: 00049 void mousePressEvent( QMouseEvent* ); 00050 00051 private: 00052 QPixmap pixmap_; 00053 }; 00054 00055 #endif

Generated on Wed May 12 18:12:55 2004 for GEMS by doxygen 1.3.7