Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

qt_gui: added some missing files

File size: 509 bytes
Line 
1/*!
2 * @file gui_element.h
3 *  Definition of ...
4
5*/
6
7#ifndef _GUI_ELEMENT_H
8#define _GUI_ELEMENT_H
9
10namespace OrxGui
11{
12  class Widget;
13
14  //! A SuperClass for all the Different GuiElements
15  class GuiElement
16  {
17
18  public:
19    GuiElement();
20    virtual ~GuiElement();
21
22    /** @returns the main Widget of this GuiElement. */
23    Widget* getWidget() const { return this->mainWidget; }
24  protected:
25    void setMainWidget(Widget* widget);
26
27  private:
28    Widget* mainWidget;
29  };
30}
31#endif /* _GUI_ELEMENT_H */
Note: See TracBrowser for help on using the repository browser.