Add Anonymous mode
This commit is contained in:
@@ -48,6 +48,7 @@ mUI(new Ui::PatientDetailForm)
|
||||
connect(mBtnDelete, &QToolButton::clicked, [=](){
|
||||
emit deleteClicked();
|
||||
});
|
||||
setBtnEnable(false);
|
||||
}
|
||||
|
||||
void PatientDetailForm::reloadLanguage() {
|
||||
@@ -72,6 +73,8 @@ void PatientDetailForm::setPatientInformation(PatientInformation* information) {
|
||||
mUI->lblAccno->setText(tr("AccNo: ")+information->AccessionNumber);
|
||||
|
||||
mStore = *information;
|
||||
setBtnEnable(true);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,6 +97,12 @@ void PatientDetailForm::confirmModeOn(int protocol)
|
||||
|
||||
}
|
||||
|
||||
void PatientDetailForm::setBtnEnable(bool enable)
|
||||
{
|
||||
mBtnDelete->setEnabled(enable);
|
||||
mBtnEdit->setEnabled(enable);
|
||||
}
|
||||
|
||||
void PatientDetailForm::storePatientInformation() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user