void MDIHealthmain::createHelpForm()
{
HelpForm * helpform = new HelpForm();
QMdiSubWindow *helpSubWindow = new QMdiSubWindow;
helpSubWindow = mdiArea->addSubWindow(helpform);
helpSubWindow->setWindowTitle(tr("系统帮助模块"));
helpSubWindow->show();
}
有什么方法可以判断到mdiArea里面已经存在helpSubWindow ,不再打开重复helpSubWindow ???