增加遥控器读取
This commit is contained in:
@@ -67,3 +67,17 @@ QString BitMaps::DialBut(bool B1,bool B2,bool Dir){
|
||||
QString BitMaps::DiBut(bool B1){
|
||||
return ChoiceBit2(B1,":/Icos/Icos/LED1_Grey.png",":/Icos/Icos/LED1_Green.png");
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief BitMaps::DiBut 普通按钮的显示
|
||||
* @param B1 按钮是否激活
|
||||
* @return 如果被按下则返回,没有返回为空字符串
|
||||
*/
|
||||
QString BitMaps::SwitchBut(bool Start,bool Stop){
|
||||
if(Start && !Stop)
|
||||
return ":/Icos/Icos/LED1_Green.png";
|
||||
else if(!Start && Stop)
|
||||
return ":/Icos/Icos/LED1_Rad.png";
|
||||
else
|
||||
return ":/Icos/Icos/LED1_Grey.png";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user