Salome HOME
Update GUI documentation for bugs 16559
[modules/geom.git] / src / DlgRef / DlgRef_Skeleton_QTD.cxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 /****************************************************************************
21 ** Form implementation generated from reading ui file 'DlgRef_Skeleton_QTD.ui'
22 **
23 ** Created: Tue Mar 13 14:40:34 2007
24 **      by: The User Interface Compiler ($Id$)
25 **
26 ** WARNING! All changes made in this file will be lost!
27 ****************************************************************************/
28
29 #include "DlgRef_Skeleton_QTD.h"
30
31 #include <qvariant.h>
32 #include <qpushbutton.h>
33 #include <qgroupbox.h>
34 #include <qbuttongroup.h>
35 #include <qradiobutton.h>
36 #include <qlineedit.h>
37 #include <qlabel.h>
38 #include <qlayout.h>
39 #include <qtooltip.h>
40 #include <qwhatsthis.h>
41
42 /*
43  *  Constructs a DlgRef_Skeleton_QTD as a child of 'parent', with the
44  *  name 'name' and widget flags set to 'f'.
45  *
46  *  The dialog will by default be modeless, unless you set 'modal' to
47  *  TRUE to construct a modal dialog.
48  */
49 DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, bool modal, WFlags fl )
50     : QDialog( parent, name, modal, fl )
51 {
52     if ( !name )
53         setName( "DlgRef_Skeleton_QTD" );
54     setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
55     setSizeGripEnabled( TRUE );
56     DlgRef_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_Skeleton_QTDLayout"); 
57
58     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
59
60     GroupButtons = new QGroupBox( this, "GroupButtons" );
61     GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
62     GroupButtons->setColumnLayout(0, Qt::Vertical );
63     GroupButtons->layout()->setSpacing( 6 );
64     GroupButtons->layout()->setMargin( 11 );
65     GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
66     GroupButtonsLayout->setAlignment( Qt::AlignTop );
67
68     Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3"); 
69
70     buttonOk = new QPushButton( GroupButtons, "buttonOk" );
71     Layout3->addWidget( buttonOk );
72
73     buttonApply = new QPushButton( GroupButtons, "buttonApply" );
74     Layout3->addWidget( buttonApply );
75     Spacer1 = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
76     Layout3->addItem( Spacer1 );
77
78     buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
79     Layout3->addWidget( buttonCancel );
80
81     buttonHelp = new QPushButton( GroupButtons, "buttonHelp" );
82     Layout3->addWidget( buttonHelp );
83     GroupButtonsLayout->addLayout( Layout3 );
84
85     Layout1->addWidget( GroupButtons, 3, 0 );
86
87     GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
88     GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
89     GroupConstructors->setColumnLayout(0, Qt::Vertical );
90     GroupConstructors->layout()->setSpacing( 6 );
91     GroupConstructors->layout()->setMargin( 11 );
92     GroupConstructorsLayout = new QHBoxLayout( GroupConstructors->layout() );
93     GroupConstructorsLayout->setAlignment( Qt::AlignTop );
94
95     Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
96
97     RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
98     Layout2->addWidget( RadioButton1 );
99
100     RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
101     Layout2->addWidget( RadioButton2 );
102
103     RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" );
104     Layout2->addWidget( RadioButton3 );
105
106     RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" );
107     Layout2->addWidget( RadioButton4 );
108     GroupConstructorsLayout->addLayout( Layout2 );
109
110     Layout1->addWidget( GroupConstructors, 0, 0 );
111
112     GroupBoxName = new QGroupBox( this, "GroupBoxName" );
113     GroupBoxName->setColumnLayout(0, Qt::Vertical );
114     GroupBoxName->layout()->setSpacing( 6 );
115     GroupBoxName->layout()->setMargin( 11 );
116     GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
117     GroupBoxNameLayout->setAlignment( Qt::AlignTop );
118
119     Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66"); 
120
121     ResultName = new QLineEdit( GroupBoxName, "ResultName" );
122
123     Layout66->addWidget( ResultName, 0, 1 );
124
125     NameLabel = new QLabel( GroupBoxName, "NameLabel" );
126
127     Layout66->addWidget( NameLabel, 0, 0 );
128
129     GroupBoxNameLayout->addLayout( Layout66, 0, 0 );
130
131     Layout1->addWidget( GroupBoxName, 1, 0 );
132
133     DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
134     languageChange();
135     resize( QSize(307, 378).expandedTo(minimumSizeHint()) );
136     clearWState( WState_Polished );
137 }
138
139 /*
140  *  Destroys the object and frees any allocated resources
141  */
142 DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
143 {
144     // no need to delete child widgets, Qt does it all for us
145 }
146
147 /*
148  *  Sets the strings of the subwidgets using the current
149  *  language.
150  */
151 void DlgRef_Skeleton_QTD::languageChange()
152 {
153 }
154