Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 12, 2006, 8:58:20 AM (18 years ago)
Author:
bensch
Message:

orxonox/qt_gui: QtGuiComboBox saveable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/gui/qt_gui/gui_general.cc

    r7595 r7601  
    3131
    3232#include "debug.h"
     33#include "globals.h"
    3334
    3435#include "qt_gui_elements.h"
     
    4041  */
    4142  GuiGeneral::GuiGeneral(OrxGui::Gui* gui)
    42   : Element("General", gui), QGroupBox()
     43  : Element(CONFIG_SECTION_GENERAL, gui), QGroupBox()
    4344  {
    4445    QGridLayout* layout = new QGridLayout(this);
     
    4647      QLabel* dataDirLabel = new QLabel("DataDirectory");
    4748      layout->addWidget(dataDirLabel, 0,0);
    48       QtGuiInputLine* dataDir = new QtGuiInputLine("Data-Directory", this);
     49      QtGuiInputLine* dataDir = new QtGuiInputLine(CONFIG_NAME_DATADIR, this);
    4950      layout->addWidget(dataDir, 0, 1, 1, 2);
    5051      QPushButton* dataFileDialogButton = new QPushButton("browse");
     
    5657      QLabel* debugLabel = new QLabel("debug-mode");
    5758      layout->addWidget(debugLabel, 1,0);
    58       QtGuiComboBox* debug = new QtGuiComboBox("debug", this);
     59      QtGuiComboBox* debug = new QtGuiComboBox(CONFIG_NAME_DEBUG_LEVEL, this);
    5960      layout->addWidget(debug, 1, 1, 1, 2);
    6061
Note: See TracChangeset for help on using the changeset viewer.