[Development] The future of QProperty and QBindable
Schimkowitsch Robert
Robert.Schimkowitsch at andritz.com
Fri Mar 7 12:48:31 CET 2025
> There is "Q_PROPERTY(qreal x MEMBER m_x NOTIFY xChanged)" for the
> really simple cases.
>
> With that you don't need to write any accessors at all. Not even the bindable
> accessor.
>
That neither does the change comparison, nor will it automatically notify about changes.
You'd have to code both manually. I don't see a major improvement. Also, I guess this forces me to make the members public.
Not really an alternative.
Kind regards
Robert
________________________________
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
ANDRITZ HYDRO GmbH
Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation
Firmensitz/ Registered seat: Wien
Firmenbuchgericht/ Court of registry: Handelsgericht Wien
Firmenbuchnummer/ Company registration: FN 61833 g
DVR: 0605077
UID-Nr.: ATU14756806
Thank You
________________________________
More information about the Development
mailing list