Salome HOME
PAL8395: Fix pb. with bug2extraEdges.py
[modules/geom.git] / src / DlgRef / DlgRef_2Sel4Spin1Check_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_2Sel4Spin1Check_QTD.ui'
3 **
4 ** Created: Tue Jun 1 12:38:04 2004
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "DlgRef_2Sel4Spin1Check_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_2Sel4Spin1Check_QTD which is a child of 'parent', with the 
24  *  name 'name' and widget flags set to 'f'.
25  */
26 DlgRef_2Sel4Spin1Check_QTD::DlgRef_2Sel4Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
27     : QWidget( parent, name, fl )
28 {
29     if ( !name )
30         setName( "DlgRef_2Sel4Spin1Check_QTD" );
31     resize( 262, 230 ); 
32     setCaption( trUtf8( "DlgRef_2Sel4Spin1Check_QTD" ) );
33     DlgRef_2Sel4Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel4Spin1Check_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     Layout5 = new QGridLayout( 0, 1, 1, 0, 6, "Layout5"); 
44
45     PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
46     PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
47     PushButton1->setText( trUtf8( "" ) );
48
49     Layout5->addWidget( PushButton1, 0, 1 );
50
51     CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
52     CheckButton1->setText( trUtf8( "" ) );
53
54     Layout5->addMultiCellWidget( CheckButton1, 3, 3, 0, 3 );
55
56     Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
57
58     TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
59     TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
60     TextLabel3->setText( trUtf8( "TL3" ) );
61
62     Layout2->addWidget( TextLabel3, 0, 0 );
63
64     SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
65     SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
66
67     Layout2->addWidget( SpinBox1, 0, 1 );
68
69     SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
70     SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
71
72     Layout2->addWidget( SpinBox2, 1, 1 );
73
74     TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
75     TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
76     TextLabel4->setText( trUtf8( "TL4" ) );
77
78     Layout2->addWidget( TextLabel4, 1, 0 );
79
80     Layout5->addMultiCellLayout( Layout2, 2, 2, 0, 2 );
81
82     LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
83
84     Layout5->addWidget( LineEdit2, 1, 2 );
85
86     TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
87     TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
88     TextLabel1->setText( trUtf8( "TL1" ) );
89
90     Layout5->addWidget( TextLabel1, 0, 0 );
91
92     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
93
94     Layout5->addWidget( LineEdit1, 0, 2 );
95     QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
96     Layout5->addItem( spacer, 5, 3 );
97
98     PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
99     PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
100     PushButton2->setText( trUtf8( "" ) );
101
102     Layout5->addWidget( PushButton2, 1, 1 );
103
104     TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
105     TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
106     TextLabel2->setText( trUtf8( "TL2" ) );
107
108     Layout5->addWidget( TextLabel2, 1, 0 );
109
110     Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
111
112     SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
113     SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) );
114
115     Layout3->addWidget( SpinBox4, 1, 1 );
116
117     TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
118     TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
119     TextLabel5->setText( trUtf8( "TL5" ) );
120
121     Layout3->addWidget( TextLabel5, 0, 0 );
122
123     SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
124     SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
125
126     Layout3->addWidget( SpinBox3, 0, 1 );
127
128     TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
129     TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
130     TextLabel6->setText( trUtf8( "TL6" ) );
131
132     Layout3->addWidget( TextLabel6, 1, 0 );
133
134     Layout5->addMultiCellLayout( Layout3, 4, 4, 0, 2 );
135
136     GroupBox1Layout->addLayout( Layout5, 0, 0 );
137
138     DlgRef_2Sel4Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
139
140     // tab order
141     setTabOrder( PushButton1, LineEdit1 );
142     setTabOrder( LineEdit1, PushButton2 );
143     setTabOrder( PushButton2, LineEdit2 );
144     setTabOrder( LineEdit2, SpinBox1 );
145     setTabOrder( SpinBox1, SpinBox2 );
146     setTabOrder( SpinBox2, CheckButton1 );
147     setTabOrder( CheckButton1, SpinBox3 );
148     setTabOrder( SpinBox3, SpinBox4 );
149 }
150
151 /*  
152  *  Destroys the object and frees any allocated resources
153  */
154 DlgRef_2Sel4Spin1Check_QTD::~DlgRef_2Sel4Spin1Check_QTD()
155 {
156     // no need to delete child widgets, Qt does it all for us
157 }
158