Qt让弹出的窗口在指定界面居中显示

m_pCalendarBeginDlg->move(this->geometry().center() - m_pCalendarBeginDlg->rect().center());

m_pCalendarBeginDlg弹出的窗体,this指定的界面

猜你喜欢

转载自blog.csdn.net/qq_47620189/article/details/113137736