From 7d4fa4ac385099b268397d7b1f46911944198d2c Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sun, 22 Jun 2014 17:54:58 +0000 Subject: [PATCH] QTreeViewitem change text color to white git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3167 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetapp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index aea46cab0..de923842b 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -959,7 +959,8 @@ void QETApp::useSystemPalette(bool use) { "QMainWindow{background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(197, 245, 254)); }" "QListView{background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(130, 160, 210)); }" "QTreeView{background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(197, 245, 254)); }" - "QTreeView::item{background-color: rgba(100, 100, 100, 150);}" + "QTreeView::item{background-color: rgba(100, 100, 100, 50);}" + "QTreeView::item:text{color: white;}" "QTreeView::item:hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); }" "QAbstractScrollArea#mdiarea {"