Add UserOperationLog.
This commit is contained in:
@@ -100,6 +100,6 @@ bool ChangePasswordFormDialog::updateReferenceData()
|
||||
User::Current()->restorePassword(encryptPwd);
|
||||
return false;
|
||||
}
|
||||
LOG_USER_OPERATION(ChangePassword);
|
||||
LOG_USER_OPERATION("Change Password");
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ void GUIMessageDialog::startLoading() {
|
||||
}
|
||||
accept();
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestFullScanStop, nullptr, nullptr);
|
||||
LOG_USER_OPERATION(Stop);
|
||||
LOG_USER_OPERATION("Stop Scan");
|
||||
});
|
||||
mTimerID = startTimer(100);
|
||||
mBtnMain->setVisible(true);
|
||||
@@ -117,7 +117,7 @@ void GUIMessageDialog::showExitButton() {
|
||||
mTimerID = -1;
|
||||
}
|
||||
accept();
|
||||
LOG_USER_OPERATION(ConfirmError);
|
||||
LOG_USER_OPERATION("Confirm Error");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "components/ULineEdit.h"
|
||||
#include "action/GetWorkListAction.h"
|
||||
#include "action/ActionCreator.h"
|
||||
#include "log/UserOperationLog.h"
|
||||
|
||||
GetWorkListDialog::GetWorkListDialog(QSqlTableModel* aSqlModel, QTableView* aTableView, QWidget* aParent, Qt::WindowFlags aFlags)
|
||||
: AsyncActionDialog(ActionCreator::getAsyncAction<GetWorkListAction>("GetWorkListAction"),"Work List", aParent, aFlags)
|
||||
@@ -254,4 +255,5 @@ void GetWorkListDialog::insertPatient(PatientInformationPointer aPatient)
|
||||
mErrorLabel->show();
|
||||
}
|
||||
mTableView->selectRow(0);
|
||||
LOG_USER_OPERATION(QString("Add Patient, ID:%1").arg(aPatient->ID));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user