调整导联方案的样式到文件

This commit is contained in:
work-zym\zhangyiming 2024-12-20 10:29:17 +08:00
parent 13e4fd22fb
commit bdcee52537
3 changed files with 13 additions and 4 deletions

View File

@ -14,7 +14,11 @@ QLabel#MainTxt{font-size: 60px;font-weight: 500;color:white;background-color: tr
QLabel#MainTxtEn{font-size: 60px;font-weight:normal;color:white;background-color: transparent;}
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; }
QLineEdit
{

Binary file not shown.

View File

@ -216,12 +216,13 @@ void LeadScheme::initLay()
m_vlayHH->addWidget(btn);
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 ; } \
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();
@ -252,6 +253,7 @@ void LeadScheme::initLay()
gridlayOut->addWidget( btn,i+1,1);
btn->setCheckable(true);
}
gridlayOut->addWidget( labPoints,0,colmn++,Qt::AlignHCenter);
for (int i = 0 ;i<strList2.size();i++)
@ -260,6 +262,7 @@ void LeadScheme::initLay()
//btn->setMinimumHeight(minHeight);
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
pButtonGroup2->addButton(btn);
gridlayOut->addWidget( btn,i+1,2);
btn->setCheckable(true);
@ -271,6 +274,7 @@ void LeadScheme::initLay()
//btn->setMinimumHeight(minHeight);
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
pButtonGroup3->addButton(btn);
gridlayOut->addWidget( btn,i+1,3);
btn->setCheckable(true);
@ -510,7 +514,8 @@ void LeadScheme::slotSave()
{
QPushButton * btn = new QPushButton(listNames.at(i));
connect(btn,SIGNAL(clicked(bool)),this,SLOT(slotUpdateCurScheme()));
btn->setMaximumHeight(40);
btn->setMaximumHeight(60);
btn->setObjectName("btnShem");
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
pButtonGroup0->addButton(btn);
//gridShech->addWidget( btn,i+1,0);