1 // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 // GEOM GEOMGUI : GUI for Geometry component
23 // File: DlgRef_3Sel1Spin.cxx
24 // Created: Thu May 13 12:19:31 2004
25 // Author: Alexander SLADKOV
26 // <asv@yandex.nnov.opencascade.com>
28 #include "DlgRef_3Sel1Spin.h"
30 //=================================================================================
31 // class : DlgRef_3Sel1Spin
33 //=================================================================================
34 DlgRef_3Sel1Spin::DlgRef_3Sel1Spin( QWidget* parent, const char* name, WFlags fl )
35 :DlgRef_3Sel_QTD( parent, name, fl )
37 Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2");
39 TextLabel4 = new QLabel( (QWidget*)GroupBox1, "TextLabel4" );
40 TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
41 Layout2->addWidget( TextLabel4, 0, 0 );
43 SpinBox_DX = new DlgRef_SpinBox( (QWidget*)GroupBox1, "SpinBox_DX" );
44 Layout2->addWidget( SpinBox_DX, 0, 1 );
46 Layout1->addMultiCellLayout( Layout2, 3, 3, 0, 2 );
47 QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
48 Layout1->addItem( spacer, 4, 2 );
51 DlgRef_3Sel1Spin::~DlgRef_3Sel1Spin()