Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

qt_gui: gui-element

File size: 585 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
10#include "gui_saveable.h"
11
12namespace OrxGui
13{
14  class Widget;
15
16  //! A SuperClass for all the Different GuiElements
17  class GuiElement : public GuiSaveableGroup
18  {
19
20  public:
21    GuiElement(const std::string& name);
22    virtual ~GuiElement();
23
24    /** @returns the main Widget of this GuiElement. */
25    Widget* getWidget() const { return this->mainWidget; }
26  protected:
27    void setMainWidget(Widget* widget);
28
29  private:
30    Widget* mainWidget;
31  };
32}
33#endif /* _GUI_ELEMENT_H */
Note: See TracBrowser for help on using the repository browser.