1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_3Sel2Spin_QTD.ui'
4 ** Created: Mon Apr 13 11:59:12 2009
5 ** by: The User Interface Compiler ($Id$)
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
10 #include "DlgRef_3Sel2Spin_QTD.h"
13 #include <qpushbutton.h>
14 #include <qgroupbox.h>
15 #include <qlineedit.h>
20 #include <qwhatsthis.h>
23 * Constructs a DlgRef_3Sel2Spin_QTD as a child of 'parent', with the
24 * name 'name' and widget flags set to 'f'.
26 DlgRef_3Sel2Spin_QTD::DlgRef_3Sel2Spin_QTD( QWidget* parent, const char* name, WFlags fl )
27 : QWidget( parent, name, fl )
30 setName( "DlgRef_3Sel2Spin_QTD" );
31 DlgRef_3Sel2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel2Spin_QTDLayout");
33 GroupBox1 = new QGroupBox( this, "GroupBox1" );
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 LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
42 GroupBox1Layout->addWidget( LineEdit1, 0, 2 );
44 TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
45 TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
47 GroupBox1Layout->addWidget( TextLabel1, 0, 0 );
49 PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
50 PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
52 GroupBox1Layout->addWidget( PushButton1, 0, 1 );
54 TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
55 TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
57 GroupBox1Layout->addWidget( TextLabel2, 1, 0 );
59 LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
61 GroupBox1Layout->addWidget( LineEdit2, 1, 2 );
63 PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
64 PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
66 GroupBox1Layout->addWidget( PushButton2, 1, 1 );
68 TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
69 TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
71 GroupBox1Layout->addWidget( TextLabel3, 2, 0 );
73 PushButton3 = new QPushButton( GroupBox1, "PushButton3" );
74 PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
76 GroupBox1Layout->addWidget( PushButton3, 2, 1 );
78 LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
80 GroupBox1Layout->addWidget( LineEdit3, 2, 2 );
82 Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2");
84 SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
85 SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
87 Layout2->addWidget( SpinBox2, 1, 1 );
89 TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
90 TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
92 Layout2->addWidget( TextLabel5, 1, 0 );
94 TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
95 TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
97 Layout2->addWidget( TextLabel4, 0, 0 );
99 SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
100 SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
102 Layout2->addWidget( SpinBox1, 0, 1 );
104 GroupBox1Layout->addMultiCellLayout( Layout2, 3, 3, 0, 2 );
105 Spacer5 = new QSpacerItem( 16, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
106 GroupBox1Layout->addItem( Spacer5, 4, 1 );
108 DlgRef_3Sel2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
110 resize( QSize(124, 201).expandedTo(minimumSizeHint()) );
111 clearWState( WState_Polished );
114 setTabOrder( PushButton1, LineEdit1 );
115 setTabOrder( LineEdit1, PushButton2 );
116 setTabOrder( PushButton2, LineEdit2 );
117 setTabOrder( LineEdit2, PushButton3 );
118 setTabOrder( PushButton3, LineEdit3 );
119 setTabOrder( LineEdit3, SpinBox1 );
120 setTabOrder( SpinBox1, SpinBox2 );
124 * Destroys the object and frees any allocated resources
126 DlgRef_3Sel2Spin_QTD::~DlgRef_3Sel2Spin_QTD()
128 // no need to delete child widgets, Qt does it all for us
132 * Sets the strings of the subwidgets using the current
135 void DlgRef_3Sel2Spin_QTD::languageChange()
137 setCaption( tr( "DlgRef_2Sel2Spin_QTD" ) );
138 GroupBox1->setTitle( QString::null );
139 TextLabel1->setText( tr( "TL1" ) );
140 PushButton1->setText( QString::null );
141 TextLabel2->setText( tr( "TL2" ) );
142 PushButton2->setText( QString::null );
143 TextLabel3->setText( tr( "TL3" ) );
144 PushButton3->setText( QString::null );
145 TextLabel5->setText( tr( "TL5" ) );
146 TextLabel4->setText( tr( "TL4" ) );