draw speed scale

This commit is contained in:
2020-01-03 16:59:44 +08:00
parent 126c97bf96
commit 12717eee0c
3 changed files with 228 additions and 117 deletions
+3 -1
View File
@@ -22,7 +22,7 @@ MainWindow::MainWindow(QWidget *parent)
copk = new Cockpit(this);
copk->setGeometry(this->width() - copk->width(),0,900,this->height());
copk->setGeometry(this->width() - copk->width(),0,1000,this->height());
nav->setGeometry(0,0,50,this->height());
@@ -90,6 +90,8 @@ void MainWindow::resizeEvent(QResizeEvent *e)
{
qDebug() << e;
nav->setGeometry(0,0,50,this->height());
copk->setGeometry(this->width() - copk->width(),0,copk->width(),copk->height());
map->setGeometry(nav->width(),