1 增加ui新给的图片 2 对新图的样式进行调节
@ -53,5 +53,14 @@
|
|||||||
<file>image/icon_TimeConst.png</file>
|
<file>image/icon_TimeConst.png</file>
|
||||||
<file>image/icon_Wavevelocity.png</file>
|
<file>image/icon_Wavevelocity.png</file>
|
||||||
<file>image/icon_LowerFreq.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>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
BIN
xyylMCWEACSystem/image/EGG_icon_DeleteSh_checked.png
Normal file
After Width: | Height: | Size: 896 B |
BIN
xyylMCWEACSystem/image/EGG_icon_DeleteSh_hover.png
Normal file
After Width: | Height: | Size: 884 B |
BIN
xyylMCWEACSystem/image/EGG_icon_Modify.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
xyylMCWEACSystem/image/EGG_icon_Modify_checked.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
xyylMCWEACSystem/image/EGG_icon_Modify_hover.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
xyylMCWEACSystem/image/EGG_icon_newShec.png
Normal file
After Width: | Height: | Size: 964 B |
BIN
xyylMCWEACSystem/image/EGG_icon_newShec_checked.png
Normal file
After Width: | Height: | Size: 964 B |
BIN
xyylMCWEACSystem/image/EGG_icon_newShec_hover.png
Normal file
After Width: | Height: | Size: 894 B |
BIN
xyylMCWEACSystem/image/EGG_icond_DeleteSh.png
Normal file
After Width: | Height: | Size: 927 B |
@ -25,78 +25,26 @@ LeadScheme::~LeadScheme()
|
|||||||
|
|
||||||
void LeadScheme::init()
|
void LeadScheme::init()
|
||||||
{
|
{
|
||||||
|
QSize sizetemp(60,60);
|
||||||
m_btnNew.setText("新建");
|
m_btnOK.setFixedSize(sizetemp);
|
||||||
m_btndelete.setText("删除");
|
m_btndelete.setFixedSize(sizetemp);
|
||||||
m_btnCancel.setText("取消");
|
m_btnNew.setFixedSize(sizetemp);
|
||||||
m_btnOK.setText("修改");
|
// m_btnNew.setText("新建");
|
||||||
m_btnNew.setStyleSheet("QPushButton{\
|
// m_btndelete.setText("删除");
|
||||||
background: white;\
|
// m_btnCancel.setText("取消");
|
||||||
border-radius:10px;padding:7px 10px;\
|
// m_btnOK.setText("修改");
|
||||||
}\
|
m_btnOK.setStyleSheet("QPushButton{border-image:url(:/image/EGG_icon_Modify.png);}"
|
||||||
QPushButton:hover{\
|
"QPushButton:hover{border-image:url(:/image/EGG_icon_Modify_hover.png);}"
|
||||||
background: #0d9ddb;\
|
"QPushButton:pressed{border-image:url(:/image/EGG_icon_Modify_checked.png);}"
|
||||||
border-radius:10px;padding:7px 10px;\
|
);
|
||||||
}\
|
m_btndelete.setStyleSheet("QPushButton{border-image:url(:/image/EGG_icond_DeleteSh.png);}"
|
||||||
QPushButton:pressed{\
|
"QPushButton:hover{border-image:url(:/image/EGG_icon_DeleteSh_hover.png);}"
|
||||||
background: #0d9ddb;\
|
"QPushButton:pressed{border-image:url(:/image/EGG_icon_DeleteSh_checked.png);}"
|
||||||
border-radius:10px;padding:7px 10px;\
|
);
|
||||||
}\
|
m_btnNew.setStyleSheet("QPushButton{border-image:url(:/image/EGG_icon_newShec.png);}"
|
||||||
QPushButton:checked{\
|
"QPushButton:hover{border-image:url(:/image/EGG_icon_newShec_hover.png);}"
|
||||||
background: #0d9ddb;\
|
"QPushButton:pressed{border-image:url(:/image/EGG_icon_newShec_checked.png);}"
|
||||||
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;\
|
|
||||||
}");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
bool LeadScheme::initconnect()
|
bool LeadScheme::initconnect()
|
||||||
|