Salome HOME
Makefile.in-s were modified, neccessary keys and libraries were added.
[modules/geom.git] / src / DlgRef / DlgRef_2Sel1Spin2Check_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_2Sel1Spin2Check_QTD.ui'
3 **
4 ** Created: Fri Aug 13 15:32:26 2004
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "DlgRef_2Sel1Spin2Check_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_2Sel1Spin2Check_QTD which is a child of 'parent', with the 
24  *  name 'name' and widget flags set to 'f'.
25  */
26 DlgRef_2Sel1Spin2Check_QTD::DlgRef_2Sel1Spin2Check_QTD( QWidget* parent,  const char* name, WFlags fl )
27     : QWidget( parent, name, fl )
28 {
29     if ( !name )
30         setName( "DlgRef_2Sel1Spin2Check_QTD" );
31     resize( 256, 139 ); 
32     setCaption( trUtf8( "DlgRef_2Sel1Spin2Check_QTD" ) );
33     DlgRef_2Sel1Spin2Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel1Spin2Check_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     TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
58     TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
59     TextLabel3->setText( trUtf8( "TL3" ) );
60
61     Layout1->addWidget( TextLabel3, 2, 0 );
62
63     TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
64     TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
65     TextLabel1->setText( trUtf8( "TL1" ) );
66
67     Layout1->addWidget( TextLabel1, 0, 0 );
68     QSpacerItem* spacer = new QSpacerItem( 0, 316, QSizePolicy::Minimum, QSizePolicy::Expanding );
69     Layout1->addItem( spacer, 4, 2 );
70
71     CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" );
72     CheckButton2->setText( trUtf8( "" ) );
73
74     Layout1->addWidget( CheckButton2, 2, 3 );
75
76     LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
77
78     Layout1->addMultiCellWidget( LineEdit2, 1, 1, 2, 3 );
79
80     PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
81     PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
82     PushButton2->setText( trUtf8( "" ) );
83
84     Layout1->addWidget( PushButton2, 1, 1 );
85
86     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
87
88     Layout1->addMultiCellWidget( LineEdit1, 0, 0, 2, 3 );
89
90     CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
91     CheckButton1->setText( trUtf8( "" ) );
92
93     Layout1->addMultiCellWidget( CheckButton1, 3, 3, 0, 3 );
94
95     SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
96     SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
97
98     Layout1->addWidget( SpinBox1, 2, 2 );
99
100     GroupBox1Layout->addLayout( Layout1, 0, 0 );
101
102     DlgRef_2Sel1Spin2Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
103
104     // tab order
105     setTabOrder( PushButton1, LineEdit1 );
106     setTabOrder( LineEdit1, PushButton2 );
107     setTabOrder( PushButton2, LineEdit2 );
108     setTabOrder( LineEdit2, SpinBox1 );
109     setTabOrder( SpinBox1, CheckButton2 );
110     setTabOrder( CheckButton2, CheckButton1 );
111 }
112
113 /*  
114  *  Destroys the object and frees any allocated resources
115  */
116 DlgRef_2Sel1Spin2Check_QTD::~DlgRef_2Sel1Spin2Check_QTD()
117 {
118     // no need to delete child widgets, Qt does it all for us
119 }
120