project/xyylMCWEACSystem/hospitalinfo.h

59 lines
1.2 KiB
C
Raw Normal View History

2024-10-30 09:27:16 +08:00
#ifndef HOSPITALINFO_H
#define HOSPITALINFO_H
/*
des: Hospital Info
date: 20241028
*/
#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
class HospitalInfo:public QWidget
{
Q_OBJECT
public:
explicit HospitalInfo(QWidget * parent = NULL);
virtual ~HospitalInfo();
void init();
void initLay();
bool initConnect();
private slots:
void slotSave();
void slotCancel();
public slots:
void slotUpdateShow();
2024-10-30 09:27:16 +08:00
private:
2024-11-14 16:33:39 +08:00
//医院信息
QLabel m_labHospitalInfo;
QLabel m_labStart1;
QLabel m_labStart2;
2024-10-30 09:27:16 +08:00
//医院名称
QLabel m_labHospitalName;
QLineEdit m_editHospitalName;
//科室
QLabel m_labSection;
QLineEdit m_editSection;
2024-11-14 16:33:39 +08:00
//用户人数
2024-10-30 09:27:16 +08:00
QLabel m_labUserNum;
QLineEdit m_editUserNum;
2024-11-14 16:33:39 +08:00
//数据名称
2024-10-30 09:27:16 +08:00
QLabel m_labDataBaseName;
QLineEdit m_editDataBaseName;
2024-11-14 16:33:39 +08:00
//用户名称
2024-10-30 09:27:16 +08:00
QLabel m_labUser;
QLineEdit m_editUser;
2024-11-14 16:33:39 +08:00
//用户密码
2024-10-30 09:27:16 +08:00
QLabel m_labpasswd;
QLineEdit m_editPasswd;
2024-11-14 16:33:39 +08:00
//确认密码
QLabel m_labRepasswd;
QLineEdit m_editRePasswd;
2024-10-30 09:27:16 +08:00
//确认
QPushButton m_btnOK;
2024-11-14 16:33:39 +08:00
QPushButton m_btnCancel;
2024-10-30 09:27:16 +08:00
};
#endif // HOSPITALINFO_H