[Interest] Requesting QObject::bind() method
Thiago Macieira
thiago.macieira at intel.com
Fri Mar 24 00:57:53 CET 2017
On quarta-feira, 22 de março de 2017 16:09:25 PDT Alejandro Exojo wrote:
> The challenge is executing a lambda or a slot when any of the depending
> properties changes. That's what the QML engine has, and what Olivier
> blogged about in 2013:
>
> https://woboq.com/blog/property-bindings-in-cpp.html
>
> E.g. imagine that you have two sliders, and the text that you need to
> display in a label depends on both. You need to connect to two signals,
> because you depend on two properties.
Right.
But that's a little (or a lot) more difficult to do in C++.
I'd like to see a proof of concept from someone.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list