Salome HOME
DCQ : New Architecture
[modules/geom.git] / src / DlgRef / DlgRef_2Sel2Spin1Check_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_2Sel2Spin1Check_QTD.ui'
3 **
4 ** Created: ven oct 24 09:53:25 2003
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "DlgRef_2Sel2Spin1Check_QTD.h"
10
11 #include <qvariant.h>
12 #include <qgroupbox.h>
13 #include <qlabel.h>
14 #include <qlineedit.h>
15 #include <qpushbutton.h>
16 #include <qradiobutton.h>
17 #include <qspinbox.h>
18 #include <qlayout.h>
19 #include <qtooltip.h>
20 #include <qwhatsthis.h>
21
22 /* 
23  *  Constructs a DlgRef_2Sel2Spin1Check_QTD which is a child of 'parent', with the 
24  *  name 'name' and widget flags set to 'f'.
25  */
26 DlgRef_2Sel2Spin1Check_QTD::DlgRef_2Sel2Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
27     : QWidget( parent, name, fl )
28 {
29     if ( !name )
30         setName( "DlgRef_2Sel2Spin1Check_QTD" );
31     resize( 129, 164 ); 
32     setCaption( trUtf8( "DlgRef_2Sel2Spin1Check_QTD" ) );
33     DlgRef_2Sel2Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel2Spin1Check_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     TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
46     TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
47     TextLabel2->setText( trUtf8( "TL2" ) );
48
49     Layout1->addWidget( TextLabel2, 1, 0 );
50
51     PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
52     PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
53     PushButton1->setText( trUtf8( "" ) );
54
55     Layout1->addWidget( PushButton1, 0, 1 );
56
57     Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
58
59     SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
60     SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
61
62     Layout2->addWidget( SpinBox1, 0, 1 );
63
64     TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
65     TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
66     TextLabel3->setText( trUtf8( "TL3" ) );
67
68     Layout2->addWidget( TextLabel3, 0, 0 );
69
70     TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
71     TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
72     TextLabel4->setText( trUtf8( "TL4" ) );
73
74     Layout2->addWidget( TextLabel4, 1, 0 );
75
76     SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
77     SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
78
79     Layout2->addWidget( SpinBox2, 1, 1 );
80
81     Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 );
82
83     TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
84     TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
85     TextLabel1->setText( trUtf8( "TL1" ) );
86
87     Layout1->addWidget( TextLabel1, 0, 0 );
88
89     PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
90     PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
91     PushButton2->setText( trUtf8( "" ) );
92
93     Layout1->addWidget( PushButton2, 1, 1 );
94     QSpacerItem* spacer = new QSpacerItem( 0, 275, QSizePolicy::Minimum, QSizePolicy::Expanding );
95     Layout1->addItem( spacer, 4, 2 );
96
97     LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
98
99     Layout1->addWidget( LineEdit2, 1, 2 );
100
101     CheckButton1 = new QRadioButton( GroupBox1, "CheckButton1" );
102     CheckButton1->setText( trUtf8( "" ) );
103
104     Layout1->addMultiCellWidget( CheckButton1, 3, 3, 0, 2 );
105
106     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
107
108     Layout1->addWidget( LineEdit1, 0, 2 );
109
110     GroupBox1Layout->addLayout( Layout1, 0, 0 );
111
112     DlgRef_2Sel2Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
113 }
114
115 /*  
116  *  Destroys the object and frees any allocated resources
117  */
118 DlgRef_2Sel2Spin1Check_QTD::~DlgRef_2Sel2Spin1Check_QTD()
119 {
120     // no need to delete child widgets, Qt does it all for us
121 }
122