迁移病历填写和医院信息和导联方案的样式

This commit is contained in:
work-zym\zhangyiming 2024-12-20 15:20:33 +08:00
parent 87f0b2d34b
commit cdb542eb88
5 changed files with 75 additions and 50 deletions

View File

@ -15,13 +15,15 @@ QLabel#MainTxtEn{font-size: 60px;font-weight:normal;color:white;background-color
QWidget#parasetting{background-color:white;border-radius: 10px;}
/*导联方案*/
QPushButton#btnShem{ background: rgb(255, 255, 255); color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; border:0px ; }
QPushButton#btnShem:hover{color: black;background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; }
QPushButton#btnShem:pressed{color: black; background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px;}
QPushButton#btnShem:checked{ color: white;background: #0D9DDB;border-radius: 8px; }
QLabel#labSchemeNum,#labSchemePoints,#labSchemePointsparam{font-family: 思源黑体;font-size: 26px;font-weight: 500;color:#054578;}
QLabel#labScheme{font-family: 思源黑体;font-size: 32px;font-weight: 500;color: #0D9DDB;}
QLabel#labDesShec{font-family: Source Han Sans;font-size: 16px;font-weight: 500;color: #999999;}
QLabel#labhospitalName,#labSection,#labUserNum,#labDataBaseName,#labUser,#labpasswd,#labRepasswd{font-family: Source Han Sans;font-size: 28px;font-weight: normal;color: #555555;}
/*填写病历*/
QLabel#labStar{color:red;}
QLabel#labCheckNum{font-family: Source Han Sans;font-size: 28px;font-weight: normal;color: #555555;}
QRadioButton#labCheckNum{font-family: Source Han Sans;font-size: 28px;font-weight: normal;color: #555555;}
QLineEdit
{
border: 1px solid #ABCDA0;
@ -34,7 +36,8 @@ selection-color: #F2F2F2;
font-family: "Microsoft YaHei";
font-size: 10pt;
}
/*病历管理*/
QHeaderView::section{font-family: 思源黑体;font-size: 28px;font-weight: 500;color: #054578;}
QLineEdit:hover
{
border: 1px solid #298DFF;
@ -44,7 +47,13 @@ color: #298DFF;
selection-background-color: #298DFF;
selection-color: #F2F2F2;
}
QTableWidget
{
font-family: Source Han Sans;
font-size: 28px;
font-weight: normal;
color: #666666;
}
QLineEdit[echoMode="2"]
{
lineedit-password-character: 9679;
@ -85,35 +94,16 @@ color: black;
QPushButton#ok,#cancel
{
font-family: 思源黑体;
font-size: 32px;
font-weight: 500;
color: #0D9DDB;
border:1px solid black;
background: white;
border-radius:10px;
background: background: #FFFFFF;;
border-radius:12px;
padding:7px 10px;
}
QPushButton#ok,#cancel
:hover
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
}
QPushButton#ok,#cancel
:pressed
{
background: #0d9aab;
border-radius:10px;
padding:7px 10px;
}
QPushButton#ok,#cancel
:checked
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
}
QPushButton#open
{

Binary file not shown.

View File

@ -30,34 +30,36 @@ void HospitalInfo::init()
m_labStart1.setText("*");
m_labStart2.setText("*");
m_labStart1.setObjectName("labStar");
m_labStart2.setObjectName("labStar");
m_labStart1.setFixedWidth(10);
m_labStart2.setFixedWidth(10);
m_labStart1.setStyleSheet("color:red");
m_labStart2.setStyleSheet("color:red");
//m_labStart1.setStyleSheet("color:red");
//m_labStart2.setStyleSheet("color:red");
//医院名称
m_labHospitalName.setText("医院名称");
m_labHospitalName.setObjectName("labhospitalName");
//科室
m_labSection.setText("科室");;
m_labSection.setObjectName("labSection");
//用户人数
m_labUserNum.setText("用户人数");;
m_labUserNum.setObjectName("labUserNum");
//数据名称
m_labDataBaseName.setText("数据名称");;
m_labDataBaseName.setObjectName("labDataBaseName");
//用户名称
m_labUser.setText("用户名称");
m_labUser.setObjectName("labUser");
//用户名称
m_labpasswd.setText("用户密码");;
m_labpasswd.setObjectName("labpasswd");
//确认密码
m_labRepasswd.setText("确认密码");;
m_labRepasswd.setObjectName("labRepasswd");
//确认
m_btnOK.setText("确认");;
m_btnCancel.setText("取消");;

View File

@ -216,12 +216,13 @@ void LeadScheme::initLay()
btn->setCheckable(true);
m_listBtnsSchemes.append(btn);
btn->setObjectName("btnShem");
#if 0
btn->setStyleSheet("QPushButton{ background: rgb(255, 255, 255); color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; border:0px ; } \
#if 1
btn->setStyleSheet("QPushButton{ background: rgb(255, 255, 255); color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; border:0px ; } \
QPushButton:hover{color: black;background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; }\
QPushButton:pressed{color: black; background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px;}\
QPushButton:checked{ color: white;background: #0D9DDB;border-radius: 8px; }");
#endif
}
m_vlayHH->addStretch();
@ -251,8 +252,14 @@ void LeadScheme::initLay()
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
pButtonGroup1->addButton(btn);
gridlayOut->addWidget( btn,i+1,1);
btn->setCheckable(true);
btn->setCheckable(true);
btn->setObjectName("btnShem1");
#if 1
btn->setStyleSheet("QPushButton{ background: rgb(255, 255, 255); color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; border:0px ; } \
QPushButton:hover{color: black;background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; }\
QPushButton:pressed{color: black; background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px;}\
QPushButton:checked{ color: white;background: #0D9DDB;border-radius: 8px; }");
#endif
}
gridlayOut->addWidget( labPoints,0,colmn++,Qt::AlignHCenter);
@ -265,6 +272,13 @@ void LeadScheme::initLay()
gridlayOut->addWidget( btn,i+1,2);
btn->setCheckable(true);
btn->setObjectName("btnShem1");
#if 1
btn->setStyleSheet("QPushButton{ background: rgb(255, 255, 255); color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; border:0px ; } \
QPushButton:hover{color: black;background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; }\
QPushButton:pressed{color: black; background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px;}\
QPushButton:checked{ color: white;background: #0D9DDB;border-radius: 8px; }");
#endif
}
gridlayOut->addWidget( labExPoints,0,colmn++,Qt::AlignHCenter);
@ -277,7 +291,13 @@ void LeadScheme::initLay()
gridlayOut->addWidget( btn,i+1,3);
btn->setCheckable(true);
btn->setObjectName("btnShem1");
#if 1
btn->setStyleSheet("QPushButton{ background: rgb(255, 255, 255); color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; border:0px ; } \
QPushButton:hover{color: black;background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; }\
QPushButton:pressed{color: black; background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px;}\
QPushButton:checked{ color: white;background: #0D9DDB;border-radius: 8px; }");
#endif
}
//end

View File

@ -29,9 +29,10 @@ void MedicalRecordWidget::init()
// setFixedSize(600,600);
m_labStar.setText(tr("*"));
m_labStar.setObjectName("labStar");
m_labStar2.setText(tr("*"));
// m_labStar.setStyleSheet("color:red");
//m_labStar2.setStyleSheet("color:red");
m_labStar2.setObjectName("labStar");
#if 0
#else
@ -39,20 +40,25 @@ void MedicalRecordWidget::init()
m_labTitle.setStyleSheet("width: 136px;font-family: 思源黑体;color: #0D9DDB; font-size: 32px;font-weight: 500;height: 46px;");
//检查号
m_labCheckNum.setText(tr("检查号"));
m_labCheckNum.setObjectName("labCheckNum");
//住院 hospitalized
m_labType.setText(tr("类型"));
m_labType.setObjectName("labCheckNum");
m_chHospitalized.setText(tr("住院"));
m_chHospitalized.setObjectName("labCheckNum");
//门诊
m_chOutpatient.setText(tr("门诊"));
m_chOutpatient.setObjectName("labCheckNum");
//姓名
m_labName.setText(tr("姓 名"));
m_labName.setObjectName("labCheckNum");
//性别
m_labSex.setText(tr("性别"));;
m_labSex.setObjectName("labCheckNum");
m_chMan.setText(tr(""));;
m_chMan.setObjectName("labCheckNum");
m_chWan.setText(tr(""));;
m_chWan.setObjectName("labCheckNum");
QButtonGroup *SexpButtonGroup = new QButtonGroup(this);
// 设置互斥
SexpButtonGroup->setExclusive(true);
@ -63,8 +69,11 @@ void MedicalRecordWidget::init()
//左右利
m_labLaterality.setText(tr(" 左右利"));
m_labLaterality.setObjectName("labCheckNum");
m_chLeft.setText(tr(""));;
m_chLeft.setObjectName("labCheckNum");
m_chRfight.setText(tr(""));;
m_chRfight.setObjectName("labCheckNum");
QButtonGroup *LabpButtonGroup = new QButtonGroup(this);
// 设置互斥
LabpButtonGroup->setExclusive(true);
@ -74,10 +83,14 @@ void MedicalRecordWidget::init()
//检查日期
m_labDate_Of_inspection.setText(tr("检查日期"));
m_labDate_Of_inspection.setObjectName("labCheckNum");
m_labAge.setText(tr("年龄"));
m_labAge.setObjectName("labCheckNum");
m_labBirthDay.setText(tr("出生日期"));
m_labBirthDay.setObjectName("labCheckNum");
//诊断病历
m_labDiagnosticRecord.setText(tr("其 他:"));
m_labDiagnosticRecord.setObjectName("labCheckNum");
m_labDiagnosticRecord.setFixedHeight(30);
m_btnOk.setText(tr("保存"));
m_btnCancel.setText(tr("取消"));