1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'EntityGUI_Point_QTD.ui'
4 ** Created: ven déc 12 11:17:08 2003
5 ** by: The User Interface Compiler (uic)
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "EntityGUI_Point_QTD.h"
12 #include <qbuttongroup.h>
13 #include <qpushbutton.h>
14 #include <qradiobutton.h>
17 #include <qwhatsthis.h>
20 * Constructs a EntityGUI_Point_QTD which is a child of 'parent', with the
21 * name 'name' and widget flags set to 'f'.
23 EntityGUI_Point_QTD::EntityGUI_Point_QTD( QWidget* parent, const char* name, WFlags fl )
24 : QWidget( parent, name, fl )
27 setName( "EntityGUI_Point_QTD" );
29 setCaption( trUtf8( "EntityGUI_Point_QTD" ) );
30 EntityGUI_Point_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_Point_QTDLayout");
32 GroupPoint = new QButtonGroup( this, "GroupPoint" );
33 GroupPoint->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupPoint->sizePolicy().hasHeightForWidth() ) );
34 GroupPoint->setTitle( trUtf8( "Point" ) );
35 GroupPoint->setColumnLayout(0, Qt::Vertical );
36 GroupPoint->layout()->setSpacing( 6 );
37 GroupPoint->layout()->setMargin( 11 );
38 GroupPointLayout = new QGridLayout( GroupPoint->layout() );
39 GroupPointLayout->setAlignment( Qt::AlignTop );
41 Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1");
43 RB_Point2 = new QRadioButton( GroupPoint, "RB_Point2" );
44 RB_Point2->setText( trUtf8( "Relative" ) );
46 Layout1->addWidget( RB_Point2, 1, 0 );
48 RB_Point1 = new QRadioButton( GroupPoint, "RB_Point1" );
49 RB_Point1->setText( trUtf8( "Absolute" ) );
51 Layout1->addWidget( RB_Point1, 0, 0 );
53 RB_Point3 = new QRadioButton( GroupPoint, "RB_Point3" );
54 RB_Point3->setText( trUtf8( "Selection" ) );
56 Layout1->addWidget( RB_Point3, 2, 0 );
58 GroupPointLayout->addLayout( Layout1, 0, 0 );
60 EntityGUI_Point_QTDLayout->addWidget( GroupPoint, 0, 0 );
63 setTabOrder( RB_Point1, RB_Point2 );
64 setTabOrder( RB_Point2, RB_Point3 );
68 * Destroys the object and frees any allocated resources
70 EntityGUI_Point_QTD::~EntityGUI_Point_QTD()
72 // no need to delete child widgets, Qt does it all for us