完善现有功能
This commit is contained in:
@@ -168,6 +168,7 @@ public slots:
|
||||
if (disableTextChange == false)
|
||||
startBtn->setText("运行");
|
||||
snIntputLine->setDisabled(false);
|
||||
partNumberIntputLine->setDisabled(false);
|
||||
std::cout << "按下软件运行" << std::endl;
|
||||
}
|
||||
else
|
||||
@@ -176,6 +177,7 @@ public slots:
|
||||
if (disableTextChange == false)
|
||||
startBtn->setText("急停");
|
||||
snIntputLine->setDisabled(true);
|
||||
partNumberIntputLine->setDisabled(true);
|
||||
std::cout << "按下软件急停" << std::endl;
|
||||
}
|
||||
}
|
||||
@@ -197,6 +199,7 @@ private slots:
|
||||
startBtn->setEnabled(true);
|
||||
indexFromPartNumber = index;
|
||||
snIntputLine->setFocus();
|
||||
emit switchProductSignal(index);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user