From 1d62d00e76fb495560af19a9c505c5a8aa213296 Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 18 Feb 2021 22:59:34 +0100 Subject: [PATCH] Added a own arrow icons for the friendslist tree branch --- retroshare-gui/src/gui/images/arrow-down.png | Bin 0 -> 289 bytes retroshare-gui/src/gui/images/arrow-right.png | Bin 0 -> 246 bytes .../src/gui/qss/stylesheet/Standard.qss | 16 ++++++++++++++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 retroshare-gui/src/gui/images/arrow-down.png create mode 100644 retroshare-gui/src/gui/images/arrow-right.png diff --git a/retroshare-gui/src/gui/images/arrow-down.png b/retroshare-gui/src/gui/images/arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..88e0ed9a6d59ac3a14ffeb832fbcfc5d2cd99c47 GIT binary patch literal 289 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?- zS`cPD?!gbF86-S}K_KrbYA%Uq&rRwSad2=Ee+3Gn~*mfQ^ebRnCf#2?- zS`cPD?!gbF86-XXM+Qe!^QI^X~Ja*f^lnI3SXXadZfs8FjZ_Z^Ujn9j%F?`$_-o*jn|$fALPtn zxVgBRnPq{#<2p{)wwNb&D^JX5wmIG9qp1=%U#XbKvpjO*QH8C4`77?{tL~WfLTYjL i#5=3cupbYpIVb&|Nh|2dkInl)j`Vc(b6Mw<&;$TopHu7r literal 0 HcmV?d00001 diff --git a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss index e25aab5dc..c673a6f09 100644 --- a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss +++ b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss @@ -1205,10 +1205,22 @@ BoardsCommentsItem QLabel#subjectLabel, QLabel#titleLabel , QLabel#nameLabel { font: bold; } -NewFriendList QTreeView#peerTreeWidget::item:selected/*, QTreeView#peerTreeWidget::branch:selected:active */{ - background-color: #cde8ff; +NewFriendList QTreeView#peerTreeWidget::item:selected, QTreeView#peerTreeWidget::branch:selected:active { + background: #cde8ff; } NewFriendList QTreeView#peerTreeWidget { font-size: 12pt; } + +NewFriendList QTreeView::branch:has-children:!has-siblings:closed, +NewFriendList QTreeView::branch:closed:has-children:has-siblings { + border-image: none; + image: url(:/images/arrow-right.png); +} + +NewFriendList QTreeView::branch:open:has-children:!has-siblings, +NewFriendList QTreeView::branch:open:has-children:has-siblings { + border-image: none; + image: url(:/images/arrow-down.png); +}