2026年6月4日 commit

This commit is contained in:
2026-06-04 14:08:28 +08:00
parent dd64ec1252
commit 571b8e01d3
71 changed files with 2780 additions and 2656 deletions
+7 -11
View File
@@ -12,9 +12,14 @@ OtherInfo::OtherInfo(QWidget *parent) :
QWidget(parent),
ui(new Ui::OtherInfo)
{
ui->setupUi(this);
lockPhaseFlag = false;
if (sysPara == nullptr) {
sysPara = SysPara::ins();
lockPhaseFlag = sysPara->para.phaseByHand != 0;
updateLockPhaseWidgets();
}
lockedPhase = 0;
ui->memDisplayAndEdit->setHidden(1);
@@ -57,15 +62,6 @@ void OtherInfo::OtherupdateSysParaToUI(){
}
#define PHASE_BY_HAND_DIV 8 //相位会在逻辑里面放大
void OtherInfo::bindSysPara(SysPara *sysPara){
this->sysPara = sysPara;
ui->phaseGraphic->bindSysPara(sysPara);
ui->memDisplayAndEdit->bindSysPara(sysPara);
lockPhaseFlag = sysPara->para.phaseByHand != 0;
updateLockPhaseWidgets();
}
void OtherInfo::init()
{
// 应用样式表