Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2006, 12:22:03 AM (18 years ago)
Author:
bensch
Message:

orxonox/qt_gui: more guo-elements

File:
1 edited

Legend:

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

    r7555 r7585  
    3333  {
    3434    this->setTristate(value.getBool());
    35         this->value() = value;
     35    this->value() = value;
    3636  }
    3737
     
    8181
    8282
     83  QtGuiInputLine::QtGuiInputLine(const std::string& name, SaveableGroup* group)
     84  : QLineEdit(), Saveable(name, group)
     85  {
     86
     87
     88  }
     89
     90
     91  void QtGuiInputLine::load(const MultiType& value)
     92  {
     93    this->setText(value.getString().c_str());
     94    this->value() = value;
     95  }
     96
     97
     98
     99  const MultiType& QtGuiInputLine::save()
     100  {
     101    return this->value();
     102  }
     103
     104
     105
     106
    83107}
Note: See TracChangeset for help on using the changeset viewer.