Refactor forms select package.

This commit is contained in:
Krad
2022-06-14 13:52:42 +08:00
parent b9d4984fa1
commit f9bbeb46ca
6 changed files with 356 additions and 372 deletions

View File

@@ -26,6 +26,20 @@ private:
QToolButton* mBtnEdit;
QToolButton* mBtnDelete;
QToolButton* mBtnSelect;
SlideTableView* mPatTable;
QSqlTableModel* mModel;
EditPatientForm* mEditPatForm;
void prepareButtons(bool disableALL);
void initGeneralButtons(QHBoxLayout *layout);
void initPatEditButtons(QHBoxLayout *layout);
void editPatient();
void delPatient();
void selectPatient();
void initDataModel();
void initDetailPanel(QHBoxLayout *contentLayout);
void initTableView(QHBoxLayout *contentLayout);
void reloadLanguage();
};