调整导联方案的样式到文件
This commit is contained in:
parent
13e4fd22fb
commit
bdcee52537
@ -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;}
|
QLabel#MainTxtEn{font-size: 60px;font-weight:normal;color:white;background-color: transparent;}
|
||||||
|
|
||||||
QWidget#parasetting{background-color:white;border-radius: 10px;}
|
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
|
QLineEdit
|
||||||
{
|
{
|
||||||
|
Binary file not shown.
@ -216,12 +216,13 @@ void LeadScheme::initLay()
|
|||||||
m_vlayHH->addWidget(btn);
|
m_vlayHH->addWidget(btn);
|
||||||
btn->setCheckable(true);
|
btn->setCheckable(true);
|
||||||
m_listBtnsSchemes.append(btn);
|
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 ; } \
|
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: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: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; }");
|
QPushButton:checked{ color: white;background: #0D9DDB;border-radius: 8px; }");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
m_vlayHH->addStretch();
|
m_vlayHH->addStretch();
|
||||||
|
|
||||||
@ -252,6 +253,7 @@ void LeadScheme::initLay()
|
|||||||
gridlayOut->addWidget( btn,i+1,1);
|
gridlayOut->addWidget( btn,i+1,1);
|
||||||
btn->setCheckable(true);
|
btn->setCheckable(true);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
gridlayOut->addWidget( labPoints,0,colmn++,Qt::AlignHCenter);
|
gridlayOut->addWidget( labPoints,0,colmn++,Qt::AlignHCenter);
|
||||||
for (int i = 0 ;i<strList2.size();i++)
|
for (int i = 0 ;i<strList2.size();i++)
|
||||||
@ -260,6 +262,7 @@ void LeadScheme::initLay()
|
|||||||
//btn->setMinimumHeight(minHeight);
|
//btn->setMinimumHeight(minHeight);
|
||||||
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
pButtonGroup2->addButton(btn);
|
pButtonGroup2->addButton(btn);
|
||||||
|
|
||||||
gridlayOut->addWidget( btn,i+1,2);
|
gridlayOut->addWidget( btn,i+1,2);
|
||||||
btn->setCheckable(true);
|
btn->setCheckable(true);
|
||||||
|
|
||||||
@ -271,6 +274,7 @@ void LeadScheme::initLay()
|
|||||||
//btn->setMinimumHeight(minHeight);
|
//btn->setMinimumHeight(minHeight);
|
||||||
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
pButtonGroup3->addButton(btn);
|
pButtonGroup3->addButton(btn);
|
||||||
|
|
||||||
gridlayOut->addWidget( btn,i+1,3);
|
gridlayOut->addWidget( btn,i+1,3);
|
||||||
btn->setCheckable(true);
|
btn->setCheckable(true);
|
||||||
|
|
||||||
@ -510,7 +514,8 @@ void LeadScheme::slotSave()
|
|||||||
{
|
{
|
||||||
QPushButton * btn = new QPushButton(listNames.at(i));
|
QPushButton * btn = new QPushButton(listNames.at(i));
|
||||||
connect(btn,SIGNAL(clicked(bool)),this,SLOT(slotUpdateCurScheme()));
|
connect(btn,SIGNAL(clicked(bool)),this,SLOT(slotUpdateCurScheme()));
|
||||||
btn->setMaximumHeight(40);
|
btn->setMaximumHeight(60);
|
||||||
|
btn->setObjectName("btnShem");
|
||||||
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
pButtonGroup0->addButton(btn);
|
pButtonGroup0->addButton(btn);
|
||||||
//gridShech->addWidget( btn,i+1,0);
|
//gridShech->addWidget( btn,i+1,0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user