//默认最大化
setWindowState(Qt::WindowMaximized); 主窗口
子窗口
m_mdi = new QMdiArea(this);
m_mdi->addSubWindow( m_splineshow );
m_splineshow->showMaximized();