[Qt-interest] QGridview of custom QWidgets

Frank Lutz frank422542 at googlemail.com
Wed Sep 22 10:12:59 CEST 2010


Mainly you can put Widgets on Layout, or Layouts on Widgets. When you 
use one of them you have to look if there is a methode addLayout, or 
addWidget.
See like Layout ist the grid and Layout the items on it. But Layouts 
could also have new Layouts were do have items into it.


Like:
QHBoxLayout *lay = new QHBoxLayout;
QButtom *btn = new QButton;
lay->addWidget(btn);

greetings
Frank



More information about the Qt-interest-old mailing list