2026年6月22日 :大量更新
This commit is contained in:
+4
-3
@@ -14,9 +14,6 @@
|
||||
PhaseGraphic::PhaseGraphic(QWidget *parent) :
|
||||
QWidget(parent){
|
||||
|
||||
if (sysPara == nullptr) {
|
||||
sysPara = SysPara::ins();
|
||||
}
|
||||
pen.setStyle(Qt::SolidLine);
|
||||
pen.setWidth(2);
|
||||
pen.setBrush(Qt::red);
|
||||
@@ -98,6 +95,10 @@ void PhaseGraphic::paintEvent(QPaintEvent *){
|
||||
}
|
||||
}
|
||||
|
||||
void PhaseGraphic::bindSysPara(SysPara *sysPara)
|
||||
{
|
||||
this->sysPara = sysPara;
|
||||
}
|
||||
|
||||
void PhaseGraphic::updateSysStatusToUI(){
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user