diff --git a/bin/xyylMCWEACSystem.exe b/bin/xyylMCWEACSystem.exe index 4337137..9a6338c 100644 Binary files a/bin/xyylMCWEACSystem.exe and b/bin/xyylMCWEACSystem.exe differ diff --git a/xyylMCWEACSystem/leadscheme.cpp b/xyylMCWEACSystem/leadscheme.cpp index 2b104d3..c590ffb 100644 --- a/xyylMCWEACSystem/leadscheme.cpp +++ b/xyylMCWEACSystem/leadscheme.cpp @@ -134,29 +134,10 @@ void LeadScheme::initLay() labExPoints->setText("参考点"); //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: rgb(51, 144, 76);\ - border-radius: 8px;\ - }"\ - "QWidget#NavList1{background-color:rgb(255, 255, 255);}"\ - ); + 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); @@ -228,18 +209,18 @@ void LeadScheme::initLay() { QPushButton * btn = new QPushButton(Sches.at(i)); connect(btn,SIGNAL(clicked(bool)),this,SLOT(slotUpdateCurScheme())); - btn->setMaximumHeight(40); + btn->setMaximumHeight(60); btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); pButtonGroup0->addButton(btn); //gridShech->addWidget( btn,i+1,0); m_vlayHH->addWidget(btn); btn->setCheckable(true); m_listBtnsSchemes.append(btn); - btn->setStyleSheet("QPushButton{background-color: #0D9DDB; border-radius:4px; color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal;}\ - QPushButton:hover{background: ##0D9DDB; border-radius:10px;padding:4px 10px;color: #666666; font-family: Source Han Sans; font-size: 30px;font-weight: normal; }\ - QPushButton:pressed{ background: ##0D9DDB; border-radius:10px; padding:7px 10px;color: #666666; font-family: Source Han Sans; font-size: 30px;font-weight: normal; }\ - QPushButton:checked{background: ##0D9DDB;border-radius:10px;padding:7px 10px; color: #666666; font-family: Source Han Sans; font-size: 30px;font-weight: normal;}"); + 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; }"); } m_vlayHH->addStretch(); diff --git a/xyylMCWEACSystem/parametersettingswidget.cpp b/xyylMCWEACSystem/parametersettingswidget.cpp index 8ed4f84..6e0e06d 100644 --- a/xyylMCWEACSystem/parametersettingswidget.cpp +++ b/xyylMCWEACSystem/parametersettingswidget.cpp @@ -229,9 +229,7 @@ ParameterSettingsWidget::ParameterSettingsWidget(QWidget *parent ) QPushButton:pressed{ background: #41B962; border-radius:10px; padding:7px 10px;color: #666666; font-family: Source Han Sans; font-size: 30px;font-weight: normal; }\ QPushButton:checked{background: #41B962;border-radius:10px;padding:7px 10px; color: #666666; font-family: Source Han Sans; font-size: 30px;font-weight: normal;}"); - - - m_btnOK.setStyleSheet("QPushButton{\ + m_btnOK.setStyleSheet("QPushButton{\ background: white;\ border-radius:10px;padding:7px 10px;\ }\