Salome HOME
NPAL14167: Keep the parameters of the object after a transformation.
[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 Mar 26 12:14:14 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     GroupConstructorsLayout->addLayout( Layout2 );
64
65     Layout1->addWidget( GroupConstructors, 0, 0 );
66
67     GroupBoxName = new QGroupBox( this, "GroupBoxName" );
68     GroupBoxName->setColumnLayout(0, Qt::Vertical );
69     GroupBoxName->layout()->setSpacing( 6 );
70     GroupBoxName->layout()->setMargin( 11 );
71     GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
72     GroupBoxNameLayout->setAlignment( Qt::AlignTop );
73
74     Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
75
76     NameLabel = new QLabel( GroupBoxName, "NameLabel" );
77
78     Layout4->addWidget( NameLabel, 0, 0 );
79
80     ResultName = new QLineEdit( GroupBoxName, "ResultName" );
81
82     Layout4->addWidget( ResultName, 0, 1 );
83
84     GroupBoxNameLayout->addLayout( Layout4, 0, 0 );
85
86     Layout1->addWidget( GroupBoxName, 1, 0 );
87
88     GroupBoxPublish = new QGroupBox( this, "GroupBoxPublish" );
89     GroupBoxPublish->setColumnLayout(0, Qt::Vertical );
90     GroupBoxPublish->layout()->setSpacing( 6 );
91     GroupBoxPublish->layout()->setMargin( 11 );
92     GroupBoxPublishLayout = new QGridLayout( GroupBoxPublish->layout() );
93     GroupBoxPublishLayout->setAlignment( Qt::AlignTop );
94
95     Layout5 = new QGridLayout( 0, 1, 1, 0, 6, "Layout5"); 
96
97     CheckBoxRestoreSS = new QCheckBox( GroupBoxPublish, "CheckBoxRestoreSS" );
98
99     Layout5->addWidget( CheckBoxRestoreSS, 0, 0 );
100
101     GroupBoxPublishLayout->addLayout( Layout5, 0, 0 );
102
103     Layout1->addWidget( GroupBoxPublish, 3, 0 );
104
105     GroupButtons = new QGroupBox( this, "GroupButtons" );
106     GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
107     GroupButtons->setColumnLayout(0, Qt::Vertical );
108     GroupButtons->layout()->setSpacing( 6 );
109     GroupButtons->layout()->setMargin( 11 );
110     GroupButtonsLayout = new QVBoxLayout( GroupButtons->layout() );
111     GroupButtonsLayout->setAlignment( Qt::AlignTop );
112
113     Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
114
115     buttonApply = new QPushButton( GroupButtons, "buttonApply" );
116
117     Layout3->addWidget( buttonApply, 0, 0 );
118
119     buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
120
121     Layout3->addWidget( buttonCancel, 0, 1 );
122
123     buttonOk = new QPushButton( GroupButtons, "buttonOk" );
124
125     Layout3->addWidget( buttonOk, 0, 2 );
126     Spacer1 = new QSpacerItem( 90, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
127     Layout3->addItem( Spacer1, 0, 3 );
128
129     buttonHelp = new QPushButton( GroupButtons, "buttonHelp" );
130
131     Layout3->addWidget( buttonHelp, 0, 4 );
132     GroupButtonsLayout->addLayout( Layout3 );
133
134     Layout1->addWidget( GroupButtons, 4, 0 );
135
136     DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
137     languageChange();
138     resize( QSize(615, 682).expandedTo(minimumSizeHint()) );
139     clearWState( WState_Polished );
140 }
141
142 /*
143  *  Destroys the object and frees any allocated resources
144  */
145 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
146 {
147     // no need to delete child widgets, Qt does it all for us
148 }
149
150 /*
151  *  Sets the strings of the subwidgets using the current
152  *  language.
153  */
154 void DlgRef_Skeleton_QTD::languageChange()
155 {
156 }
157