Hi all
I have a problem with QWorkspece child windows(MDI windows)
I have a workspace and i have two child windows(m_myclassView1, m_myclassView2)
When i maximize one window and then close the window, the two child windows will be closed but i see still
the caption of one of the window(the window which was not maximized) at the title bar.
Can someone help me what am i doing wrong?
{
if ( m_myclassView1.View() )
m_myclassView1.View()->close();
if ( m_myclassView2.View() )
m_myclassView2.View()->close();
}
}
void MyClass::closeEvent( QCloseEvent *e )
{
if ( m_myclassView1.View() )
m_myclassView1.View()->close();
if ( m_myclassView2.View() )
m_myclassView2.View()->close();
}
QWidget::closeEvent(e);
}
To copy to clipboard, switch view to plain text mode
Bookmarks