调整导联方案的样式
This commit is contained in:
parent
1311b3ee41
commit
13e4fd22fb
Binary file not shown.
@ -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();
|
||||
|
@ -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;\
|
||||
}\
|
||||
|
Loading…
x
Reference in New Issue
Block a user