From 8ecb842a257425413fb6555a70ef600f4e6aa7d2 Mon Sep 17 00:00:00 2001 From: Colin Duquesnoy Date: Wed, 7 Nov 2012 13:15:41 +0100 Subject: [PATCH] Added TreeView branch open/close hilighted icons --- rc/branch_closed-on.png | Bin 0 -> 147 bytes rc/branch_open-on.png | Bin 0 -> 150 bytes style.qss | 10 ++++++++++ 3 files changed, 10 insertions(+) create mode 100644 rc/branch_closed-on.png create mode 100644 rc/branch_open-on.png diff --git a/rc/branch_closed-on.png b/rc/branch_closed-on.png new file mode 100644 index 0000000000000000000000000000000000000000..d081e9b3b90d774450a8ea48f1184019e33a755a GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ(!2%?APo63Uq?nSt-CYAmd+F5V%0wNv=peG!PC{xWt~$(69A|)Be?(o literal 0 HcmV?d00001 diff --git a/rc/branch_open-on.png b/rc/branch_open-on.png new file mode 100644 index 0000000000000000000000000000000000000000..ec372b27d1adc1268321a1ffaa9a884daf6de7e6 GIT binary patch literal 150 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRR!2%?ApR4f$QcOwS?k)_Mw}vl>0ZA8lL>4nJ za0`PlBg3pY5H=O_B-6{JiOAS{|sjWh15M=978y+r}k{*WnkcFe(-;BX~D)* rS0)5haD*y~YzrxP=F!`JhM)Jr2M#8aN7~DQS{OWC{an^LB{Ts5zf35P literal 0 HcmV?d00001 diff --git a/style.qss b/style.qss index 7fe886cf1..a66afb8d0 100644 --- a/style.qss +++ b/style.qss @@ -695,6 +695,16 @@ QTreeView::branch:open:has-children:has-siblings { image: url(%(location)s/QDarkStyleSheet/rc/branch_open.png); } +QTreeView::branch:has-children:!has-siblings:closed:hover, +QTreeView::branch:closed:has-children:has-siblings:hover { + image: url(%(location)s/QDarkStyleSheet/rc/branch_closed-on.png); + } + +QTreeView::branch:open:has-children:!has-siblings:hover, +QTreeView::branch:open:has-children:has-siblings:hover { + image: url(%(location)s/QDarkStyleSheet/rc/branch_open-on.png); + } + QSlider::groove:horizontal { border: 1px solid #3A3939; height: 8px;