tao_z
2022-07-20 14a1ed561791fbc2357cb37206a1c0e73a97abc2
1
2
3
4
5
6
7
8
9
10
11
12
13
FunctionButton_defaultStyle = "background-color: rgb(123, 123, 123);\n" + "color: rgb(255,255,255);  \n" + "border-radius: 30px; \n" + "font: 9pt \"AcadEref\";\n" + "border-style: outset;"
FunctionButton_activeStyle = "background-color: rgb(0, 255, 0);\n" + "color: rgb(255,255,255);  \n" + "border-radius: 30px; \n" + "font: 9pt \"AcadEref\";\n" + "border-style: outset;"
FunctionButton_faultStyle = "background-color: rgb(255,0,  0);\n" + "color: rgb(255,255,255);  \n" + "border-radius: 30px; \n" + "font: 9pt \"AcadEref\";\n" + "border-style: outset;"
 
Color_activeStyle = "background-color: rgb(0, 255, 0);\n"
Color_defaultStyle = "background-color: rgb(123, 123, 123);\n"
Style_dic = {
    0: FunctionButton_defaultStyle,
    1: FunctionButton_activeStyle,
    2: FunctionButton_faultStyle
}
 
ColorStyle_dic = {0: Color_defaultStyle, 1: Color_activeStyle}