1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'EntityGUI_Dir2_QTD.ui'
4 ** Created: ven déc 12 11:17:10 2003
5 ** by: The User Interface Compiler (uic)
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "EntityGUI_Dir2_QTD.h"
12 #include <qbuttongroup.h>
13 #include <qpushbutton.h>
14 #include <qradiobutton.h>
17 #include <qwhatsthis.h>
20 * Constructs a EntityGUI_Dir2_QTD which is a child of 'parent', with the
21 * name 'name' and widget flags set to 'f'.
23 EntityGUI_Dir2_QTD::EntityGUI_Dir2_QTD( QWidget* parent, const char* name, WFlags fl )
24 : QWidget( parent, name, fl )
27 setName( "EntityGUI_Dir2_QTD" );
29 setCaption( trUtf8( "EntityGUI_Dir2_QTD" ) );
30 EntityGUI_Dir2_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_Dir2_QTDLayout");
32 GroupDir2 = new QButtonGroup( this, "GroupDir2" );
33 GroupDir2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupDir2->sizePolicy().hasHeightForWidth() ) );
34 GroupDir2->setTitle( trUtf8( "Direction" ) );
35 GroupDir2->setColumnLayout(0, Qt::Vertical );
36 GroupDir2->layout()->setSpacing( 6 );
37 GroupDir2->layout()->setMargin( 11 );
38 GroupDir2Layout = new QGridLayout( GroupDir2->layout() );
39 GroupDir2Layout->setAlignment( Qt::AlignTop );
41 Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1");
43 RB_Dir22 = new QRadioButton( GroupDir2, "RB_Dir22" );
44 RB_Dir22->setText( trUtf8( "X" ) );
46 Layout1->addWidget( RB_Dir22, 1, 0 );
48 RB_Dir23 = new QRadioButton( GroupDir2, "RB_Dir23" );
49 RB_Dir23->setText( trUtf8( "Y" ) );
51 Layout1->addWidget( RB_Dir23, 2, 0 );
52 QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
53 Layout1->addItem( spacer, 3, 0 );
55 RB_Dir21 = new QRadioButton( GroupDir2, "RB_Dir21" );
56 RB_Dir21->setText( trUtf8( "Length" ) );
58 Layout1->addWidget( RB_Dir21, 0, 0 );
60 GroupDir2Layout->addLayout( Layout1, 0, 0 );
62 EntityGUI_Dir2_QTDLayout->addWidget( GroupDir2, 0, 0 );
65 setTabOrder( RB_Dir21, RB_Dir22 );
66 setTabOrder( RB_Dir22, RB_Dir23 );
70 * Destroys the object and frees any allocated resources
72 EntityGUI_Dir2_QTD::~EntityGUI_Dir2_QTD()
74 // no need to delete child widgets, Qt does it all for us