调整测试数据库按钮的颜色为黄色

This commit is contained in:
wangweiye7840 2024-06-18 15:12:33 +08:00
parent cdd7e68bdc
commit 3b19b7ed60
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class MyWindow(QMainWindow,Ui_MainWindow):
self.database = "tiku"
self.sendValue()
def SelectTIKUTEST(self):
self.pushButton_tikutest.setStyleSheet("background-color: green; font-weight: bold;") #绿色背景粗体
self.pushButton_tikutest.setStyleSheet("background-color: yellow; font-weight: bold;") #绿色背景粗体
self.pushButton_tiku.setStyleSheet("") #恢复原有背景, 取消粗体
# SaveTextFile("tikutest","临时文件/databasename.txt")
self.database = "tikutest"