Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / DlgRef / DlgRef_3Sel4Spin2Check_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_3Sel4Spin2Check_QTD.ui'
3 **
4 ** Created: Tue Jun 1 16:29:29 2004
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "DlgRef_3Sel4Spin2Check_QTD.h"
10
11 #include <qvariant.h>
12 #include <qcheckbox.h>
13 #include <qgroupbox.h>
14 #include <qlabel.h>
15 #include <qlineedit.h>
16 #include <qpushbutton.h>
17 #include <qspinbox.h>
18 #include <qlayout.h>
19 #include <qtooltip.h>
20 #include <qwhatsthis.h>
21
22 /* 
23  *  Constructs a DlgRef_3Sel4Spin2Check_QTD which is a child of 'parent', with the 
24  *  name 'name' and widget flags set to 'f'.
25  */
26 DlgRef_3Sel4Spin2Check_QTD::DlgRef_3Sel4Spin2Check_QTD( QWidget* parent,  const char* name, WFlags fl )
27     : QWidget( parent, name, fl )
28 {
29     if ( !name )
30         setName( "DlgRef_3Sel4Spin2Check_QTD" );
31     resize( 269, 281 ); 
32     setCaption( trUtf8( "DlgRef_3Sel4Spin2Check_QTD" ) );
33     DlgRef_3Sel4Spin2Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel4Spin2Check_QTDLayout"); 
34
35     GroupBox1 = new QGroupBox( this, "GroupBox1" );
36     GroupBox1->setTitle( trUtf8( "" ) );
37     GroupBox1->setColumnLayout(0, Qt::Vertical );
38     GroupBox1->layout()->setSpacing( 6 );
39     GroupBox1->layout()->setMargin( 11 );
40     GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
41     GroupBox1Layout->setAlignment( Qt::AlignTop );
42
43     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
44
45     CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" );
46     CheckButton2->setText( trUtf8( "" ) );
47
48     Layout1->addMultiCellWidget( CheckButton2, 6, 6, 0, 2 );
49
50     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
51
52     Layout1->addWidget( LineEdit1, 0, 2 );
53
54     TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
55     TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
56     TextLabel3->setText( trUtf8( "TL3" ) );
57
58     Layout1->addWidget( TextLabel3, 2, 0 );
59
60     PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
61     PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
62     PushButton2->setText( trUtf8( "" ) );
63
64     Layout1->addWidget( PushButton2, 1, 1 );
65
66     LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
67
68     Layout1->addWidget( LineEdit3, 2, 2 );
69
70     PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
71     PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
72     PushButton1->setText( trUtf8( "" ) );
73
74     Layout1->addWidget( PushButton1, 0, 1 );
75
76     Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
77
78     SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
79     SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) );
80
81     Layout3->addWidget( SpinBox4, 1, 1 );
82
83     SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
84     SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
85
86     Layout3->addWidget( SpinBox3, 0, 1 );
87
88     TextLabel7 = new QLabel( GroupBox1, "TextLabel7" );
89     TextLabel7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel7->sizePolicy().hasHeightForWidth() ) );
90     TextLabel7->setText( trUtf8( "TL7" ) );
91
92     Layout3->addWidget( TextLabel7, 1, 0 );
93
94     TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
95     TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
96     TextLabel6->setText( trUtf8( "TL6" ) );
97
98     Layout3->addWidget( TextLabel6, 0, 0 );
99
100     Layout1->addMultiCellLayout( Layout3, 5, 5, 0, 2 );
101
102     CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
103     CheckButton1->setText( trUtf8( "" ) );
104
105     Layout1->addMultiCellWidget( CheckButton1, 4, 4, 0, 2 );
106
107     PushButton3 = new QPushButton( GroupBox1, "PushButton3" );
108     PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
109     PushButton3->setText( trUtf8( "" ) );
110
111     Layout1->addWidget( PushButton3, 2, 1 );
112
113     TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
114     TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
115     TextLabel1->setText( trUtf8( "TL1" ) );
116
117     Layout1->addWidget( TextLabel1, 0, 0 );
118     QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
119     Layout1->addItem( spacer, 7, 2 );
120
121     LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
122
123     Layout1->addWidget( LineEdit2, 1, 2 );
124
125     Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
126
127     TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
128     TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
129     TextLabel5->setText( trUtf8( "TL5" ) );
130
131     Layout2->addWidget( TextLabel5, 1, 0 );
132
133     TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
134     TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
135     TextLabel4->setText( trUtf8( "TL4" ) );
136
137     Layout2->addWidget( TextLabel4, 0, 0 );
138
139     SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
140     SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
141
142     Layout2->addWidget( SpinBox1, 0, 1 );
143
144     SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
145     SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
146
147     Layout2->addWidget( SpinBox2, 1, 1 );
148
149     Layout1->addMultiCellLayout( Layout2, 3, 3, 0, 2 );
150
151     TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
152     TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
153     TextLabel2->setText( trUtf8( "TL2" ) );
154
155     Layout1->addWidget( TextLabel2, 1, 0 );
156
157     GroupBox1Layout->addLayout( Layout1, 0, 0 );
158
159     DlgRef_3Sel4Spin2Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
160
161     // tab order
162     setTabOrder( PushButton1, LineEdit1 );
163     setTabOrder( LineEdit1, PushButton2 );
164     setTabOrder( PushButton2, LineEdit2 );
165     setTabOrder( LineEdit2, PushButton3 );
166     setTabOrder( PushButton3, LineEdit3 );
167     setTabOrder( LineEdit3, SpinBox1 );
168     setTabOrder( SpinBox1, SpinBox2 );
169     setTabOrder( SpinBox2, CheckButton1 );
170     setTabOrder( CheckButton1, SpinBox3 );
171     setTabOrder( SpinBox3, SpinBox4 );
172     setTabOrder( SpinBox4, CheckButton2 );
173 }
174
175 /*  
176  *  Destroys the object and frees any allocated resources
177  */
178 DlgRef_3Sel4Spin2Check_QTD::~DlgRef_3Sel4Spin2Check_QTD()
179 {
180     // no need to delete child widgets, Qt does it all for us
181 }
182