I have a frame with 5 widget in it. 4 toolbutton and 1 tableview. Well, i tried get the frame children..
Qt Code:
QList<QWidget *> anak=frame->findChildren<QWidget *>(); qDebug() << anak.size(); //result is 23To copy to clipboard, switch view to plain text mode
Why the result not is 5 ? How to just get only frame children, not subchildren too..
Bookmarks