Refactory ScanFormWidget.

This commit is contained in:
sunwen
2024-04-29 17:58:17 +08:00
parent db1d589622
commit 7ef3b312e8
13 changed files with 972 additions and 932 deletions

View File

@@ -14,9 +14,8 @@ class PatientInformationForm : public QWidget
public:
explicit PatientInformationForm(QWidget *parent = nullptr);
~PatientInformationForm() override;
void setPatientInformation(PatientInformation* information);
PatientInformation* getPatientInformation();
void setProtocol(int type);
void setPatientInformation(PatientInformationPointer information);
PatientInformationPointer getPatientInformation();
int getProtocol();
const char * getCurrentPatientJsonString(bool emptyScan);
@@ -24,7 +23,7 @@ public:
private:
Ui::PatientInformationForm *mUI;
PatientInformation* mInfo = nullptr;
PatientInformationPointer mInfo;
int mCurrentProtocol = 0;
char * mJsonStr = nullptr;
};