Salome HOME
DCQ : New Architecture
[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: mar sep 23 15:06:58 2003
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 <qpushbutton.h>
15 #include <qradiobutton.h>
16 #include <qlayout.h>
17 #include <qtooltip.h>
18 #include <qwhatsthis.h>
19
20 /* 
21  *  Constructs a DlgRef_Skeleton_QTD which is a child of 'parent', with the 
22  *  name 'name' and widget flags set to 'f'.
23  *
24  *  The dialog will by default be modeless, unless you set 'modal' to
25  *  TRUE to construct a modal dialog.
26  */
27 DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent,  const char* name, bool modal, WFlags fl )
28     : QDialog( parent, name, modal, fl )
29 {
30     if ( !name )
31         setName( "DlgRef_Skeleton_QTD" );
32     resize( 307, 147 ); 
33     setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
34     setCaption( trUtf8( "DlgRef_Skeleton_QTD" ) );
35     setSizeGripEnabled( TRUE );
36     DlgRef_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_Skeleton_QTDLayout"); 
37
38     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
39
40     GroupButtons = new QGroupBox( this, "GroupButtons" );
41     GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
42     GroupButtons->setTitle( trUtf8( "" ) );
43     GroupButtons->setColumnLayout(0, Qt::Vertical );
44     GroupButtons->layout()->setSpacing( 6 );
45     GroupButtons->layout()->setMargin( 11 );
46     GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
47     GroupButtonsLayout->setAlignment( Qt::AlignTop );
48
49     Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3"); 
50
51     buttonOk = new QPushButton( GroupButtons, "buttonOk" );
52     buttonOk->setText( trUtf8( "&Ok" ) );
53     Layout3->addWidget( buttonOk );
54
55     buttonApply = new QPushButton( GroupButtons, "buttonApply" );
56     buttonApply->setText( trUtf8( "&Apply" ) );
57     Layout3->addWidget( buttonApply );
58     QSpacerItem* spacer = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
59     Layout3->addItem( spacer );
60
61     buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
62     buttonCancel->setText( trUtf8( "&Cancel" ) );
63     Layout3->addWidget( buttonCancel );
64     GroupButtonsLayout->addLayout( Layout3 );
65
66     Layout1->addWidget( GroupButtons, 2, 0 );
67
68     GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
69     GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
70     GroupConstructors->setTitle( trUtf8( "" ) );
71     GroupConstructors->setColumnLayout(0, Qt::Vertical );
72     GroupConstructors->layout()->setSpacing( 6 );
73     GroupConstructors->layout()->setMargin( 11 );
74     GroupConstructorsLayout = new QGridLayout( GroupConstructors->layout() );
75     GroupConstructorsLayout->setAlignment( Qt::AlignTop );
76
77     Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
78
79     RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
80     RadioButton1->setText( trUtf8( "" ) );
81     Layout2->addWidget( RadioButton1 );
82
83     RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
84     RadioButton2->setText( trUtf8( "" ) );
85     Layout2->addWidget( RadioButton2 );
86
87     RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" );
88     RadioButton3->setText( trUtf8( "" ) );
89     Layout2->addWidget( RadioButton3 );
90
91     GroupConstructorsLayout->addLayout( Layout2, 0, 0 );
92
93     Layout1->addWidget( GroupConstructors, 0, 0 );
94
95     GroupMedium = new QGroupBox( this, "GroupMedium" );
96     GroupMedium->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupMedium->sizePolicy().hasHeightForWidth() ) );
97     GroupMedium->setTitle( trUtf8( "" ) );
98
99     Layout1->addWidget( GroupMedium, 1, 0 );
100
101     DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
102 }
103
104 /*  
105  *  Destroys the object and frees any allocated resources
106  */
107 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
108 {
109     // no need to delete child widgets, Qt does it all for us
110 }
111