样式调节
This commit is contained in:
parent
1bd1ddba88
commit
c7deb85b31
Binary file not shown.
@ -80,20 +80,54 @@ ParameterSettingsWidget::ParameterSettingsWidget(QWidget *parent )
|
||||
|
||||
QWidget * w = new QWidget;
|
||||
|
||||
setObjectName("paramawidget");
|
||||
this->setStyleSheet("QWidget \
|
||||
|
||||
|
||||
setStyleSheet("QWidget \
|
||||
{\
|
||||
background-color:white;\
|
||||
border-radius:10px;\
|
||||
}"\
|
||||
);
|
||||
|
||||
}");
|
||||
w->setLayout(vlay);
|
||||
QHBoxLayout * hlayall = new QHBoxLayout;
|
||||
hlayall->addWidget(w);
|
||||
|
||||
setLayout(hlayall);
|
||||
|
||||
m_btnOK.setStyleSheet("QPushButton{\
|
||||
background: white;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}\
|
||||
QPushButton:hover{\
|
||||
background: #0d9ddb;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}\
|
||||
QPushButton:pressed{\
|
||||
background: #0d9ddb;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}\
|
||||
QPushButton:checked{\
|
||||
background: #0d9ddb;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}");
|
||||
m_btncanCel.setStyleSheet("QPushButton{\
|
||||
background: white;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}\
|
||||
QPushButton:hover{\
|
||||
background: #0d9ddb;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}\
|
||||
QPushButton:pressed{\
|
||||
background: #0d9ddb;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}\
|
||||
QPushButton:checked{\
|
||||
background: #0d9ddb;\
|
||||
border-radius:10px;padding:7px 10px;\
|
||||
}");
|
||||
|
||||
m_btncanCel.setMinimumWidth(100);
|
||||
m_btnOK.setMinimumWidth(100);
|
||||
}
|
||||
ParameterSettingsWidget::~ParameterSettingsWidget()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user