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