From a1a1c89b91fc9476c51981699aaa7c2bccdd8570 Mon Sep 17 00:00:00 2001 From: tao_z <tzj0429@163.com> Date: Sun, 07 Aug 2022 14:19:02 +0800 Subject: [PATCH] SX7H初步完成 --- styleSheet.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/styleSheet.py b/styleSheet.py index 541cb16..71fdf60 100644 --- a/styleSheet.py +++ b/styleSheet.py @@ -2,8 +2,12 @@ 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} -- Gitblit v1.8.0