diff --git a/bin/defaultstyle.qss b/bin/defaultstyle.qss index a78334d..f60cd33 100644 --- a/bin/defaultstyle.qss +++ b/bin/defaultstyle.qss @@ -19,7 +19,8 @@ QPushButton#btnShem{ background: rgb(255, 255, 255); color: #666666;font-family: 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;font-family: 思源黑体;font-weight: 500;color:#054578;} + QLabel#labScheme{font-family: 思源黑体;font-size: 32px;font-weight: 500;font-family: 思源黑体;font-weight: 500;color: #0D9DDB;} QLineEdit { border: 1px solid #ABCDA0; diff --git a/bin/xyylMCWEACSystem.exe b/bin/xyylMCWEACSystem.exe index 636030f..c39e7cb 100644 Binary files a/bin/xyylMCWEACSystem.exe and b/bin/xyylMCWEACSystem.exe differ diff --git a/xyylMCWEACSystem/leadscheme.cpp b/xyylMCWEACSystem/leadscheme.cpp index 6c82df4..54225ba 100644 --- a/xyylMCWEACSystem/leadscheme.cpp +++ b/xyylMCWEACSystem/leadscheme.cpp @@ -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() {