Salome HOME
Copyright update 2021
[modules/gui.git] / src / Qtx / QtxSplash.h
index 27ada2051ab012fb8ab310e831a36ae4074ea4c9..4a4ecedd766236e9e9ea3142522bc9480a3ee7ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -64,6 +64,10 @@ public:
   static void       setStatus( const QString&, const int = -1 );
   static void       setError( const QString&, const QString& = QString(), const int = -1 );
   
+  void              setSize( const QSize& );
+  void              setSize( int, int );
+  QSize             fixedSize() const;
+
   void              setPixmap( const QPixmap& );
   QPixmap           pixmap() const;
   
@@ -152,7 +156,8 @@ private:
       
 private:
   static QtxSplash* mySplash;
-  
+
+  QSize             mySize;             //!< splash size
   QPixmap           myPixmap;           //!< splash pixmap
   QString           myInfo;             //!< constant info
   QString           myMessage;          //!< current status message