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_4Sel1Spin2Check_QTD.ui'
25 ** Created: Wed Oct 25 20:32:42 2006
26 ** by: The User Interface Compiler ($Id$)
28 ** WARNING! All changes made in this file will be lost!
29 ****************************************************************************/
31 #include "DlgRef_4Sel1Spin2Check_QTD.h"
34 #include <qpushbutton.h>
35 #include <qgroupbox.h>
36 #include <qcheckbox.h>
37 #include <qlineedit.h>
42 #include <qwhatsthis.h>
45 * Constructs a DlgRef_4Sel1Spin2Check_QTD as a child of 'parent', with the
46 * name 'name' and widget flags set to 'f'.
48 DlgRef_4Sel1Spin2Check_QTD::DlgRef_4Sel1Spin2Check_QTD( QWidget* parent, const char* name, WFlags fl )
49 : QWidget( parent, name, fl )
52 setName( "DlgRef_4Sel1Spin2Check_QTD" );
53 DlgRef_4Sel1Spin2Check_QTDLayout = new QVBoxLayout( this, 0, 6, "DlgRef_4Sel1Spin2Check_QTDLayout");
55 GroupBox1 = new QGroupBox( this, "GroupBox1" );
56 GroupBox1->setColumnLayout(0, Qt::Vertical );
57 GroupBox1->layout()->setSpacing( 6 );
58 GroupBox1->layout()->setMargin( 11 );
59 GroupBox1Layout = new QVBoxLayout( GroupBox1->layout() );
60 GroupBox1Layout->setAlignment( Qt::AlignTop );
62 Layout1 = new QGridLayout( 0, 1, 1, 6, 6, "Layout1");
64 CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" );
66 Layout1->addWidget( CheckButton2, 4, 3 );
68 PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
69 PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
71 Layout1->addWidget( PushButton2, 1, 1 );
73 LineEdit5 = new QLineEdit( GroupBox1, "LineEdit5" );
75 Layout1->addMultiCellWidget( LineEdit5, 3, 3, 2, 3 );
77 TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
78 TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
80 Layout1->addWidget( TextLabel5, 3, 0 );
82 TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
83 TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
85 Layout1->addWidget( TextLabel1, 0, 0 );
87 LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
89 Layout1->addMultiCellWidget( LineEdit1, 0, 0, 2, 3 );
91 SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
92 SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
94 Layout1->addWidget( SpinBox1, 4, 2 );
96 CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
98 Layout1->addMultiCellWidget( CheckButton1, 5, 5, 0, 2 );
100 TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
101 TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
103 Layout1->addWidget( TextLabel2, 1, 0 );
105 PushButton5 = new QPushButton( GroupBox1, "PushButton5" );
106 PushButton5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton5->sizePolicy().hasHeightForWidth() ) );
108 Layout1->addWidget( PushButton5, 3, 1 );
110 PushButton4 = new QPushButton( GroupBox1, "PushButton4" );
111 PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) );
113 Layout1->addWidget( PushButton4, 2, 1 );
115 TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
116 TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
118 Layout1->addWidget( TextLabel4, 2, 0 );
120 PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
121 PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
123 Layout1->addWidget( PushButton1, 0, 1 );
125 LineEdit4 = new QLineEdit( GroupBox1, "LineEdit4" );
127 Layout1->addMultiCellWidget( LineEdit4, 2, 2, 2, 3 );
129 LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
131 Layout1->addMultiCellWidget( LineEdit2, 1, 1, 2, 3 );
133 TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
134 TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
136 Layout1->addWidget( TextLabel3, 4, 0 );
137 GroupBox1Layout->addLayout( Layout1 );
138 DlgRef_4Sel1Spin2Check_QTDLayout->addWidget( GroupBox1 );
140 resize( QSize(261, 198).expandedTo(minimumSizeHint()) );
141 clearWState( WState_Polished );
144 setTabOrder( PushButton1, LineEdit1 );
145 setTabOrder( LineEdit1, PushButton2 );
146 setTabOrder( PushButton2, LineEdit2 );
147 setTabOrder( LineEdit2, SpinBox1 );
148 setTabOrder( SpinBox1, CheckButton2 );
152 * Destroys the object and frees any allocated resources
154 DlgRef_4Sel1Spin2Check_QTD::~DlgRef_4Sel1Spin2Check_QTD()
156 // no need to delete child widgets, Qt does it all for us
160 * Sets the strings of the subwidgets using the current
163 void DlgRef_4Sel1Spin2Check_QTD::languageChange()
165 setCaption( tr( "DlgRef_4Sel1Spin2Check_QTD" ) );
166 GroupBox1->setTitle( QString::null );
167 CheckButton2->setText( QString::null );
168 PushButton2->setText( QString::null );
169 TextLabel5->setText( tr( "TL5" ) );
170 TextLabel1->setText( tr( "TL1" ) );
171 CheckButton1->setText( QString::null );
172 TextLabel2->setText( tr( "TL2" ) );
173 PushButton5->setText( QString::null );
174 PushButton4->setText( QString::null );
175 TextLabel4->setText( tr( "TL4" ) );
176 PushButton1->setText( QString::null );
177 TextLabel3->setText( tr( "TL3" ) );