diff --git a/bin/xyylMCWEACSystem.exe b/bin/xyylMCWEACSystem.exe
index 6292031..3e62b2a 100644
Binary files a/bin/xyylMCWEACSystem.exe and b/bin/xyylMCWEACSystem.exe differ
diff --git a/xyylMCWEACSystem/egg.qrc b/xyylMCWEACSystem/egg.qrc
index ca1ad22..d45685b 100644
--- a/xyylMCWEACSystem/egg.qrc
+++ b/xyylMCWEACSystem/egg.qrc
@@ -53,5 +53,14 @@
image/icon_TimeConst.png
image/icon_Wavevelocity.png
image/icon_LowerFreq.png
+ image/EGG_icon_DeleteSh_checked.png
+ image/EGG_icon_DeleteSh_hover.png
+ image/EGG_icon_Modify.png
+ image/EGG_icon_Modify_checked.png
+ image/EGG_icon_Modify_hover.png
+ image/EGG_icon_newShec.png
+ image/EGG_icon_newShec_checked.png
+ image/EGG_icon_newShec_hover.png
+ image/EGG_icond_DeleteSh.png
diff --git a/xyylMCWEACSystem/image/EGG_icon_DeleteSh_checked.png b/xyylMCWEACSystem/image/EGG_icon_DeleteSh_checked.png
new file mode 100644
index 0000000..27222f6
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_DeleteSh_checked.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icon_DeleteSh_hover.png b/xyylMCWEACSystem/image/EGG_icon_DeleteSh_hover.png
new file mode 100644
index 0000000..1a85f6c
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_DeleteSh_hover.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icon_Modify.png b/xyylMCWEACSystem/image/EGG_icon_Modify.png
new file mode 100644
index 0000000..5ece767
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_Modify.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icon_Modify_checked.png b/xyylMCWEACSystem/image/EGG_icon_Modify_checked.png
new file mode 100644
index 0000000..cd076ad
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_Modify_checked.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icon_Modify_hover.png b/xyylMCWEACSystem/image/EGG_icon_Modify_hover.png
new file mode 100644
index 0000000..bee463d
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_Modify_hover.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icon_newShec.png b/xyylMCWEACSystem/image/EGG_icon_newShec.png
new file mode 100644
index 0000000..80f0e59
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_newShec.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icon_newShec_checked.png b/xyylMCWEACSystem/image/EGG_icon_newShec_checked.png
new file mode 100644
index 0000000..a03df05
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_newShec_checked.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icon_newShec_hover.png b/xyylMCWEACSystem/image/EGG_icon_newShec_hover.png
new file mode 100644
index 0000000..ea5e2e8
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icon_newShec_hover.png differ
diff --git a/xyylMCWEACSystem/image/EGG_icond_DeleteSh.png b/xyylMCWEACSystem/image/EGG_icond_DeleteSh.png
new file mode 100644
index 0000000..05fbbb8
Binary files /dev/null and b/xyylMCWEACSystem/image/EGG_icond_DeleteSh.png differ
diff --git a/xyylMCWEACSystem/leadscheme.cpp b/xyylMCWEACSystem/leadscheme.cpp
index 1dc2920..b4e64aa 100644
--- a/xyylMCWEACSystem/leadscheme.cpp
+++ b/xyylMCWEACSystem/leadscheme.cpp
@@ -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()