[Qt-interest] A new (?) const-correct way to create a Uiobjectand do setupUi

Thiago Macieira thiago at kde.org
Tue Feb 8 18:33:23 CET 2011


Em terça-feira, 8 de fevereiro de 2011, às 17:43:06, Niels Dekker escreveu:
> > This creates a QObject (8 or 16 bytes, plus overhead), a QObjectPrivate 
> > (80
> > or 144 bytes, plus overhead) and adds it to the parent's list of
> > children.
> 
> I have not done any profiling on this. Do you think the overhead of using
> an  extra QObject per Ui object may be experienced by the end-user?

No, probably not.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110208/aab562f5/attachment.bin 


More information about the Qt-interest-old mailing list