00001 #ifndef SIGEL_SLAVEGUI_SIG_SIMULATIONWINDOW_H 00002 #define SIGEL_SLAVEGUI_SIG_SIMULATIONWINDOW_H 00003 00004 #include <qmainwindow.h> 00005 #include <qtoolbar.h> 00006 00007 #include "SIGEL_Robot/SIG_Robot.h" 00008 #include "SIGEL_Environment/SIG_Environment.h" 00009 #include "SIGEL_Simulation/SIG_SimulationParameters.h" 00010 #include "SIGEL_Program/SIG_Program.h" 00011 #include "SIGEL_SlaveGUI/SIG_SimulationWidget.h" 00012 #include "SIGEL_SlaveGUI/SIG_SimulationControls.h" 00013 00021 namespace SIGEL_SlaveGUI 00022 { 00023 00033 class SIG_SimulationWindow : public QMainWindow 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 00048 SIG_SimulationWindow( QWidget *parent, 00049 char const *name = 0, 00050 WFlags f = WType_TopLevel ); 00051 00055 ~SIG_SimulationWindow(); 00056 00067 void visualizeThis(SIGEL_Robot::SIG_Robot const &robot, 00068 SIGEL_Environment::SIG_Environment const &environment, 00069 SIGEL_Simulation::SIG_SimulationParameters const &simulationParameters, 00070 SIGEL_Program::SIG_Program const &program); 00071 00072 public slots: 00073 void slotStopPressed(); 00074 00075 private: 00076 00081 SIG_SimulationWidget *simulationWidget; 00082 00086 QToolBar *simulationControlBar; 00087 00091 SIG_SimulationControls *simulationControls; 00092 00093 }; 00094 00095 } 00096 00097 #endif // SIGEL_SLAVEGUI_SIG_SIMULATIONWINDOW_H