[Qt-interest] Setting MainLayout in QDialog
Aaron Lewis
aaron.lewis1989 at gmail.com
Sat May 1 01:11:18 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/30/2010 11:00 PM, Luis Lezcano Airaldi wrote:
>
> You cannot, because a layout is not a widget, but you can set the main
> layout of the QDialog doing dialog->setLayout(horizontal_layout);
> Or, when you create the layout, make the QDialog its parent
> QHBoxLayout mainLayout = new QHBoxLayout(dialog);
>
> Regards.
Guess you want to see my pic , Designer easily `morph' it.
I'd check the code generated by designer later to see how deep it goes.
- --
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/
iEYEARECAAYFAkvbY5YACgkQvf41sEptMqDqhACgwstkdRPQ7j13+hkJOSgnDjP2
B6QAnAqJN2rGxDH62stsIVYRmKn0q87P
=C4e0
-----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/03efe416/attachment.jpeg
More information about the Qt-interest-old
mailing list