Salome HOME
DCQ : New Architecture
[modules/geom.git] / src / DlgRef / DlgRef_1Sel1Spin1Check_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_1Sel1Spin1Check_QTD.ui'
3 **
4 ** Created: lun nov 17 14:16:09 2003
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "DlgRef_1Sel1Spin1Check_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_1Sel1Spin1Check_QTD which is a child of 'parent', with the 
24  *  name 'name' and widget flags set to 'f'.
25  */
26 DlgRef_1Sel1Spin1Check_QTD::DlgRef_1Sel1Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
27     : QWidget( parent, name, fl )
28 {
29     if ( !name )
30         setName( "DlgRef_1Sel1Spin1Check_QTD" );
31     resize( 129, 106 ); 
32     setCaption( trUtf8( "DlgRef_1Sel1Spin1Check_QTD" ) );
33     DlgRef_1Sel1Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Spin1Check_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     QSpacerItem* spacer = new QSpacerItem( 0, 120, QSizePolicy::Minimum, QSizePolicy::Expanding );
45     Layout1->addItem( spacer, 3, 2 );
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     Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
60
61     SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
62     SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
63
64     Layout2->addWidget( SpinBox1, 0, 1 );
65
66     TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
67     TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
68     TextLabel2->setText( trUtf8( "TL2" ) );
69
70     Layout2->addWidget( TextLabel2, 0, 0 );
71
72     Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
73
74     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
75
76     Layout1->addWidget( LineEdit1, 0, 2 );
77
78     CheckButton1 = new QRadioButton( GroupBox1, "CheckButton1" );
79     CheckButton1->setText( trUtf8( "" ) );
80
81     Layout1->addMultiCellWidget( CheckButton1, 2, 2, 0, 2 );
82
83     GroupBox1Layout->addLayout( Layout1, 0, 0 );
84
85     DlgRef_1Sel1Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
86 }
87
88 /*  
89  *  Destroys the object and frees any allocated resources
90  */
91 DlgRef_1Sel1Spin1Check_QTD::~DlgRef_1Sel1Spin1Check_QTD()
92 {
93     // no need to delete child widgets, Qt does it all for us
94 }
95