Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 7533 was 7484, checked in by bensch, 19 years ago

orxonox/qt_gui: more stuff

File size: 573 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 Element : public SaveableGroup
18  {
19
20  public:
21    Element(const std::string& name);
22    virtual ~Element();
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.