]> SALOME platform Git repositories - modules/geom.git/blob - src/DlgRef/DlgRef_1Sel5Spin1Check_QTD.cxx
Salome HOME
Bug 0020043: EDF 865 GEOM: Object is non valid after translation. Fix object after...
[modules/geom.git] / src / DlgRef / DlgRef_1Sel5Spin1Check_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_1Sel5Spin1Check_QTD.ui'
3 **
4 ** Created: Fri Feb 1 14:04:55 2008
5 **      by: The User Interface Compiler ($Id$)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9
10 #include "DlgRef_1Sel5Spin1Check_QTD.h"
11
12 #include <qvariant.h>
13 #include <qpushbutton.h>
14 #include <qgroupbox.h>
15 #include <qlabel.h>
16 #include <qspinbox.h>
17 #include <qcheckbox.h>
18 #include <qlineedit.h>
19 #include <qlayout.h>
20 #include <qtooltip.h>
21 #include <qwhatsthis.h>
22
23 /*
24  *  Constructs a DlgRef_1Sel5Spin1Check_QTD as a child of 'parent', with the
25  *  name 'name' and widget flags set to 'f'.
26  */
27 DlgRef_1Sel5Spin1Check_QTD::DlgRef_1Sel5Spin1Check_QTD( QWidget* parent, const char* name, WFlags fl )
28     : QWidget( parent, name, fl )
29 {
30     if ( !name )
31         setName( "DlgRef_1Sel5Spin1Check_QTD" );
32     DlgRef_1Sel5Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel5Spin1Check_QTDLayout"); 
33
34     GroupBox1 = new QGroupBox( this, "GroupBox1" );
35     GroupBox1->setColumnLayout(0, Qt::Vertical );
36     GroupBox1->layout()->setSpacing( 6 );
37     GroupBox1->layout()->setMargin( 11 );
38     GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
39     GroupBox1Layout->setAlignment( Qt::AlignTop );
40
41     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
42
43     TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
44     TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
45
46     Layout1->addWidget( TextLabel1, 0, 0 );
47
48     PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
49     PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
50
51     Layout1->addWidget( PushButton1, 0, 1 );
52
53     Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
54
55     SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
56     SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
57
58     Layout2->addWidget( SpinBox2, 0, 3 );
59
60     SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
61     SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
62
63     Layout2->addWidget( SpinBox3, 2, 1 );
64
65     TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
66     TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
67
68     Layout2->addWidget( TextLabel5, 1, 0 );
69
70     TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
71     TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
72
73     Layout2->addWidget( TextLabel3, 0, 2 );
74
75     TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
76     TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
77
78     Layout2->addWidget( TextLabel4, 2, 0 );
79
80     SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
81     SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) );
82
83     Layout2->addWidget( SpinBox4, 1, 1 );
84
85     SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
86     SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
87
88     Layout2->addWidget( SpinBox1, 0, 1 );
89
90     TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
91     TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
92
93     Layout2->addWidget( TextLabel6, 1, 2 );
94
95     TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
96     TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
97
98     Layout2->addWidget( TextLabel2, 0, 0 );
99
100     SpinBox5 = new QSpinBox( GroupBox1, "SpinBox5" );
101     SpinBox5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox5->sizePolicy().hasHeightForWidth() ) );
102
103     Layout2->addWidget( SpinBox5, 1, 3 );
104
105     CheckBox1 = new QCheckBox( GroupBox1, "CheckBox1" );
106
107     Layout2->addMultiCellWidget( CheckBox1, 2, 2, 2, 3 );
108
109     Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
110     Spacer6 = new QSpacerItem( 0, 120, QSizePolicy::Minimum, QSizePolicy::Expanding );
111     Layout1->addItem( Spacer6, 2, 2 );
112
113     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
114
115     Layout1->addWidget( LineEdit1, 0, 2 );
116
117     GroupBox1Layout->addLayout( Layout1, 0, 0 );
118
119     DlgRef_1Sel5Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
120     languageChange();
121     resize( QSize(162, 143).expandedTo(minimumSizeHint()) );
122     clearWState( WState_Polished );
123 }
124
125 /*
126  *  Destroys the object and frees any allocated resources
127  */
128 DlgRef_1Sel5Spin1Check_QTD::~DlgRef_1Sel5Spin1Check_QTD()
129 {
130     // no need to delete child widgets, Qt does it all for us
131 }
132
133 /*
134  *  Sets the strings of the subwidgets using the current
135  *  language.
136  */
137 void DlgRef_1Sel5Spin1Check_QTD::languageChange()
138 {
139     setCaption( tr( "DlgRef_1Sel5Spin1Check_QTD" ) );
140     GroupBox1->setTitle( QString::null );
141     TextLabel1->setText( tr( "TL1" ) );
142     PushButton1->setText( QString::null );
143     TextLabel5->setText( tr( "TL5" ) );
144     TextLabel3->setText( tr( "TL3" ) );
145     TextLabel4->setText( tr( "TL4" ) );
146     TextLabel6->setText( tr( "TL6" ) );
147     TextLabel2->setText( tr( "TL2" ) );
148     CheckBox1->setText( QString::null );
149 }
150