QFrame* frame = new QFrame(this);
_layout = new QVBoxLayout;
frame->setLayout(_layout);
_layout->addWidget(new QLabel("<h1>QXSR Ship</h1>"), 0, Qt::AlignCenter);
QPushButton* parseXML = new QPushButton(QString::fromLocal8Bit("解析Xml文件"));
_layout->addWidget(parseXML);
connect(parseXML, SIGNAL(clicked()),this, SLOT(parseXML()));
QScrollArea* scrollArea = new QScrollArea;
scrollArea->setWidget(frame);
scrollArea->setWidgetResizable(true);
//////////////
QVBoxLayout *topLayout=new QVBoxLayout(this);
topLayout->addWidget(scrollArea);
//////////////