From 698b17133dd304fe293f495aa3b96c4274ccdd50 Mon Sep 17 00:00:00 2001 From: tao_z <tzj0429@163.com> Date: Wed, 22 Jun 2022 23:03:00 +0800 Subject: [PATCH] 新增换挡逻辑功能 --- 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