[Qt-interest] Fwd: how to auto-resize dialog window

Till Oliver Knoll till.oliver.knoll at gmail.com
Tue Oct 11 19:58:39 CEST 2011



Am 11.10.2011 um 13:03 schrieb Vincent Cai <wcai at cypress.com>:

> Hi Till,
> 
>          But actually, I create the dialog by C++ code instead of Qt Designer, 
> 

No problem: But you still need to instantiate a Qt layout manager - by code ;) No layout manager, no dynamic layout. Refer to Qt docs.

Cheers,
  Oliver

P.S. A quick way to see how it's done could be to create a sample project with Qt Creator, add a dialog using Qt Designer and have a look at the generated C++ code!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111011/275c5822/attachment.html 


More information about the Qt-interest-old mailing list