00001 /**************************************************************************** 00002 ** Form implementation generated from reading ui file 'Qt/BeoSubSimuQtMainForm.ui' 00003 ** 00004 ** 00005 ** WARNING! All changes made in this file will be lost! 00006 ****************************************************************************/ 00007 00008 #include "Qt/ui/BeoSubSimuQtMainForm.h" 00009 00010 #include <qvariant.h> 00011 #include <GL/gl.h> 00012 #include <GL/glu.h> 00013 #include <qlayout.h> 00014 #include <qtooltip.h> 00015 #include <qwhatsthis.h> 00016 #include "Raster/Raster.H" 00017 #include "Qt/simulation.h" 00018 #include "Qt/BeoSubSimuQtMainForm.ui.h" 00019 00020 /* 00021 * Constructs a BeoSubSimuQtMainForm as a child of 'parent', with the 00022 * name 'name' and widget flags set to 'f'. 00023 */ 00024 BeoSubSimuQtMainForm::BeoSubSimuQtMainForm( QWidget* parent, const char* name, WFlags fl ) 00025 : QWidget( parent, name, fl ) 00026 { 00027 if ( !name ) 00028 setName( "BeoSubSimuQtMainForm" ); 00029 00030 simulation1 = new Simulation( this, "simulation1" ); 00031 simulation1->setGeometry( QRect( 60, 100, 481, 331 ) ); 00032 languageChange(); 00033 resize( QSize(600, 480).expandedTo(minimumSizeHint()) ); 00034 clearWState( WState_Polished ); 00035 init(); 00036 } 00037 00038 /* 00039 * Destroys the object and frees any allocated resources 00040 */ 00041 BeoSubSimuQtMainForm::~BeoSubSimuQtMainForm() 00042 { 00043 // no need to delete child widgets, Qt does it all for us 00044 } 00045 00046 /* 00047 * Sets the strings of the subwidgets using the current 00048 * language. 00049 */ 00050 void BeoSubSimuQtMainForm::languageChange() 00051 { 00052 setCaption( tr( "Simulation" ) ); 00053 } 00054