-Binding::Binding() :
- _form(NULL)
-{
-}
-
-QWidget* Binding::get_form(QWidget *parent)
-{
- if (_form)
- return _form;
-
- _form = new QWidget(parent);
- QFormLayout *const layout = new QFormLayout(_form);
- _form->setLayout(layout);
-
- BOOST_FOREACH(shared_ptr<Property> p, _properties)
- {
- assert(p);
- layout->addRow(p->name(), p->get_widget(_form));
- }
-
- return _form;
-}
-
-void Binding::commit()