On sexta-feira, 6 de julho de 2012 15.06.34, Tr3wory wrote:
> On Fri, Jul 6, 2012 at 2:42 PM, Richard Moore <r...@kde.org> wrote:
> > On 6 July 2012 13:26, Tr3wory <t...@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.
>
> Sorry, I mean width, or height...

QWidget was written before properties could have NOTIFY signals. That's why
its properties don't notify of changes.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to