]> SALOME platform Git repositories - modules/geom.git/blob - src/DlgRef/DlgRef_Skeleton_QTD.cxx
Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/geom.git] / src / DlgRef / DlgRef_Skeleton_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_Skeleton_QTD.ui'
3 **
4 ** Created: Fri Apr 16 12:57:26 2004
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "DlgRef_Skeleton_QTD.h"
10
11 #include <qvariant.h>
12 #include <qbuttongroup.h>
13 #include <qgroupbox.h>
14 #include <qlabel.h>
15 #include <qlineedit.h>
16 #include <qpushbutton.h>
17 #include <qradiobutton.h>
18 #include <qlayout.h>
19 #include <qtooltip.h>
20 #include <qwhatsthis.h>
21
22 /* 
23  *  Constructs a DlgRef_Skeleton_QTD which is a child of 'parent', with the 
24  *  name 'name' and widget flags set to 'f'.
25  *
26  *  The dialog will by default be modeless, unless you set 'modal' to
27  *  TRUE to construct a modal dialog.
28  */
29 DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent,  const char* name, bool modal, WFlags fl )
30     : QDialog( parent, name, modal, fl )
31 {
32     if ( !name )
33         setName( "DlgRef_Skeleton_QTD" );
34     resize( 321, 295 ); 
35     setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
36     setCaption( trUtf8( "DlgRef_Skeleton_QTD" ) );
37     setSizeGripEnabled( TRUE );
38     DlgRef_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_Skeleton_QTDLayout"); 
39
40     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
41
42     GroupMedium = new QGroupBox( this, "GroupMedium" );
43     GroupMedium->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupMedium->sizePolicy().hasHeightForWidth() ) );
44     GroupMedium->setTitle( trUtf8( "" ) );
45
46     Layout1->addWidget( GroupMedium, 2, 0 );
47
48     GroupButtons = new QGroupBox( this, "GroupButtons" );
49     GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
50     GroupButtons->setTitle( trUtf8( "" ) );
51     GroupButtons->setColumnLayout(0, Qt::Vertical );
52     GroupButtons->layout()->setSpacing( 6 );
53     GroupButtons->layout()->setMargin( 11 );
54     GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
55     GroupButtonsLayout->setAlignment( Qt::AlignTop );
56
57     Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3"); 
58
59     buttonOk = new QPushButton( GroupButtons, "buttonOk" );
60     buttonOk->setText( trUtf8( "&Ok" ) );
61     Layout3->addWidget( buttonOk );
62
63     buttonApply = new QPushButton( GroupButtons, "buttonApply" );
64     buttonApply->setText( trUtf8( "&Apply" ) );
65     Layout3->addWidget( buttonApply );
66     QSpacerItem* spacer = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
67     Layout3->addItem( spacer );
68
69     buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
70     buttonCancel->setText( trUtf8( "&Cancel" ) );
71     Layout3->addWidget( buttonCancel );
72     GroupButtonsLayout->addLayout( Layout3 );
73
74     Layout1->addWidget( GroupButtons, 3, 0 );
75
76     GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
77     GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
78     GroupConstructors->setTitle( trUtf8( "" ) );
79     GroupConstructors->setColumnLayout(0, Qt::Vertical );
80     GroupConstructors->layout()->setSpacing( 6 );
81     GroupConstructors->layout()->setMargin( 11 );
82     GroupConstructorsLayout = new QGridLayout( GroupConstructors->layout() );
83     GroupConstructorsLayout->setAlignment( Qt::AlignTop );
84
85     Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
86
87     RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
88     RadioButton1->setText( trUtf8( "" ) );
89     Layout2->addWidget( RadioButton1 );
90
91     RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
92     RadioButton2->setText( trUtf8( "" ) );
93     Layout2->addWidget( RadioButton2 );
94
95     RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" );
96     RadioButton3->setText( trUtf8( "" ) );
97     Layout2->addWidget( RadioButton3 );
98
99     GroupConstructorsLayout->addLayout( Layout2, 0, 0 );
100
101     Layout1->addWidget( GroupConstructors, 0, 0 );
102
103     GroupBoxName = new QGroupBox( this, "GroupBoxName" );
104     GroupBoxName->setTitle( trUtf8( "Result name" ) );
105     GroupBoxName->setColumnLayout(0, Qt::Vertical );
106     GroupBoxName->layout()->setSpacing( 6 );
107     GroupBoxName->layout()->setMargin( 11 );
108     GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
109     GroupBoxNameLayout->setAlignment( Qt::AlignTop );
110
111     Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66"); 
112
113     ResultName = new QLineEdit( GroupBoxName, "ResultName" );
114
115     Layout66->addWidget( ResultName, 0, 1 );
116
117     NameLabel = new QLabel( GroupBoxName, "NameLabel" );
118     NameLabel->setText( trUtf8( "Name" ) );
119
120     Layout66->addWidget( NameLabel, 0, 0 );
121
122     GroupBoxNameLayout->addLayout( Layout66, 0, 0 );
123
124     Layout1->addWidget( GroupBoxName, 1, 0 );
125
126     DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
127 }
128
129 /*  
130  *  Destroys the object and frees any allocated resources
131  */
132 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
133 {
134     // no need to delete child widgets, Qt does it all for us
135 }
136