X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEGUI%2FQAD_RightFrame.cxx;h=200ecc5cb6d172ece754930f472ec51fad396905;hb=b5b44337d62219656650cf2b21108594bbf9adc3;hp=b7a30e2b4edd3f8ff50ce6df543886e52ab5ed33;hpb=611c96f1b845f602ce9dbdc154c6fe4425937b9b;p=modules%2Fkernel.git diff --git a/src/SALOMEGUI/QAD_RightFrame.cxx b/src/SALOMEGUI/QAD_RightFrame.cxx index b7a30e2b4..200ecc5cb 100644 --- a/src/SALOMEGUI/QAD_RightFrame.cxx +++ b/src/SALOMEGUI/QAD_RightFrame.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : QAD_RightFrame.cxx -// Created : Thu Jun 14 14:51:52 2001 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : SALOMEGUI -// Copyright : Open CASCADE +// SALOME SALOMEGUI : implementation of desktop and GUI kernel +// +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// 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. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : QAD_RightFrame.cxx +// Author : Nicolas REJNERI +// Module : SALOME // $Header$ +using namespace std; #include "QAD_RightFrame.h" #include "QAD_Application.h" #include "QAD_Desktop.h" @@ -341,12 +361,12 @@ QAD_RightFrame::QAD_RightFrame(QWidget *parent, const char *name, myMessage = new QAD_Message( vsplitter ,"Message"); myMessage->setMinimumSize( 1, 1 ); - sizes.append( 0.48 * DesktopHeight ); - sizes.append( 0.16 * DesktopHeight ); + sizes.append( (int)(0.48 * DesktopHeight) ); + sizes.append( (int)(0.16 * DesktopHeight) ); setSizes( sizes ); sizes.clear(); - sizes.append( 0.25 * DesktopWidth ); - sizes.append( 0.25 * DesktopWidth ); + sizes.append( (int)(0.25 * DesktopWidth) ); + sizes.append( (int)(0.25 * DesktopWidth) ); vsplitter->setSizes( sizes ); }