[Development] Why don't we have notify signal for all of the properties?

Richard Moore rich at kde.org
Fri Jul 6 14:42:32 CEST 2012


On 6 July 2012 13:26, Tr3wory <tr3w at freemail.hu> wrote:
> But the QWidget's weight property doesn't have a corresponding
> weightChanged() signal (nor sizeChanged() or something higher level).
> Actually it doesn't have any NOTIFY signal at all.
>

QWidget doesn't have a weight() property. If it's something you've
added in one of your subclasses, then that subclass is responsible for
exposing the property and adding the notify signal.

Rich.



More information about the Development mailing list