Salome HOME
Changes for bug NPAL15938.
[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 Apr 2 16:42:12 2008
5 **      by: The User Interface Compiler ($Id$)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9
10 #include "DlgRef_Skeleton_QTD.h"
11
12 #include <qvariant.h>
13 #include <qpushbutton.h>
14 #include <qbuttongroup.h>
15 #include <qradiobutton.h>
16 #include <qgroupbox.h>
17 #include <qlabel.h>
18 #include <qlineedit.h>
19 #include <qcheckbox.h>
20 #include <qlayout.h>
21 #include <qtooltip.h>
22 #include <qwhatsthis.h>
23
24 /*
25  *  Constructs a DlgRef_Skeleton_QTD as a child of 'parent', with the
26  *  name 'name' and widget flags set to 'f'.
27  *
28  *  The dialog will by default be modeless, unless you set 'modal' to
29  *  TRUE to construct a modal dialog.
30  */
31 DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, bool modal, WFlags fl )
32     : QDialog( parent, name, modal, fl )
33 {
34     if ( !name )
35         setName( "DlgRef_Skeleton_QTD" );
36     setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
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     GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
43     GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
44     GroupConstructors->setColumnLayout(0, Qt::Vertical );
45     GroupConstructors->layout()->setSpacing( 6 );
46     GroupConstructors->layout()->setMargin( 11 );
47     GroupConstructorsLayout = new QHBoxLayout( GroupConstructors->layout() );
48     GroupConstructorsLayout->setAlignment( Qt::AlignTop );
49
50     Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
51
52     RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
53     Layout2->addWidget( RadioButton1 );
54
55     RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
56     Layout2->addWidget( RadioButton2 );
57
58     RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" );
59     Layout2->addWidget( RadioButton3 );
60
61     RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" );
62     Layout2->addWidget( RadioButton4 );
63
64     RadioButton5 = new QRadioButton( GroupConstructors, "RadioButton5" );
65     Layout2->addWidget( RadioButton5 );
66     GroupConstructorsLayout->addLayout( Layout2 );
67
68     Layout1->addWidget( GroupConstructors, 0, 0 );
69
70     GroupBoxName = new QGroupBox( this, "GroupBoxName" );
71     GroupBoxName->setColumnLayout(0, Qt::Vertical );
72     GroupBoxName->layout()->setSpacing( 6 );
73     GroupBoxName->layout()->setMargin( 11 );
74     GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
75     GroupBoxNameLayout->setAlignment( Qt::AlignTop );
76
77     Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
78
79     NameLabel = new QLabel( GroupBoxName, "NameLabel" );
80
81     Layout4->addWidget( NameLabel, 0, 0 );
82
83     ResultName = new QLineEdit( GroupBoxName, "ResultName" );
84
85     Layout4->addWidget( ResultName, 0, 1 );
86
87     GroupBoxNameLayout->addLayout( Layout4, 0, 0 );
88
89     Layout1->addWidget( GroupBoxName, 1, 0 );
90
91     GroupBoxPublish = new QGroupBox( this, "GroupBoxPublish" );
92     GroupBoxPublish->setColumnLayout(0, Qt::Vertical );
93     GroupBoxPublish->layout()->setSpacing( 6 );
94     GroupBoxPublish->layout()->setMargin( 11 );
95     GroupBoxPublishLayout = new QGridLayout( GroupBoxPublish->layout() );
96     GroupBoxPublishLayout->setAlignment( Qt::AlignTop );
97
98     Layout5 = new QGridLayout( 0, 1, 1, 0, 6, "Layout5"); 
99
100     CheckBoxRestoreSS = new QCheckBox( GroupBoxPublish, "CheckBoxRestoreSS" );
101
102     Layout5->addWidget( CheckBoxRestoreSS, 0, 0 );
103
104     GroupBoxPublishLayout->addLayout( Layout5, 0, 0 );
105
106     Layout1->addWidget( GroupBoxPublish, 3, 0 );
107
108     GroupButtons = new QGroupBox( this, "GroupButtons" );
109     GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
110     GroupButtons->setColumnLayout(0, Qt::Vertical );
111     GroupButtons->layout()->setSpacing( 6 );
112     GroupButtons->layout()->setMargin( 11 );
113     GroupButtonsLayout = new QVBoxLayout( GroupButtons->layout() );
114     GroupButtonsLayout->setAlignment( Qt::AlignTop );
115
116     Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
117
118     buttonApply = new QPushButton( GroupButtons, "buttonApply" );
119
120     Layout3->addWidget( buttonApply, 0, 0 );
121
122     buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
123
124     Layout3->addWidget( buttonCancel, 0, 1 );
125
126     buttonOk = new QPushButton( GroupButtons, "buttonOk" );
127
128     Layout3->addWidget( buttonOk, 0, 2 );
129     Spacer1 = new QSpacerItem( 90, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
130     Layout3->addItem( Spacer1, 0, 3 );
131
132     buttonHelp = new QPushButton( GroupButtons, "buttonHelp" );
133
134     Layout3->addWidget( buttonHelp, 0, 4 );
135     GroupButtonsLayout->addLayout( Layout3 );
136
137     Layout1->addWidget( GroupButtons, 4, 0 );
138
139     DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
140     languageChange();
141     resize( QSize(615, 682).expandedTo(minimumSizeHint()) );
142     clearWState( WState_Polished );
143 }
144
145 /*
146  *  Destroys the object and frees any allocated resources
147  */
148 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
149 {
150     // no need to delete child widgets, Qt does it all for us
151 }
152
153 /*
154  *  Sets the strings of the subwidgets using the current
155  *  language.
156  */
157 void DlgRef_Skeleton_QTD::languageChange()
158 {
159 }
160