X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FQtx%2FQtxSplash.h;h=4a4ecedd766236e9e9ea3142522bc9480a3ee7ee;hb=8091ffdec0e55752a16ec4d46ac1b944fc1e1ddf;hp=27ada2051ab012fb8ab310e831a36ae4074ea4c9;hpb=e07448c48ea5b2127e34fc7b8c3427d01c7ce17b;p=modules%2Fgui.git diff --git a/src/Qtx/QtxSplash.h b/src/Qtx/QtxSplash.h index 27ada2051..4a4ecedd7 100644 --- a/src/Qtx/QtxSplash.h +++ b/src/Qtx/QtxSplash.h @@ -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