[Development] Property bindings in Qt 6
Matthew Woehlke
mwoehlke.floss at gmail.com
Tue Oct 1 00:51:07 CEST 2019
On 30/09/2019 15.35, Thiago Macieira wrote:
> On Monday, 30 September 2019 11:06:18 PDT Matthew Woehlke wrote:
>> IOW, the example would look like:
>>
>>
>> fullname.setBinding(
>> [](Foo const* self){
>> return self->surname() + " " + self->lastname();
>> });
>
> How does the QProperty class know about Foo?
Constructor?
How does it emit property changed signals with the correct sender if it
*doesn't* know about its owner?
--
Matthew
More information about the Development
mailing list