Select form state change logic
This commit is contained in:
@@ -13,6 +13,7 @@ ADD_PATIENT_PROPERTY(Name)\
|
||||
ADD_PATIENT_PROPERTY(BirthDate)\
|
||||
ADD_PATIENT_PROPERTY(Sex)\
|
||||
ADD_PATIENT_PROPERTY(Comment)\
|
||||
ADD_PATIENT_PROPERTY(Flag)
|
||||
|
||||
#define EDIT_PATIENT()\
|
||||
ADD_PATIENT_PROPERTY(PatientUID)\
|
||||
@@ -33,6 +34,9 @@ public:
|
||||
#define ADD_PATIENT_PROPERTY(val) QString val;
|
||||
EDIT_PATIENT();
|
||||
#undef ADD_PATIENT_PROPERTY
|
||||
PatientInformation(){
|
||||
this->Flag = QString("0");
|
||||
}
|
||||
PatientInformation* Copy()
|
||||
{
|
||||
PatientInformation* n=new PatientInformation;
|
||||
@@ -64,6 +68,7 @@ public:
|
||||
void setEditEnable(bool enable);
|
||||
signals:
|
||||
void editAccept(PatientInformation * detail);
|
||||
void editCancel();
|
||||
private:
|
||||
Ui::EditPatientForm *ui;
|
||||
QString currentPatientUID;
|
||||
|
||||
Reference in New Issue
Block a user