[Development] QProperty and library coding guide
Jaroslaw.Kobus at qt.io
Mon Jul 20 11:06:22 CEST 2020
> From: Development <development-bounces at qt-project.org> on behalf of Ulf Hermann <ulf.hermann at qt.io>
>>> However, for Q_GADGET this would fall apart.
> Actually, with a Q_GADGET you usually don't have a private object.
> That's the whole point of it. Then you don't need property wrappers, either.
Just for clarification: actually you usually do have a private object (at least in Qt classes) in gadgets. Examples:
and I think that more Qt's gadgets have a private object than those that don't.
More information about the Development