[Qt-interest] Setting MainLayout in QDialog

Aaron Lewis aaron.lewis1989 at gmail.com
Sat May 1 01:09:24 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/30/2010 09:32 PM, K. Frank wrote:

> Could you explain a little more the technique you're using here, and what its
> purpose is?  What does this buy you?  Is this a technique I should try to learn?

Make a Layout centrally in a QDialog , so that i can manage it only with
the layout easily

> How do you "morph" a QHBoxLayout into a QWidget?   QHBoxLayout doesn't
> derive from QWidget, and I _think_ the closest common ancestor of the two is
> QObject.

It's possible. See attachment.


> Do I assume correctly that your UI file is produced by Qt designer?

Exactly.



- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvbYyQACgkQvf41sEptMqA8jQCcCcaf4FI80Hjjgz+khFInptUu
32cAn2/5uJkDQuRy+sQtfRvfgVfmvqpw
=SiKo
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: up.jpeg
Type: image/jpeg
Size: 31032 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100501/1a4c1301/attachment.jpeg 


More information about the Qt-interest-old mailing list