1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/
20 /****************************************************************************
21 ** Form implementation generated from reading ui file 'DlgRef_Skeleton_QTD.ui'
23 ** Created: Wed Aug 11 18:42:51 2004
24 ** by: The User Interface Compiler (uic)
26 ** WARNING! All changes made in this file will be lost!
27 ****************************************************************************/
28 #include "DlgRef_Skeleton_QTD.h"
31 #include <qbuttongroup.h>
32 #include <qgroupbox.h>
34 #include <qlineedit.h>
35 #include <qpushbutton.h>
36 #include <qradiobutton.h>
39 #include <qwhatsthis.h>
42 * Constructs a DlgRef_Skeleton_QTD which is a child of 'parent', with the
43 * name 'name' and widget flags set to 'f'.
45 * The dialog will by default be modeless, unless you set 'modal' to
46 * TRUE to construct a modal dialog.
48 DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, bool modal, WFlags fl )
49 : QDialog( parent, name, modal, fl )
52 setName( "DlgRef_Skeleton_QTD" );
54 setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
55 setCaption( trUtf8( "DlgRef_Skeleton_QTD" ) );
56 setSizeGripEnabled( TRUE );
57 DlgRef_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_Skeleton_QTDLayout");
59 Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1");
61 GroupMedium = new QGroupBox( this, "GroupMedium" );
62 GroupMedium->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupMedium->sizePolicy().hasHeightForWidth() ) );
63 GroupMedium->setTitle( trUtf8( "" ) );
65 Layout1->addWidget( GroupMedium, 2, 0 );
67 GroupButtons = new QGroupBox( this, "GroupButtons" );
68 GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
69 GroupButtons->setTitle( trUtf8( "" ) );
70 GroupButtons->setColumnLayout(0, Qt::Vertical );
71 GroupButtons->layout()->setSpacing( 6 );
72 GroupButtons->layout()->setMargin( 11 );
73 GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
74 GroupButtonsLayout->setAlignment( Qt::AlignTop );
76 Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3");
78 buttonOk = new QPushButton( GroupButtons, "buttonOk" );
79 buttonOk->setText( trUtf8( "&Ok" ) );
80 Layout3->addWidget( buttonOk );
82 buttonApply = new QPushButton( GroupButtons, "buttonApply" );
83 buttonApply->setText( trUtf8( "&Apply" ) );
84 Layout3->addWidget( buttonApply );
85 QSpacerItem* spacer = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
86 Layout3->addItem( spacer );
88 buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
89 buttonCancel->setText( trUtf8( "&Cancel" ) );
90 Layout3->addWidget( buttonCancel );
91 GroupButtonsLayout->addLayout( Layout3 );
93 Layout1->addWidget( GroupButtons, 3, 0 );
95 GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
96 GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
97 GroupConstructors->setTitle( trUtf8( "" ) );
98 GroupConstructors->setColumnLayout(0, Qt::Vertical );
99 GroupConstructors->layout()->setSpacing( 6 );
100 GroupConstructors->layout()->setMargin( 11 );
101 GroupConstructorsLayout = new QHBoxLayout( GroupConstructors->layout() );
102 GroupConstructorsLayout->setAlignment( Qt::AlignTop );
104 Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2");
106 RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
107 RadioButton1->setText( trUtf8( "" ) );
108 Layout2->addWidget( RadioButton1 );
110 RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
111 RadioButton2->setText( trUtf8( "" ) );
112 Layout2->addWidget( RadioButton2 );
114 RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" );
115 RadioButton3->setText( trUtf8( "" ) );
116 Layout2->addWidget( RadioButton3 );
118 RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" );
119 RadioButton4->setText( trUtf8( "" ) );
120 Layout2->addWidget( RadioButton4 );
121 GroupConstructorsLayout->addLayout( Layout2 );
123 Layout1->addWidget( GroupConstructors, 0, 0 );
125 GroupBoxName = new QGroupBox( this, "GroupBoxName" );
126 GroupBoxName->setTitle( trUtf8( "Result name" ) );
127 GroupBoxName->setColumnLayout(0, Qt::Vertical );
128 GroupBoxName->layout()->setSpacing( 6 );
129 GroupBoxName->layout()->setMargin( 11 );
130 GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
131 GroupBoxNameLayout->setAlignment( Qt::AlignTop );
133 Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66");
135 ResultName = new QLineEdit( GroupBoxName, "ResultName" );
137 Layout66->addWidget( ResultName, 0, 1 );
139 NameLabel = new QLabel( GroupBoxName, "NameLabel" );
140 NameLabel->setText( trUtf8( "Name" ) );
142 Layout66->addWidget( NameLabel, 0, 0 );
144 GroupBoxNameLayout->addLayout( Layout66, 0, 0 );
146 Layout1->addWidget( GroupBoxName, 1, 0 );
148 DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
152 * Destroys the object and frees any allocated resources
154 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
156 // no need to delete child widgets, Qt does it all for us