Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2006, 2:25:16 PM (18 years ago)
Author:
bensch
Message:

orxonox/qt_gui: more elaborate Saveables

File:
1 edited

Legend:

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

    r7551 r7555  
    2424
    2525
    26   QtGuiCheckBox::QtGuiCheckBox(const std::string& name, bool defaultValue)
    27   : QCheckBox(QString().fromStdString(name)), Saveable(name)
     26  QtGuiCheckBox::QtGuiCheckBox(const std::string& name, SaveableGroup* group, bool defaultValue)
     27  : QCheckBox(QString().fromStdString(name)), Saveable(name, group)
    2828  {
    2929    //this->load(this->value());
     
    4747
    4848
    49   QtGuiSlider::QtGuiSlider(const std::string& name, Qt::Orientation orientation)
    50   : QSlider(orientation), Saveable(name)
     49  QtGuiSlider::QtGuiSlider(const std::string& name, SaveableGroup* group, Qt::Orientation orientation)
     50  : QSlider(orientation), Saveable(name, group)
    5151  {
    5252
     
    6262
    6363
    64   QtGuiComboBox::QtGuiComboBox(const std::string& name)
    65   : QComboBox(), Saveable(name)
     64  QtGuiComboBox::QtGuiComboBox(const std::string& name, SaveableGroup* group)
     65  : QComboBox(), Saveable(name, group)
    6666  {
    6767
Note: See TracChangeset for help on using the changeset viewer.