Salome HOME
Update GUI documentation for bugs 16559
[modules/geom.git] / src / MeasureGUI / MeasureGUI_2Sel4LineEdit_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'MeasureGUI_2Sel4LineEdit_QTD.ui'
3 **
4 ** Created: Tue Oct 9 14:32:18 2007
5 **      by: The User Interface Compiler ($Id$)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9
10 #include "MeasureGUI_2Sel4LineEdit_QTD.h"
11
12 #include <qvariant.h>
13 #include <qpushbutton.h>
14 #include <qgroupbox.h>
15 #include <qlabel.h>
16 #include <qlineedit.h>
17 #include <qlayout.h>
18 #include <qtooltip.h>
19 #include <qwhatsthis.h>
20
21 /*
22  *  Constructs a MeasureGUI_2Sel4LineEdit_QTD as a child of 'parent', with the
23  *  name 'name' and widget flags set to 'f'.
24  */
25 MeasureGUI_2Sel4LineEdit_QTD::MeasureGUI_2Sel4LineEdit_QTD( QWidget* parent, const char* name, WFlags fl )
26     : QWidget( parent, name, fl )
27 {
28     if ( !name )
29         setName( "MeasureGUI_2Sel4LineEdit_QTD" );
30     MeasureGUI_2Sel4LineEdit_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "MeasureGUI_2Sel4LineEdit_QTDLayout"); 
31
32     GroupBox1 = new QGroupBox( this, "GroupBox1" );
33     GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
34     GroupBox1->setColumnLayout(0, Qt::Vertical );
35     GroupBox1->layout()->setSpacing( 6 );
36     GroupBox1->layout()->setMargin( 11 );
37     GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
38     GroupBox1Layout->setAlignment( Qt::AlignTop );
39
40     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
41
42     TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
43     TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
44
45     Layout1->addWidget( TextLabel1, 0, 0 );
46
47     PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
48     PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
49
50     Layout1->addWidget( PushButton1, 0, 1 );
51
52     LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
53
54     Layout1->addWidget( LineEdit1, 0, 2 );
55
56     TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
57     TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
58
59     Layout1->addWidget( TextLabel2, 1, 0 );
60
61     PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
62     PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
63
64     Layout1->addWidget( PushButton2, 1, 1 );
65
66     LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
67
68     Layout1->addWidget( LineEdit2, 1, 2 );
69
70     TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
71     TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
72
73     Layout1->addWidget( TextLabel3, 2, 0 );
74
75     LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
76
77     Layout1->addMultiCellWidget( LineEdit3, 2, 2, 1, 2 );
78
79     TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
80     TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
81
82     Layout1->addWidget( TextLabel4, 3, 0 );
83
84     LineEdit4 = new QLineEdit( GroupBox1, "LineEdit4" );
85
86     Layout1->addMultiCellWidget( LineEdit4, 3, 3, 1, 2 );
87
88     TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
89     TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
90
91     Layout1->addWidget( TextLabel5, 4, 0 );
92
93     LineEdit5 = new QLineEdit( GroupBox1, "LineEdit5" );
94
95     Layout1->addMultiCellWidget( LineEdit5, 4, 4, 1, 2 );
96
97     TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
98     TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
99
100     Layout1->addWidget( TextLabel6, 5, 0 );
101
102     LineEdit6 = new QLineEdit( GroupBox1, "LineEdit6" );
103
104     Layout1->addMultiCellWidget( LineEdit6, 5, 5, 1, 2 );
105     Spacer8 = new QSpacerItem( 0, 60, QSizePolicy::Minimum, QSizePolicy::Expanding );
106     Layout1->addItem( Spacer8, 6, 2 );
107
108     GroupBox1Layout->addLayout( Layout1, 0, 0 );
109
110     MeasureGUI_2Sel4LineEdit_QTDLayout->addWidget( GroupBox1, 0, 0 );
111     languageChange();
112     resize( QSize(129, 163).expandedTo(minimumSizeHint()) );
113     clearWState( WState_Polished );
114 }
115
116 /*
117  *  Destroys the object and frees any allocated resources
118  */
119 MeasureGUI_2Sel4LineEdit_QTD::~MeasureGUI_2Sel4LineEdit_QTD()
120 {
121     // no need to delete child widgets, Qt does it all for us
122 }
123
124 /*
125  *  Sets the strings of the subwidgets using the current
126  *  language.
127  */
128 void MeasureGUI_2Sel4LineEdit_QTD::languageChange()
129 {
130 }
131