void MainWindow::createStatusBar()
{
locationLabel=new QLabel{"W999");
locationLabel->setAlignment(Qt::AlignHCenter);
locationLabel->setMinimumSize(locationLabel->sizeHint());
formulaLabel=new QLabel;
formulaLabel->setIndent(3);
statusBar()->addWidget(locationLabel);
statusBar()->addWidget(formulaLabel,1);
.......
这几句分别是什么意思??希望得到每行的解释,谢谢。。