Add debug log for real device debug
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "event/EventCenter.h"
|
||||
#include <QImage>
|
||||
#include <QPainter>
|
||||
#include <qdebug.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#else
|
||||
@@ -208,16 +209,18 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
|
||||
patient_information->setPatientInformation((PatientInformation*)data);
|
||||
});
|
||||
connect(btnRefresh,&QToolButton::clicked,[=](){
|
||||
QString patientInf(patient_information->getCurrentPatientJsonString(true));
|
||||
printf("%s\r\n",patientInf.toStdString().data());
|
||||
qDebug()<<"Get patient Json string start!";
|
||||
QString patientInf(patient_information->getCurrentPatientJsonString(false));
|
||||
qDebug()<<"Get patient Json string end! string:"<<patientInf;
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestEmptyScan, nullptr, (QObject*)(&patientInf));
|
||||
});
|
||||
connect(btnPreview,&QToolButton::clicked,[=](){
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestPreviewScan, nullptr, nullptr);
|
||||
});
|
||||
connect(btnScan,&QToolButton::clicked,[=](){
|
||||
qDebug()<<"Get patient Json string start!";
|
||||
QString patientInf(patient_information->getCurrentPatientJsonString(false));
|
||||
printf("%s\r\n",patientInf.toStdString().data());
|
||||
qDebug()<<"Get patient Json string end! string:"<<patientInf;
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestPatientScan, nullptr, (QObject*)(&patientInf));
|
||||
});
|
||||
connect(btnStop,&QToolButton::clicked,[=](){
|
||||
|
||||
Reference in New Issue
Block a user