Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7640 in orxonox.OLD for branches/qt_gui/src/lib/gui


Ignore:
Timestamp:
May 17, 2006, 11:47:42 AM (19 years ago)
Author:
bensch
Message:

qt_gui: dynamic debug-level-setup

File:
1 edited

Legend:

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

    r7634 r7640  
    4141  */
    4242  GuiGeneral::GuiGeneral(OrxGui::Gui* gui)
    43   : Element(CONFIG_SECTION_GENERAL, gui), QGroupBox()
     43      : Element(CONFIG_SECTION_GENERAL, gui), QGroupBox()
    4444  {
    4545    QGridLayout* layout = new QGridLayout(this);
     
    6060
    6161      debug->addItem("0 - minimal");
     62#if DEBUG >=1
    6263      debug->addItem("1 - errors");
     64#endif
     65#if DEBUG >=2
    6366      debug->addItem("2 - warnings");
     67#endif
     68#if DEBUG >=3
    6469      debug->addItem("3 - information");
     70#endif
     71#if DEBUG >=4
    6572      debug->addItem("4 - debug");
     73#endif
     74#if DEBUG >=5
    6675      debug->addItem("5 - extremely debug");
     76#endif
    6777    }
    6878  }
     
    8393
    8494    QString s = QFileDialog::getOpenFileName(
    85         this,
    86     "Choose the ORXONOX DATA DIRECTORY",
    87     browsePath,
    88     "ORXONOX DATA INDEX (" DEFAULT_DATA_DIR_CHECKFILE ")" );
     95                  this,
     96                  "Choose the ORXONOX DATA DIRECTORY",
     97                  browsePath,
     98                  "ORXONOX DATA INDEX (" DEFAULT_DATA_DIR_CHECKFILE ")" );
    8999
    90100    s.remove("data.oxd");
Note: See TracChangeset for help on using the changeset viewer.