feat: Add start scan process and stop scan process in user operation log.

This commit is contained in:
sunwen
2024-06-21 17:17:36 +08:00
parent ea2bf95766
commit 7718846d30

View File

@@ -162,10 +162,12 @@ void ScanFormWidget::initCommandWidget(QHBoxLayout *layout)
{
if(mStartScanButton->isChecked())
{
LOG_USER_OPERATION(QString("Start Scan Process, ID: %1").arg(mPatInf->getPatientID()));
EventCenter::Default()->triggerEvent(GUIEvents::StartScanProcess, nullptr, nullptr);
}
else
{
LOG_USER_OPERATION(QString("Stop Scan Process, ID: %1").arg(mPatInf->getPatientID()));
EventCenter::Default()->triggerEvent(GUIEvents::StopScanProcess, nullptr, nullptr);
}