Add Anonymous mode

This commit is contained in:
kradchen
2023-09-15 11:42:40 +08:00
parent 6c5734396a
commit 3799130487
20 changed files with 467 additions and 116 deletions

View File

@@ -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() {
}