1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'MeasureGUI_1Sel12LineEdit_QTD.ui'
4 ** Created: Fri Mar 6 16:48:17 2009
5 ** by: The User Interface Compiler ($Id$)
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
10 #include "MeasureGUI_1Sel12LineEdit_QTD.h"
13 #include <qpushbutton.h>
14 #include <qgroupbox.h>
15 #include <qlineedit.h>
19 #include <qwhatsthis.h>
22 * Constructs a MeasureGUI_1Sel12LineEdit_QTD as a child of 'parent', with the
23 * name 'name' and widget flags set to 'f'.
25 MeasureGUI_1Sel12LineEdit_QTD::MeasureGUI_1Sel12LineEdit_QTD( QWidget* parent, const char* name, WFlags fl )
26 : QWidget( parent, name, fl )
29 setName( "MeasureGUI_1Sel12LineEdit_QTD" );
30 MeasureGUI_1Sel12LineEdit_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "MeasureGUI_1Sel12LineEdit_QTDLayout");
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 );
40 Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1");
42 Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2");
44 LineEdit12 = new QLineEdit( GroupBox1, "LineEdit12" );
46 Layout2->addWidget( LineEdit12, 0, 2 );
48 LineEdit11 = new QLineEdit( GroupBox1, "LineEdit11" );
50 Layout2->addWidget( LineEdit11, 0, 1 );
52 LineEdit42 = new QLineEdit( GroupBox1, "LineEdit42" );
54 Layout2->addWidget( LineEdit42, 3, 2 );
56 TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
57 TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
59 Layout2->addWidget( TextLabel5, 3, 0 );
61 LineEdit31 = new QLineEdit( GroupBox1, "LineEdit31" );
63 Layout2->addWidget( LineEdit31, 2, 1 );
65 LineEdit41 = new QLineEdit( GroupBox1, "LineEdit41" );
67 Layout2->addWidget( LineEdit41, 3, 1 );
69 LineEdit23 = new QLineEdit( GroupBox1, "LineEdit23" );
71 Layout2->addWidget( LineEdit23, 1, 3 );
73 LineEdit33 = new QLineEdit( GroupBox1, "LineEdit33" );
75 Layout2->addWidget( LineEdit33, 2, 3 );
77 LineEdit43 = new QLineEdit( GroupBox1, "LineEdit43" );
79 Layout2->addWidget( LineEdit43, 3, 3 );
81 LineEdit22 = new QLineEdit( GroupBox1, "LineEdit22" );
83 Layout2->addWidget( LineEdit22, 1, 2 );
85 TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
86 TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
88 Layout2->addWidget( TextLabel2, 0, 0 );
90 TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
91 TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
93 Layout2->addWidget( TextLabel4, 2, 0 );
95 LineEdit13 = new QLineEdit( GroupBox1, "LineEdit13" );
97 Layout2->addWidget( LineEdit13, 0, 3 );
99 LineEdit32 = new QLineEdit( GroupBox1, "LineEdit32" );
101 Layout2->addWidget( LineEdit32, 2, 2 );
103 LineEdit21 = new QLineEdit( GroupBox1, "LineEdit21" );
105 Layout2->addWidget( LineEdit21, 1, 1 );
107 TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
108 TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
110 Layout2->addWidget( TextLabel3, 1, 0 );
112 Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
114 LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
115 LineEdit1->setMinimumSize( QSize( 300, 0 ) );
117 Layout1->addWidget( LineEdit1, 0, 2 );
118 Spacer8 = new QSpacerItem( 0, 40, QSizePolicy::Minimum, QSizePolicy::Expanding );
119 Layout1->addItem( Spacer8, 2, 2 );
121 PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
122 PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
124 Layout1->addWidget( PushButton1, 0, 1 );
126 TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
127 TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
129 Layout1->addWidget( TextLabel1, 0, 0 );
131 GroupBox1Layout->addLayout( Layout1, 0, 0 );
133 MeasureGUI_1Sel12LineEdit_QTDLayout->addWidget( GroupBox1, 0, 0 );
135 resize( QSize(131, 171).expandedTo(minimumSizeHint()) );
136 clearWState( WState_Polished );
140 * Destroys the object and frees any allocated resources
142 MeasureGUI_1Sel12LineEdit_QTD::~MeasureGUI_1Sel12LineEdit_QTD()
144 // no need to delete child widgets, Qt does it all for us
148 * Sets the strings of the subwidgets using the current
151 void MeasureGUI_1Sel12LineEdit_QTD::languageChange()
153 setCaption( tr( "MeasureGUI_1Sel12LineEdit_QTD" ) );
154 GroupBox1->setTitle( QString::null );
155 TextLabel5->setText( tr( "TL5" ) );
156 TextLabel2->setText( tr( "TL2" ) );
157 TextLabel4->setText( tr( "TL4" ) );
158 TextLabel3->setText( tr( "TL3" ) );
159 PushButton1->setText( QString::null );
160 TextLabel1->setText( tr( "TL1" ) );