00001 #ifndef MAINWINDOW_H 00002 #define MAINWINDOW_H 00003 00004 #include <QtGui/QtGui> 00005 00006 #include "Component/ModelManager.H" 00007 #include "Component/ModelComponent.H" 00008 #include "Robots/SeaBeeIII/GUI/CameraDisplay.qt.H" 00009 #include "Robots/SeaBeeIII/GUI/IceCommunicator.qt.H" 00010 00011 class MainWindow : public QMainWindow, public ModelComponent 00012 { 00013 Q_OBJECT 00014 00015 public: 00016 //! Create a new MainWindow 00017 MainWindow(OptionManager& mgr, 00018 const std::string& descrName = "MainWindow", 00019 const std::string& tagName = "MainWindow"); 00020 00021 void start2(); 00022 00023 void initIce(Ice::CommunicatorPtr ic, Ice::ObjectAdapterPtr adapter); 00024 00025 QGridLayout* constructImageDisplays(); 00026 00027 private: 00028 CameraDisplay *itsFwdLeftCamera; 00029 CameraDisplay *itsFwdRightCamera; 00030 CameraDisplay *itsDwnLeftCamera; 00031 CameraDisplay *itsDwnRightCamera; 00032 00033 nub::ref<IceCommunicator> itsIceCommunicator; 00034 00035 00036 }; 00037 00038 #endif //MAINWINDOW_H 00039