显示全屏:
for (int i = 0; i < 4; ++i)
{
m_qPlayWnd[i]->setWindowFlags(Qt::Window);
m_qPlayWnd[i]->showNormal();
}
HideParentForVideo();
for (int i = 0; i < 4; ++i)
{
m_qPlayWnd[i]->setGeometry(...);
}
恢复:
for (int i = 0; i < 4; ++i)
{
m_qPlayWnd[i]->setWindowFlags(Qt::Widget);
}
ShowParent();
update();