On Mon, May 9, 2016 at 7:41 AM, Thiago Macieira <thiago.macie...@intel.com> wrote:
> > We already have one, it's called QObject::connect. > To be faire, to emulate property binding, I think that you also have to set the current value upon connection. Which isn't straightforward if you want to do more than a trivial "set" operation : connect(model, &Model::fooChanged, this, [=] (Foo f) { this->view->setHeight(toPixels(f)); } this->view->setHeight(toPixels(model.foo()));
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest