wirasto
24th January 2010, 17:06
I have a frame with 5 widget in it. 4 toolbutton and 1 tableview. Well, i tried get the frame children..
QList<QWidget *> anak=frame->findChildren<QWidget *>();
qDebug() << anak.size();
//result is 23
Why the result not is 5 ? How to just get only frame children, not subchildren too..
QList<QWidget *> anak=frame->findChildren<QWidget *>();
qDebug() << anak.size();
//result is 23
Why the result not is 5 ? How to just get only frame children, not subchildren too..