1 增加ui新给的图片 2 对新图的样式进行调节
This commit is contained in:
parent
a72e1e657d
commit
d78da30964
Binary file not shown.
@ -53,5 +53,14 @@
|
||||
<file>image/icon_TimeConst.png</file>
|
||||
<file>image/icon_Wavevelocity.png</file>
|
||||
<file>image/icon_LowerFreq.png</file>
|
||||
<file>image/EGG_icon_DeleteSh_checked.png</file>
|
||||
<file>image/EGG_icon_DeleteSh_hover.png</file>
|
||||
<file>image/EGG_icon_Modify.png</file>
|
||||
<file>image/EGG_icon_Modify_checked.png</file>
|
||||
<file>image/EGG_icon_Modify_hover.png</file>
|
||||
<file>image/EGG_icon_newShec.png</file>
|
||||
<file>image/EGG_icon_newShec_checked.png</file>
|
||||
<file>image/EGG_icon_newShec_hover.png</file>
|
||||
<file>image/EGG_icond_DeleteSh.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
BIN
xyylMCWEACSystem/image/EGG_icon_DeleteSh_checked.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_DeleteSh_checked.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 896 B |
BIN
xyylMCWEACSystem/image/EGG_icon_DeleteSh_hover.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_DeleteSh_hover.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 884 B |
BIN
xyylMCWEACSystem/image/EGG_icon_Modify.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_Modify.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.3 KiB |
BIN
xyylMCWEACSystem/image/EGG_icon_Modify_checked.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_Modify_checked.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.2 KiB |
BIN
xyylMCWEACSystem/image/EGG_icon_Modify_hover.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_Modify_hover.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.1 KiB |
BIN
xyylMCWEACSystem/image/EGG_icon_newShec.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_newShec.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 964 B |
BIN
xyylMCWEACSystem/image/EGG_icon_newShec_checked.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_newShec_checked.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 964 B |
BIN
xyylMCWEACSystem/image/EGG_icon_newShec_hover.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icon_newShec_hover.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 894 B |
BIN
xyylMCWEACSystem/image/EGG_icond_DeleteSh.png
Normal file
BIN
xyylMCWEACSystem/image/EGG_icond_DeleteSh.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 927 B |
@ -25,78 +25,26 @@ LeadScheme::~LeadScheme()
|
||||
|
||||
void LeadScheme::init()
|
||||
{
|
||||
|
||||
m_btnNew.setText("新建");
|
||||
m_btndelete.setText("删除");
|
||||
m_btnCancel.setText("取消");
|
||||
m_btnOK.setText("修改");
|
||||
m_btnNew.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_btndelete.setStyleSheet("QPushButton{\
|
||||
background: red;\
|
||||
color: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;\
|
||||
color:blue;\
|
||||
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_btnOK.setStyleSheet("QPushButton{\
|
||||
background: green;\
|
||||
color: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;\
|
||||
}");
|
||||
QSize sizetemp(60,60);
|
||||
m_btnOK.setFixedSize(sizetemp);
|
||||
m_btndelete.setFixedSize(sizetemp);
|
||||
m_btnNew.setFixedSize(sizetemp);
|
||||
// m_btnNew.setText("新建");
|
||||
// m_btndelete.setText("删除");
|
||||
// m_btnCancel.setText("取消");
|
||||
// m_btnOK.setText("修改");
|
||||
m_btnOK.setStyleSheet("QPushButton{border-image:url(:/image/EGG_icon_Modify.png);}"
|
||||
"QPushButton:hover{border-image:url(:/image/EGG_icon_Modify_hover.png);}"
|
||||
"QPushButton:pressed{border-image:url(:/image/EGG_icon_Modify_checked.png);}"
|
||||
);
|
||||
m_btndelete.setStyleSheet("QPushButton{border-image:url(:/image/EGG_icond_DeleteSh.png);}"
|
||||
"QPushButton:hover{border-image:url(:/image/EGG_icon_DeleteSh_hover.png);}"
|
||||
"QPushButton:pressed{border-image:url(:/image/EGG_icon_DeleteSh_checked.png);}"
|
||||
);
|
||||
m_btnNew.setStyleSheet("QPushButton{border-image:url(:/image/EGG_icon_newShec.png);}"
|
||||
"QPushButton:hover{border-image:url(:/image/EGG_icon_newShec_hover.png);}"
|
||||
"QPushButton:pressed{border-image:url(:/image/EGG_icon_newShec_checked.png);}"
|
||||
);
|
||||
|
||||
}
|
||||
bool LeadScheme::initconnect()
|
||||
|
Loading…
x
Reference in New Issue
Block a user