Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/qt_gui/src/lib/gui/qt_gui/qt_gui.h @ 7479

Last change on this file since 7479 was 7479, checked in by bensch, 18 years ago

orxonox/qt_gui: opens up a Windows

File size: 723 bytes
RevLine 
[4838]1/*!
[7140]2 * @file qt_gui.h
[4838]3 * @brief Definition of ...
[3245]4*/
[1853]5
[7140]6#ifndef __QT_GUI_H
7#define __QT_GUI_H
[1853]8
[7472]9#include "../gui.h"
[7473]10#include "gui_element.h"
[7478]11#include <qapplication.h>
[7479]12#include <qmainwindow.h>
[7478]13
[7447]14namespace OrxGui
[7149]15{
[7478]16  class QtGui : public OrxGui::Gui, QApplication
[7473]17  {
18    public:
[7478]19      QtGui(int argc, char** argv);
[7473]20      virtual ~QtGui();
21
22    //! Start the Gui
23      virtual void startGui();
24    //! Stop the gui
25      virtual void stopGui();
26    //! Suspend the Gui.
27      virtual void suspend();
28    //! Update the Gui.
29      virtual void update();
30
31
32    private:
[7479]33      QMainWindow*              mainWindow;
[7473]34      std::list<GuiElement*>    elements;   //!< A List of Elements within the QTGui
35  };
[7447]36}
37
[7140]38#endif /* __QT_GUI_H */
Note: See TracBrowser for help on using the repository browser.