project/xyylMCWEACSystem/medicalrecordwidget.h

80 lines
1.6 KiB
C++

#ifndef MEDICALRECORDWIDGET_H
#define MEDICALRECORDWIDGET_H
/*
des: MedicalRecordWidget 填写病历
author:zhangyiming
*/
#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QCheckBox>
#include <QComboBox>
#include <QDateEdit>
#include <QTextEdit>
#include <QGroupBox>
#include <QRadioButton>
#include <QDateTimeEdit>
class MedicalRecordWidget:public QWidget
{
Q_OBJECT
public:
explicit MedicalRecordWidget(QWidget * parent =nullptr);
virtual ~MedicalRecordWidget();
void init();
void initLay();
bool initConnect();
void initclear();
private slots:
void slotSave();
void slotCancel();
private:
QLabel m_labTitle;
QLabel m_labStar;
QLabel m_labStar2;
//检查号
QLabel m_labCheckNum;
QLineEdit m_editCheckNum;
//住院 hospitalized
QLabel m_labType;
QRadioButton m_chHospitalized;
QRadioButton m_chOutpatient;
//姓名
QLabel m_labName;
QLineEdit m_editName;
//性别
QLabel m_labSex;
QRadioButton m_chMan;
QRadioButton m_chWan;
//年龄
QLabel m_labAge;
QLineEdit m_editAge;
//左右利
QLabel m_labLaterality;
QRadioButton m_chLeft;
QRadioButton m_chRfight;
//出生日期
QLabel m_labBirthDay;
QDateEdit m_dateBirthDay;
//检查日期
QLabel m_labDate_Of_inspection;
QDateEdit m_dateInspection;
//诊断病历
QLabel m_labDiagnosticRecord;
QTextEdit m_textDiagnosticRecord;
QPushButton m_btnOk;
QPushButton m_btnCancel;
};
#endif // MEDICALRECORDWIDGET_H