QWidget *w;
while (splitter->count() > 0)
{
w = splitter->widget(0);
w->setParent(nullptr); // 必须
w.deleteLater();
}
07-08
1477
10-21
947
11-26
5021