From 9700febe086f7ddebf61cf1353a732a9e491a670 Mon Sep 17 00:00:00 2001 From: Chris Ying <877259039@qq.com> Date: Wed, 29 Sep 2021 22:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86qss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sipeed_keyboard_controller/Diffnes.qss | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/software/sipeed_keyboard_controller/Diffnes.qss b/software/sipeed_keyboard_controller/Diffnes.qss index dc0c623..13c5cac 100644 --- a/software/sipeed_keyboard_controller/Diffnes.qss +++ b/software/sipeed_keyboard_controller/Diffnes.qss @@ -991,3 +991,32 @@ QSizeGrip border: none; } + +/*-----QTabWidget-----*/ + +QTabBar::tab { + background-color: #051a39; + border-top-left-radius:4px; + border-top-right-radius:4px; + width: 80px; + height: 20px; + padding:2px; +} + +/* 标签被选中时或鼠标悬浮时 */ +QTabBar::tab:selected,QTabBar::tab:hover { + background-color: gray; + color: white; +} + +/* 标签被选中时 */ +QTabBar::tab:selected { + background-color: #4891b4; + color: #ffffff; +} + +/*-----QTextEdit-----*/ +QTextEdit{ + background-color: #222222; + color: white; +} \ No newline at end of file