更新代码

This commit is contained in:
feiyangqingyun
2021-07-02 17:18:16 +08:00
parent 9fb921c40a
commit db7be43ae2
98 changed files with 93 additions and 640 deletions

View File

@@ -202,6 +202,10 @@ void DeviceButton::setButtonColor(const DeviceButton::ButtonColor &buttonColor)
imgName = QString(":/image/devicebutton/devicebutton_gray_%1.png").arg(type);
} else if (buttonColor == ButtonColor_Black) {
imgName = QString(":/image/devicebutton/devicebutton_black_%1.png").arg(type);
} else if (buttonColor == ButtonColor_Purple) {
imgName = QString(":/image/devicebutton/devicebutton_purple_%1.png").arg(type);
} else if (buttonColor == ButtonColor_Yellow) {
imgName = QString(":/image/devicebutton/devicebutton_yellow_%1.png").arg(type);
} else if (buttonColor == ButtonColor_Red) {
checkAlarm();
if (!timer->isActive()) {