[Qt-interest] clear QGridLayout

Frank Lutz frank422542 at googlemail.com
Tue Jun 30 02:44:12 CEST 2009


Hi,

i do have one QGridLayout where i want to remove all children.
Firsty i have the Problem i have also Layouts. But i had put them into a 
Widget.
Now i want to pick the children with grid->children().
But so i have them as QObject not QWidget.

So my question, how can I convert the QObject into QWidget,
or is there one better way to clear a QGridLayout?

Thanks very, very, very!!!



More information about the Qt-interest-old mailing list