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
RevLine 
[7470]1/*!
[5039]2 * @file gui_element.h
[7470]3 *  Definition of ...
[3329]4
[3245]5*/
[1853]6
[4048]7#ifndef _GUI_ELEMENT_H
8#define _GUI_ELEMENT_H
[1853]9
[7478]10#include "gui_saveable.h"
11
[7470]12namespace OrxGui
13{
[7476]14  class Widget;
15
[7470]16  //! A SuperClass for all the Different GuiElements
[7478]17  class GuiElement : public GuiSaveableGroup
[7470]18  {
[1853]19
[7470]20  public:
[7478]21    GuiElement(const std::string& name);
[7470]22    virtual ~GuiElement();
[1853]23
[7470]24    /** @returns the main Widget of this GuiElement. */
[7476]25    Widget* getWidget() const { return this->mainWidget; }
[7470]26  protected:
27    void setMainWidget(Widget* widget);
[1853]28
[7470]29  private:
30    Widget* mainWidget;
31  };
32}
[4048]33#endif /* _GUI_ELEMENT_H */
Note: See TracBrowser for help on using the repository browser.