调整导联方案字体样式
This commit is contained in:
@@ -123,21 +123,20 @@ void LeadScheme::initLay()
|
||||
|
||||
QLabel * labScheme = new QLabel;
|
||||
labScheme->setText("导联方案");
|
||||
labScheme->setObjectName("labScheme");
|
||||
|
||||
QLabel * labNum = new QLabel;
|
||||
labNum->setText("导联");
|
||||
|
||||
labNum->setObjectName("labSchemeNum");
|
||||
QLabel * labPoints = new QLabel;
|
||||
labPoints->setText("测点");
|
||||
|
||||
labPoints->setObjectName("labSchemePoints");
|
||||
QLabel * labExPoints = new QLabel;
|
||||
labExPoints->setText("参考点");
|
||||
labExPoints->setObjectName("labSchemePointsparam");
|
||||
//start
|
||||
QWidget * wPoints = new QWidget;
|
||||
wPoints->setStyleSheet("QPushButton{ background: rgb(255, 255, 255);color: black;border-radius: 8px; border:0px ;}\
|
||||
QPushButton:hover{ color: black;background: rgb(255, 255, 255);border-radius: 8px; }\
|
||||
QPushButton:pressed{color: black;background: rgb(255, 255, 255);border-radius: 8px; }\
|
||||
QPushButton:checked{color: white;background:#0D9DDB; border-radius: 8px;}" );
|
||||
|
||||
QGridLayout * gridlayOut = new QGridLayout;
|
||||
QVBoxLayout * vlayPoints = new QVBoxLayout;
|
||||
vlayPoints->addLayout(gridlayOut);
|
||||
@@ -355,7 +354,7 @@ void LeadScheme::initLay()
|
||||
//vlayAll->addLayout(hbtn);
|
||||
setLayout(vlayAll);
|
||||
|
||||
setStyleSheet("QLabel{font-family: 思源黑体;font-size: 26px;font-weight: 500;color: #054578;}");
|
||||
// setStyleSheet("QLabel{font-family: 思源黑体;font-size: 26px;font-weight: 500;color: #054578;}");
|
||||
}
|
||||
void LeadScheme::reLay()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user