曲线更新

This commit is contained in:
hm
2022-02-25 15:50:42 +08:00
parent cfb7585549
commit 263b1a83b3
8 changed files with 520 additions and 355 deletions
+8
View File
@@ -102,6 +102,12 @@ PowerSystem::PowerSystem(QWidget *parent) :
cmdList.insert(0xea,"加力点火快速阀");
ui->frame_RPM->resize(590,176);
ui->frame_Temp->resize(590,176);
ui->frame_Alt->resize(590,176);
ui->frame_Ma->resize(590,176);
ScopeRPM = new Chart(ui->frame_RPM);
ScopeTemp = new Chart(ui->frame_Temp);
ScopeAlt = new Chart(ui->frame_Alt);
@@ -148,6 +154,8 @@ void PowerSystem::resizeEvent(QResizeEvent *event)
ScopeTemp->setGeometry(0,0,ui->frame_Temp->width(),ui->frame_Temp->height());
ScopeAlt->setGeometry(0,0,ui->frame_Alt->width(),ui->frame_Alt->height());
ScopeMa->setGeometry(0,0,ui->frame_Ma->width(),ui->frame_Ma->height());
//qDebug() << ui->frame_Ma->size();
}
void PowerSystem::mousePressEvent(QMouseEvent *event)