Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: QT-4 works on Tardis

File size: 738 bytes
Line 
1/*!
2 * @file qt_gui.h
3 * @brief Definition of ...
4*/
5
6#ifndef __QT_GUI_H
7#define __QT_GUI_H
8
9#include "../gui.h"
10#include "../gui_element.h"
11#include <QtGui/QApplication>
12#include <QtGui/QMainWindow>
13
14namespace OrxGui
15{
16  class QtGui : public OrxGui::Gui, QApplication
17  {
18    public:
19      QtGui(int argc, char** argv);
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:
33      QMainWindow*              mainWindow;
34      std::list<Element*>       elements;       //!< A List of Elements within the QTGui
35  };
36}
37
38#endif /* __QT_GUI_H */
Note: See TracBrowser for help on using the repository browser.