Change dialog style, add Scan Patient confirm
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "dialogs/TimeSelectDialog.h"
|
||||
#include "dialogs/SelectDialog.h"
|
||||
#include "dialogs/GetWorkListDialog.h"
|
||||
#include "dialogs/PatientConfirmDialog.h"
|
||||
|
||||
#include "network/DicomCfgDialog.h"
|
||||
#include "network/GetAdminPsw.h"
|
||||
@@ -319,6 +320,17 @@ DialogResult DialogManager::requestEditRouteInfo(const QStringList& aEditData)
|
||||
return DialogResult(ret,dialog.getList());
|
||||
}
|
||||
|
||||
int DialogManager::requestPatientConfirm(PatientInformation* patientInf, int type)
|
||||
{
|
||||
PatientConfirmDialog dialog(mTopWidget);
|
||||
setTopWidget(&dialog);
|
||||
dialog.setPatientInformation(patientInf, type);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
int ret = dialog.exec();
|
||||
releaseTopWidget(&dialog);
|
||||
return ret;
|
||||
}
|
||||
|
||||
int DialogManager::requestGetWorkList(QSqlTableModel* aModel, QTableView* aTableView)
|
||||
{
|
||||
GetWorkListDialog dialog(aModel, aTableView, mTopWidget);
|
||||
|
||||
Reference in New Issue
Block a user