订单流程修改--QThread事件循环导致的逻辑修改
This commit is contained in:
@@ -131,6 +131,10 @@ void Widget::setupMainArea(QVBoxLayout *rootLayout)
|
||||
connect(dashboardPage, &DashboardPage::currentStepChanged, this, [this](const QString &step) {
|
||||
currentStepLabel->setText("工序:" + step);
|
||||
});
|
||||
connect(dashboardPage, &DashboardPage::deviceStatusChanged,
|
||||
devicePage, &DevicePage::updateStatus);
|
||||
connect(dashboardPage, &DashboardPage::deviceCommunicationError,
|
||||
devicePage, &DevicePage::handleCommunicationError);
|
||||
connect(dashboardPage, &DashboardPage::logRequested, this, &Widget::appendLog);
|
||||
connect(orderPage, &OrderPage::logRequested, this, &Widget::appendLog);
|
||||
connect(rackPage, &RackPage::logRequested, this, &Widget::appendLog);
|
||||
|
||||
Reference in New Issue
Block a user