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