Refactor css file.
This commit is contained in:
@@ -8,37 +8,54 @@
|
||||
|
||||
#include "forms/tabformwidget.h"
|
||||
#include "EditPatientDialog.h"
|
||||
|
||||
class PatientDetailForm;
|
||||
|
||||
class SlideTableView;
|
||||
|
||||
class QToolButton;
|
||||
class SelectFormWidget: public TabFormWidget {
|
||||
Q_OBJECT
|
||||
|
||||
class SelectFormWidget : public TabFormWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SelectFormWidget(QWidget *parent = nullptr);
|
||||
|
||||
~SelectFormWidget() override = default;;
|
||||
|
||||
private:
|
||||
QString selectedPatientUID;
|
||||
void setPatientDetail(const SlideTableView *table, const QSqlTableModel *model, PatientDetailForm *edit_patient) const;
|
||||
QToolButton* mBtnAccount;
|
||||
QToolButton* mBtnWorklist;
|
||||
QToolButton* mBtnAdd;
|
||||
QToolButton* mBtnEdit;
|
||||
QToolButton* mBtnDelete;
|
||||
QToolButton* mBtnSelect;
|
||||
SlideTableView* mPatTable;
|
||||
QSqlTableModel* mModel;
|
||||
PatientDetailForm* mEditPatForm;
|
||||
|
||||
void
|
||||
setPatientDetail(const SlideTableView *table, const QSqlTableModel *model, PatientDetailForm *edit_patient) const;
|
||||
|
||||
QToolButton *mBtnAccount;
|
||||
QToolButton *mBtnWorklist;
|
||||
QToolButton *mBtnAdd;
|
||||
QToolButton *mBtnEdit;
|
||||
QToolButton *mBtnDelete;
|
||||
QToolButton *mBtnSelect;
|
||||
SlideTableView *mPatTable;
|
||||
QSqlTableModel *mModel;
|
||||
PatientDetailForm *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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user