Salome HOME
b612a9a42f1c7b5f6db7b73b17d847af80ffee92
[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: Wed Aug 11 18:42:51 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( 307, 378 ); 
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 QHBoxLayout( 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     RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" );
100     RadioButton4->setText( trUtf8( "" ) );
101     Layout2->addWidget( RadioButton4 );
102     GroupConstructorsLayout->addLayout( Layout2 );
103
104     Layout1->addWidget( GroupConstructors, 0, 0 );
105
106     GroupBoxName = new QGroupBox( this, "GroupBoxName" );
107     GroupBoxName->setTitle( trUtf8( "Result name" ) );
108     GroupBoxName->setColumnLayout(0, Qt::Vertical );
109     GroupBoxName->layout()->setSpacing( 6 );
110     GroupBoxName->layout()->setMargin( 11 );
111     GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
112     GroupBoxNameLayout->setAlignment( Qt::AlignTop );
113
114     Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66"); 
115
116     ResultName = new QLineEdit( GroupBoxName, "ResultName" );
117
118     Layout66->addWidget( ResultName, 0, 1 );
119
120     NameLabel = new QLabel( GroupBoxName, "NameLabel" );
121     NameLabel->setText( trUtf8( "Name" ) );
122
123     Layout66->addWidget( NameLabel, 0, 0 );
124
125     GroupBoxNameLayout->addLayout( Layout66, 0, 0 );
126
127     Layout1->addWidget( GroupBoxName, 1, 0 );
128
129     DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
130 }
131
132 /*  
133  *  Destroys the object and frees any allocated resources
134  */
135 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
136 {
137     // no need to delete child widgets, Qt does it all for us
138 }
139