Salome HOME
Merge with version on tag OCC-V2_1_0d
[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: Tue Jun 1 16:29:28 2004
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 <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_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( 163, 170 ); 
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     TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
52     TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
53     TextLabel1->setText( trUtf8( "TL1" ) );
54
55     Layout1->addWidget( TextLabel1, 0, 0 );
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     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
84
85     Layout1->addWidget( LineEdit1, 0, 2 );
86     QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
87     Layout1->addItem( spacer, 4, 2 );
88
89     CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
90     CheckButton1->setText( trUtf8( "" ) );
91
92     Layout1->addMultiCellWidget( CheckButton1, 3, 3, 0, 2 );
93
94     LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
95
96     Layout1->addWidget( LineEdit2, 1, 2 );
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     Layout1->addWidget( PushButton2, 1, 1 );
103
104     PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
105     PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
106     PushButton1->setText( trUtf8( "" ) );
107
108     Layout1->addWidget( PushButton1, 0, 1 );
109
110     GroupBox1Layout->addLayout( Layout1, 0, 0 );
111
112     DlgRef_2Sel2Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
113
114     // tab order
115     setTabOrder( PushButton1, LineEdit1 );
116     setTabOrder( LineEdit1, PushButton2 );
117     setTabOrder( PushButton2, LineEdit2 );
118     setTabOrder( LineEdit2, SpinBox1 );
119     setTabOrder( SpinBox1, SpinBox2 );
120     setTabOrder( SpinBox2, CheckButton1 );
121 }
122
123 /*  
124  *  Destroys the object and frees any allocated resources
125  */
126 DlgRef_2Sel2Spin1Check_QTD::~DlgRef_2Sel2Spin1Check_QTD()
127 {
128     // no need to delete child widgets, Qt does it all for us
129 }
130