Salome HOME
1e24399b711f3e28e13e3d8d508be990bd897312
[modules/geom.git] / src / DlgRef / DlgRef_3Check_QTD.cxx
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'DlgRef_3Check_QTD.ui'
3 **
4 ** Created: Tue Aug 24 11:27:47 2004
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "DlgRef_3Check_QTD.h"
10
11 #include <qvariant.h>
12 #include <qbuttongroup.h>
13 #include <qpushbutton.h>
14 #include <qradiobutton.h>
15 #include <qlayout.h>
16 #include <qtooltip.h>
17 #include <qwhatsthis.h>
18
19 /* 
20  *  Constructs a DlgRef_3Check_QTD which is a child of 'parent', with the 
21  *  name 'name' and widget flags set to 'f'.
22  */
23 DlgRef_3Check_QTD::DlgRef_3Check_QTD( QWidget* parent,  const char* name, WFlags fl )
24     : QWidget( parent, name, fl )
25 {
26     if ( !name )
27         setName( "DlgRef_3Check_QTD" );
28     resize( 135, 108 ); 
29     setCaption( trUtf8( "DlgRef_3Check_QTD" ) );
30     DlgRef_3Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Check_QTDLayout"); 
31
32     GroupBox1 = new QButtonGroup( this, "GroupBox1" );
33     GroupBox1->setTitle( trUtf8( "" ) );
34     GroupBox1->setColumnLayout(0, Qt::Vertical );
35     GroupBox1->layout()->setSpacing( 6 );
36     GroupBox1->layout()->setMargin( 11 );
37     GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
38     GroupBox1Layout->setAlignment( Qt::AlignTop );
39
40     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
41
42     RadioButton3 = new QRadioButton( GroupBox1, "RadioButton3" );
43     RadioButton3->setText( trUtf8( "RadioButton3" ) );
44
45     Layout1->addWidget( RadioButton3, 2, 0 );
46
47     RadioButton1 = new QRadioButton( GroupBox1, "RadioButton1" );
48     RadioButton1->setText( trUtf8( "RadioButton1" ) );
49
50     Layout1->addWidget( RadioButton1, 0, 0 );
51
52     RadioButton2 = new QRadioButton( GroupBox1, "RadioButton2" );
53     RadioButton2->setText( trUtf8( "RadioButton2" ) );
54
55     Layout1->addWidget( RadioButton2, 1, 0 );
56     QSpacerItem* spacer = new QSpacerItem( 0, 91, QSizePolicy::Minimum, QSizePolicy::Expanding );
57     Layout1->addItem( spacer, 3, 0 );
58
59     GroupBox1Layout->addLayout( Layout1, 0, 0 );
60
61     DlgRef_3Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
62
63     // tab order
64     setTabOrder( RadioButton1, RadioButton2 );
65     setTabOrder( RadioButton2, RadioButton3 );
66 }
67
68 /*  
69  *  Destroys the object and frees any allocated resources
70  */
71 DlgRef_3Check_QTD::~DlgRef_3Check_QTD()
72 {
73     // no need to delete child widgets, Qt does it all for us
74 }
75