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/ or email : webmaster.salome@opencascade.com
20 /****************************************************************************
21 ** Form implementation generated from reading ui file 'DlgRef_Skeleton_QTD.ui'
23 ** Created: Tue Mar 13 14:40:34 2007
24 ** by: The User Interface Compiler ($Id$)
26 ** WARNING! All changes made in this file will be lost!
27 ****************************************************************************/
29 #include "DlgRef_Skeleton_QTD.h"
32 #include <qpushbutton.h>
33 #include <qgroupbox.h>
34 #include <qbuttongroup.h>
35 #include <qradiobutton.h>
36 #include <qlineedit.h>
40 #include <qwhatsthis.h>
43 * Constructs a DlgRef_Skeleton_QTD as a child of 'parent', with the
44 * name 'name' and widget flags set to 'f'.
46 * The dialog will by default be modeless, unless you set 'modal' to
47 * TRUE to construct a modal dialog.
49 DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, bool modal, WFlags fl )
50 : QDialog( parent, name, modal, fl )
53 setName( "DlgRef_Skeleton_QTD" );
54 setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
55 setSizeGripEnabled( TRUE );
56 DlgRef_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_Skeleton_QTDLayout");
58 Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1");
60 GroupButtons = new QGroupBox( this, "GroupButtons" );
61 GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
62 GroupButtons->setColumnLayout(0, Qt::Vertical );
63 GroupButtons->layout()->setSpacing( 6 );
64 GroupButtons->layout()->setMargin( 11 );
65 GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
66 GroupButtonsLayout->setAlignment( Qt::AlignTop );
68 Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3");
70 buttonOk = new QPushButton( GroupButtons, "buttonOk" );
71 Layout3->addWidget( buttonOk );
73 buttonApply = new QPushButton( GroupButtons, "buttonApply" );
74 Layout3->addWidget( buttonApply );
75 Spacer1 = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
76 Layout3->addItem( Spacer1 );
78 buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
79 Layout3->addWidget( buttonCancel );
81 buttonHelp = new QPushButton( GroupButtons, "buttonHelp" );
82 Layout3->addWidget( buttonHelp );
83 GroupButtonsLayout->addLayout( Layout3 );
85 Layout1->addWidget( GroupButtons, 3, 0 );
87 GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
88 GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
89 GroupConstructors->setColumnLayout(0, Qt::Vertical );
90 GroupConstructors->layout()->setSpacing( 6 );
91 GroupConstructors->layout()->setMargin( 11 );
92 GroupConstructorsLayout = new QHBoxLayout( GroupConstructors->layout() );
93 GroupConstructorsLayout->setAlignment( Qt::AlignTop );
95 Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2");
97 RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
98 Layout2->addWidget( RadioButton1 );
100 RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
101 Layout2->addWidget( RadioButton2 );
103 RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" );
104 Layout2->addWidget( RadioButton3 );
106 RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" );
107 Layout2->addWidget( RadioButton4 );
108 GroupConstructorsLayout->addLayout( Layout2 );
110 Layout1->addWidget( GroupConstructors, 0, 0 );
112 GroupBoxName = new QGroupBox( this, "GroupBoxName" );
113 GroupBoxName->setColumnLayout(0, Qt::Vertical );
114 GroupBoxName->layout()->setSpacing( 6 );
115 GroupBoxName->layout()->setMargin( 11 );
116 GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
117 GroupBoxNameLayout->setAlignment( Qt::AlignTop );
119 Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66");
121 ResultName = new QLineEdit( GroupBoxName, "ResultName" );
123 Layout66->addWidget( ResultName, 0, 1 );
125 NameLabel = new QLabel( GroupBoxName, "NameLabel" );
127 Layout66->addWidget( NameLabel, 0, 0 );
129 GroupBoxNameLayout->addLayout( Layout66, 0, 0 );
131 Layout1->addWidget( GroupBoxName, 1, 0 );
133 DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
135 resize( QSize(307, 378).expandedTo(minimumSizeHint()) );
136 clearWState( WState_Polished );
140 * Destroys the object and frees any allocated resources
142 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_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 DlgRef_Skeleton_QTD::languageChange()