From 2757360ace48663f8a0cec0818a5948909358298 Mon Sep 17 00:00:00 2001 From: snogcel Date: Wed, 8 Apr 2015 18:48:42 -0600 Subject: [PATCH 1/4] QScrollBar Fix --- src/qt/res/css/drkblue.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qt/res/css/drkblue.css b/src/qt/res/css/drkblue.css index cce44820ab..d7b450094d 100755 --- a/src/qt/res/css/drkblue.css +++ b/src/qt/res/css/drkblue.css @@ -315,6 +315,11 @@ height:3px; background:#fff; } +QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { /* Remove Up and Down Arrows from UI */ +width:0px; +height:0px; +} + /*******************************************************/ /* DIALOG BOXES */ From 14d990362f6157ccc06929d45c179e0594d1a251 Mon Sep 17 00:00:00 2001 From: snogcel Date: Thu, 9 Apr 2015 20:39:34 -0600 Subject: [PATCH 2/4] QScrollBar Fix Horizontal --- src/qt/res/css/drkblue.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/res/css/drkblue.css b/src/qt/res/css/drkblue.css index d7b450094d..5dccfeb31d 100755 --- a/src/qt/res/css/drkblue.css +++ b/src/qt/res/css/drkblue.css @@ -315,7 +315,7 @@ height:3px; background:#fff; } -QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { /* Remove Up and Down Arrows from UI */ +QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical, QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { /* Remove Up, Down, Left, Right Arrows from UI */ width:0px; height:0px; } From 2efd85af0d4e5da9065a277419c03d3a302d1dea Mon Sep 17 00:00:00 2001 From: snogcel Date: Sun, 12 Apr 2015 12:43:04 -0600 Subject: [PATCH 3/4] QScrollBar Arrow Enhancement --- src/qt/dash.qrc | 2 + src/qt/res/css/drkblue.css | 78 +++++++++++++----- src/qt/res/images/drkblue_leftArrow_small.png | Bin 0 -> 15770 bytes .../res/images/drkblue_rightArrow_small.png | Bin 0 -> 15770 bytes 4 files changed, 60 insertions(+), 20 deletions(-) create mode 100644 src/qt/res/images/drkblue_leftArrow_small.png create mode 100644 src/qt/res/images/drkblue_rightArrow_small.png diff --git a/src/qt/dash.qrc b/src/qt/dash.qrc index 6ab3246935..a2571bffae 100755 --- a/src/qt/dash.qrc +++ b/src/qt/dash.qrc @@ -55,6 +55,8 @@ res/images/drkblue_downArrow.png res/images/drkblue_downArrow_small.png res/images/drkblue_upArrow_small.png + res/images/drkblue_leftArrow_small.png + res/images/drkblue_rightArrow_small.png res/images/drkblue_qtreeview_selected.png res/images/drkblue_walletFrame_bg.png res/images/drkblue_walletFrame.png diff --git a/src/qt/res/css/drkblue.css b/src/qt/res/css/drkblue.css index 5dccfeb31d..4e9d8d2310 100755 --- a/src/qt/res/css/drkblue.css +++ b/src/qt/res/css/drkblue.css @@ -273,23 +273,21 @@ color:#333; } QScrollBar { /* Scroll Bar */ -background-color:#ffffff; + } QScrollBar:vertical { /* Vertical Scroll Bar Attributes */ -border:1px solid #818181; -border-left:0px; -background:#333; -width:17px; -margin: 0px 0px 0px 0px; +border:0; +background:#ffffff; +width:18px; +margin: 18px 0px 18px 0px; } QScrollBar:horizontal { /* Horizontal Scroll Bar Attributes */ -border:1px solid #818181; -border-top:0px; -background:#333; -height:17px; -margin: 0px 0px 0px 0px; +border:0; +background:#ffffff; +height:18px; +margin: 0px 18px 0px 18px; } @@ -303,23 +301,63 @@ background:#e0e0e0; min-width:10px; } - QScrollBar::add-page, QScrollBar::sub-page { /* Scroll Bar Background */ background:#F8F6F6; } -QScrollBar:up-arrow, QScrollBar:down-arrow { /* Up and Down Arrows */ -border:2px solid #333; -width:3px; -height:3px; -background:#fff; +QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical, QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { /* Define Arrow Button Dimensions */ +background-color:#F8F6F6; +border: 1px solid #f2f0f0; +width:16px; +height:16px; } -QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical, QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { /* Remove Up, Down, Left, Right Arrows from UI */ -width:0px; -height:0px; +QScrollBar::add-line:vertical:pressed, QScrollBar::sub-line:vertical:pressed, QScrollBar::add-line:horizontal:pressed, QScrollBar::sub-line:horizontal:pressed { +background-color:#e0e0e0; } +QScrollBar::sub-line:vertical { /* Vertical - top button position */ +subcontrol-position:top; +subcontrol-origin: margin; +} + +QScrollBar::add-line:vertical { /* Vertical - bottom button position */ +subcontrol-position:bottom; +subcontrol-origin: margin; +} + +QScrollBar::sub-line:horizontal { /* Vertical - left button position */ +subcontrol-position:left; +subcontrol-origin: margin; +} + +QScrollBar::add-line:horizontal { /* Vertical - right button position */ +subcontrol-position:right; +subcontrol-origin: margin; +} + +QScrollBar:up-arrow, QScrollBar:down-arrow, QScrollBar:left-arrow, QScrollBar:right-arrow { /* Arrows Icon */ +width:10px; +height:10px; +} + +QScrollBar:up-arrow { +background-image: url(':/images/drkblue_upArrow_small'); +} + +QScrollBar:down-arrow { +background-image: url(':/images/drkblue_downArrow_small'); +} + +QScrollBar:left-arrow { +background-image: url(':/images/drkblue_leftArrow_small'); +} + +QScrollBar:right-arrow { +background-image: url(':/images/drkblue_rightArrow_small'); +} + + /*******************************************************/ /* DIALOG BOXES */ diff --git a/src/qt/res/images/drkblue_leftArrow_small.png b/src/qt/res/images/drkblue_leftArrow_small.png new file mode 100644 index 0000000000000000000000000000000000000000..203c0e0d14636e621371ccbbe5a7cb20dd0c2797 GIT binary patch literal 15770 zcmeI3&yU+g6vt-~La>dDt5aNK45J-SPy(7el3qpt!=Sm=P;V+;Z5J!aQ^2SbL?<5)a&;t@s-`&3Q!r9exs|ca9Tbu12xYPRT!w96_+3&Q4+HQ*2fkk7?K!E2w4>QI8P_nFb>u}8c0f@X<3Q1hsNX(X@ck!iPmosFJ73+v1fULgK&_5c5HT(_rBFST09@|2#r z=6a4lik_`2Y)H0nvTUS{W733$ZOW=4Yx=IHS*8kWTUN`kymLuXPbNplcii6Lq8yr~ zYxx{GPc{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JR`Go=l&TZh6)|TSy=spCGnpf&6577*(sP+0|l4p`>Uj zgwT>wr506copQC>)jFhVc9M=VV$&T_-#MW6s_*rqT|Y4WfU?cBluLHg z&h+4$#d4`qD^!|=l~qDkO4Ulau&h;!%dJbzRlNqYJC&L~4~W-eHw-lyJHu+jxW~%X ze^bt+rpglx=}^&1hsk)+ci^Bmdl^=!^X2)SL*#6U%tOR6Yfb<=>M+wk8#g;{uhLs5 zTN6jmIpxGmrUwo=!?f5z-Uv*XT*f`qmOfOR!8(cqX3S|vFA!VP%SxH(HN~vJPOX`w zqY$%b5o%kcTr4E|ne_R640oxE4}k3Ejh`fnnlBP~-Ee67ba@B%$Z5`|SoLJue0giv zba$xTP?M1*4LGH)vZ?Di|HYX*-BC0(@py>o>i8ebTs)sAw_6<%L9k@GnHEm2$*3*N#>GeDx{+(!}SXXB?XR_EoIy;$Qk(<$WCUteH4aaY@bGx@6 z#a9X%Tqj!Z!sjJ|E;2xDXJ&DRA-mAg{oM zfbdO$i_Zsn1ug`HZwg#|KFBL@As~EH;NtT^UV#e%;hO>%pAYg1TnGr?6u9_&kXPVB zK=`J>#pi>(0v7_pHw7*}ALJFd5D>m8aPj#dufT&j)!0E(C;c3S4|X$SZIm zAbeBc;`2dXfeQiQn*tY~5Aq6J2ngR4xcGdKSKvZG_@=iC1-Ls01fz8TCP)-DaEoBwI1N%oPpD_o%vVlK=llAaB f4q`UU#PRXMwe#oB{&4U*Ygk{o()#4m&D;L~ozAJJ literal 0 HcmV?d00001 From 3fa77045a753020d01311e6a4de9431ef8461c1a Mon Sep 17 00:00:00 2001 From: crowning- Date: Mon, 13 Apr 2015 22:28:32 +0200 Subject: [PATCH 4/4] Missing resources add to Qt-makefile Should build now --- src/qt/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qt/Makefile.am b/src/qt/Makefile.am index d90081dec5..18cb16f2d1 100755 --- a/src/qt/Makefile.am +++ b/src/qt/Makefile.am @@ -287,6 +287,8 @@ RES_IMAGES = \ res/images/drkblue_downArrow.png \ res/images/drkblue_downArrow_small.png \ res/images/drkblue_upArrow_small.png \ + res/images/drkblue_leftArrow_small.png \ + res/images/drkblue_rightArrow_small.png \ res/images/drkblue_qtreeview_selected.png \ res/images/drkblue_walletFrame_bg.png \ res/images/drkblue_walletFrame.png