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 /****************************************************************************
23 ** Form implementation generated from reading ui file 'DlgRef_3Sel3Spin1Check_QTD.ui'
25 ** Created: Mon Apr 19 16:36:48 2004
26 ** by: The User Interface Compiler (uic)
28 ** WARNING! All changes made in this file will be lost!
29 ****************************************************************************/
30 #include "DlgRef_3Sel3Spin1Check_QTD.h"
33 #include <qcheckbox.h>
34 #include <qgroupbox.h>
36 #include <qlineedit.h>
37 #include <qpushbutton.h>
41 #include <qwhatsthis.h>
44 * Constructs a DlgRef_3Sel3Spin1Check_QTD which is a child of 'parent', with the
45 * name 'name' and widget flags set to 'f'.
47 DlgRef_3Sel3Spin1Check_QTD::DlgRef_3Sel3Spin1Check_QTD( QWidget* parent, const char* name, WFlags fl )
48 : QWidget( parent, name, fl )
51 setName( "DlgRef_3Sel3Spin1Check_QTD" );
53 setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) );
54 setCaption( trUtf8( "DlgRef_3Sel3Spin1Check_QTD" ) );
55 DlgRef_3Sel3Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel3Spin1Check_QTDLayout");
57 GroupBox1 = new QGroupBox( this, "GroupBox1" );
58 GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
59 GroupBox1->setTitle( trUtf8( "" ) );
60 GroupBox1->setColumnLayout(0, Qt::Vertical );
61 GroupBox1->layout()->setSpacing( 6 );
62 GroupBox1->layout()->setMargin( 11 );
63 GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
64 GroupBox1Layout->setAlignment( Qt::AlignTop );
66 Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1");
68 SpinBox_2 = new QSpinBox( GroupBox1, "SpinBox_2" );
69 SpinBox_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_2->sizePolicy().hasHeightForWidth() ) );
71 Layout1->addWidget( SpinBox_2, 4, 2 );
73 LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
75 Layout1->addWidget( LineEdit3, 2, 2 );
77 SpinBox_3 = new QSpinBox( GroupBox1, "SpinBox_3" );
78 SpinBox_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_3->sizePolicy().hasHeightForWidth() ) );
80 Layout1->addWidget( SpinBox_3, 5, 2 );
82 TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
83 TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
84 TextLabel1->setText( trUtf8( "TL1" ) );
86 Layout1->addWidget( TextLabel1, 0, 0 );
88 TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
89 TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
90 TextLabel3->setText( trUtf8( "TL3" ) );
92 Layout1->addWidget( TextLabel3, 2, 0 );
94 CheckBox1 = new QCheckBox( GroupBox1, "CheckBox1" );
95 CheckBox1->setText( trUtf8( "" ) );
97 Layout1->addMultiCellWidget( CheckBox1, 6, 6, 0, 1 );
99 PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
100 PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
101 PushButton1->setText( trUtf8( "" ) );
103 Layout1->addWidget( PushButton1, 0, 1 );
105 TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
106 TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
107 TextLabel4->setText( trUtf8( "TL4" ) );
109 Layout1->addWidget( TextLabel4, 3, 0 );
111 LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
113 Layout1->addWidget( LineEdit2, 1, 2 );
115 PushButton3 = new QPushButton( GroupBox1, "PushButton3" );
116 PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
117 PushButton3->setText( trUtf8( "" ) );
119 Layout1->addWidget( PushButton3, 2, 1 );
121 TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
122 TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
123 TextLabel6->setText( trUtf8( "TL6" ) );
125 Layout1->addWidget( TextLabel6, 5, 0 );
127 SpinBox_1 = new QSpinBox( GroupBox1, "SpinBox_1" );
128 SpinBox_1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_1->sizePolicy().hasHeightForWidth() ) );
130 Layout1->addWidget( SpinBox_1, 3, 2 );
132 TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
133 TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
134 TextLabel5->setText( trUtf8( "TL5" ) );
136 Layout1->addWidget( TextLabel5, 4, 0 );
138 TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
139 TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
140 TextLabel2->setText( trUtf8( "TL2" ) );
142 Layout1->addWidget( TextLabel2, 1, 0 );
144 LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
146 Layout1->addWidget( LineEdit1, 0, 2 );
148 PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
149 PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
150 PushButton2->setText( trUtf8( "" ) );
152 Layout1->addWidget( PushButton2, 1, 1 );
153 QSpacerItem* spacer = new QSpacerItem( 0, 250, QSizePolicy::Minimum, QSizePolicy::Expanding );
154 Layout1->addItem( spacer, 7, 2 );
156 GroupBox1Layout->addLayout( Layout1, 0, 0 );
158 DlgRef_3Sel3Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
161 setTabOrder( PushButton1, LineEdit1 );
162 setTabOrder( LineEdit1, PushButton2 );
163 setTabOrder( PushButton2, LineEdit2 );
164 setTabOrder( LineEdit2, PushButton3 );
165 setTabOrder( PushButton3, LineEdit3 );
166 setTabOrder( LineEdit3, SpinBox_1 );
167 setTabOrder( SpinBox_1, SpinBox_2 );
168 setTabOrder( SpinBox_2, SpinBox_3 );
169 setTabOrder( SpinBox_3, CheckBox1 );
173 * Destroys the object and frees any allocated resources
175 DlgRef_3Sel3Spin1Check_QTD::~DlgRef_3Sel3Spin1Check_QTD()
177 // no need to delete child widgets, Qt does it all for us