添加状态显示
This commit is contained in:
+8
-5
@@ -322,8 +322,12 @@ void MainWindow::resizeEvent(QResizeEvent *event)
|
||||
|
||||
|
||||
map->setGeometry(0,menuBarUI->height(),
|
||||
this->width()- copk->width(),this->height() - menuBarUI->height());
|
||||
this->width()- copk->width() - statusui->width(),this->height() - menuBarUI->height());
|
||||
|
||||
statusui->setGeometry(map->width(),
|
||||
menuBarUI->height(),
|
||||
copk->width() *1.5,
|
||||
this->height() - menuBarUI->height());
|
||||
|
||||
copk->setGeometry(this->width() - copk->width(),menuBarUI->height(),
|
||||
copk->width(),copk->height());
|
||||
@@ -331,12 +335,11 @@ void MainWindow::resizeEvent(QResizeEvent *event)
|
||||
missionUI->setGeometry(this->width() - copk->width(),menuBarUI->height(),
|
||||
copk->width(),this->height() - menuBarUI->height());
|
||||
|
||||
statusui->setGeometry(this->width() - copk->width(),menuBarUI->height() + copk->height(),
|
||||
copk->width(),100);
|
||||
|
||||
|
||||
commandUI->setGeometry(this->width() - copk->width(),menuBarUI->height() + copk->height() + statusui->height(),
|
||||
copk->width(),this->height() - menuBarUI->height() - statusui->height() - copk->height());
|
||||
|
||||
commandUI->setGeometry(this->width() - copk->width(),menuBarUI->height() + copk->height(),
|
||||
copk->width(),this->height() - menuBarUI->height() - copk->height());
|
||||
|
||||
|
||||
toolsui->setGeometry(0,menuBarUI->height(),
|
||||
|
||||
Reference in New Issue
Block a user