Changeset 7585 in orxonox.OLD for branches/qt_gui/src/lib/gui/qt_gui/qt_gui_elements.cc
- Timestamp:
- May 11, 2006, 12:22:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/qt_gui/qt_gui_elements.cc
r7555 r7585 33 33 { 34 34 this->setTristate(value.getBool()); 35 35 this->value() = value; 36 36 } 37 37 … … 81 81 82 82 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 83 107 }
Note: See TracChangeset
for help on using the changeset viewer.