void Widget::showAllHiddenTopLevelWidgets(){ int count=0; foreach (QWidget *widget, QApplication::topLevelWidgets()) { if (widget->isWindow()) count++; } qDebug()<<count;}
HWND ff=findWindow("1.exe");QWidget *wgt= QWidget::find(ff);wgt->setParent(this->parentWidget());
typedef WIdPlatform dependent window identifier.