Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/qt_gui/gui_control.h @ 7740

Last change on this file since 7740 was 7661, checked in by bensch, 19 years ago

orxonox/trunk: merged the QT_GUI back to the trunk
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/qt_gui . -r7607:HEAD

absolutely no conflicts :)

File size: 897 bytes
Line 
1/*!
2  \file gui_control.h
3  \brief File that holds the class that creates the Control-Options.
4*/
5#ifndef _GUI_CONTROL_H
6#define _GUI_CONTROL_H
7
8#include "../gui_element.h"
9#include <vector>
10#include <string>
11#include <QtGui/QGroupBox>
12#include <QtGui/QPushButton>
13#include "../gui_saveable.h"
14
15namespace OrxGui
16{
17  //! Class that creates the Control-Options.
18  class GuiControl : public OrxGui::Element, public QGroupBox
19  {
20  public:
21    GuiControl(OrxGui::Gui* gui);
22    virtual ~GuiControl();
23
24  private:
25  };
26
27  class GuiControlInput : public QPushButton, public OrxGui::Saveable
28  {
29    Q_OBJECT
30  public:
31    GuiControlInput(const std::string& name, SaveableGroup* group, const std::string& defaultValue);
32
33    virtual void load();
34    virtual void save();
35
36  public slots:
37    ///TODO: MAKE IT CONFIGUREABLE.
38  signals:
39    //    void optionChanged();
40  };
41
42}
43
44#endif /* _GUI_CONTROL_H */
Note: See TracBrowser for help on using the repository browser.