From d4b64ae55178ab030fffba16bbb11aa6d82aaa7f Mon Sep 17 00:00:00 2001 From: defnax Date: Tue, 8 Oct 2013 13:58:56 +0000 Subject: [PATCH] Added a default stylesheet for the send button git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6815 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/images.qrc | 3 +++ retroshare-gui/src/gui/images/btn_green.png | Bin 0 -> 392 bytes .../src/gui/images/btn_green_hover.png | Bin 0 -> 399 bytes .../src/gui/images/btn_green_pressed.png | Bin 0 -> 454 bytes .../src/gui/qss/stylesheet/Standard.qss | 19 ++++++++++++++++++ 5 files changed, 22 insertions(+) create mode 100644 retroshare-gui/src/gui/images/btn_green.png create mode 100644 retroshare-gui/src/gui/images/btn_green_hover.png create mode 100644 retroshare-gui/src/gui/images/btn_green_pressed.png diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index 82832b17e..96a2ed415 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -44,6 +44,9 @@ images/btn_27_hover.png images/btn_blue.png images/btn_blue_hover.png + images/btn_green.png + images/btn_green_hover.png + images/btn_green_pressed.png images/connect_established.png images/connect_established_low.png images/connect_creating.png diff --git a/retroshare-gui/src/gui/images/btn_green.png b/retroshare-gui/src/gui/images/btn_green.png new file mode 100644 index 0000000000000000000000000000000000000000..2a07769890a77fabbb077c97706c555cff0a1391 GIT binary patch literal 392 zcmV;30eAk1P)a{?dpLP60L9(Eg zz`F@kj@~zKJTnH?2zGpRB$G6`B~B-$F3)0s%p~00-4w6IJ@4#qJ#-GX2db~o6WyrW zyZJyq%CAM5?2?=Lf$A%yNeUmrpP&x`X_7+q72M2U@KTrPiEahP3IIS)bW!S3(K11d zMWMQm0KjoMYf}AB->MJ+~)ir{N@3vQs%Gm|i8eYqJ{kErW ziiw@91_OZeeswrBJd&UBKdV~U$BFuFHwJ4u4gl8MMLu4DF;)$ilOS;7@V42s0|GWS z3B(EHP5TuYH;1?W>&;U;YXvWUSI%W7AN5e5?;P$xauEf62+%_fnaL*(;BNdjKFy!= my{67GlP|@nxNOyKJw5?ysf`F+h#N@&0000gXzFX+<+q>&Ok$IZa_&55+xVl1e^s?QAJ1*bs$(tu)XX36iG}l zO1vQ%$&EG7GyC@&*g_(`It;vycPo`R(L;0A2B?HkmG&lo&F?8VP!Il5*o)H`T@|&a zedte&-bUA|6r~5k;`P9<&TZ6d_Jy*qkq<9-3c?mRCOubyWmCG<$OKLW>&$JclPfmvl-NP?_O+*W zib*y39}ED-T6fB8z|4+YvZUQy6#xi_bQV9$T_?MMO&@a6K-SNo5_%>8 tcf}w-9Y2ltU6WNpFJFWFa-+IUeFOcni~ye(j-CJj002ovPDHLkV1gx>rVaoA literal 0 HcmV?d00001 diff --git a/retroshare-gui/src/gui/images/btn_green_pressed.png b/retroshare-gui/src/gui/images/btn_green_pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..fcce25d7ad33496e282e5614d565f5eb1076a1b7 GIT binary patch literal 454 zcmV;%0XhDOP)Px#1ZP1_K>z@;j|==^1poj5AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy8gxZibW?9;ba!ELWdKlNX>N2bPDNB8b~7$DE-^7j^FlWO00ACJ zL_t(IPqmc6YQjJehW|oJL<22CEgrpltPhY&@uZhM_AR{i+-ngulF;<(sn5{I=u;G* zVVxPXlDO0zNe%o7%l_Z~vzugqR#%D`bG*ag8!2p1hCDO8VT=dh1zWtrcJkN`KL~AEya(Ut})z75? zpMy^4ygj#q?>-W%m6xmq+4p}iuNLJuYO()#+A`SC7o(I9X9O#C1$a&AAyIXHatNx; zH{f2;IV7$WB41K;tJ9uVWh@C)N|K+e|5*k~kbTlgTr;@Mql;kvpa`ZmWblQ>;T^|C w6qE$9pSvyHo=CsJmRoPj20xf!)T-t00UMt){38d%r~m)}07*qoM6N<$f=KtbZ2$lO 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 10b50daf3..92787f7f0 100644 --- a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss +++ b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss @@ -184,6 +184,25 @@ ChatWidget QFrame#infoFrame { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2); } +ChatWidget QPushButton#sendButton { + border-image: url(:/images/btn_green.png) 4; + border-width: 4; + padding: 0px 6px; + font-size: 14px; + font: bold; + color: white; +} + +ChatWidget QPushButton#sendButton:hover { + border-image: url(:/images/btn_green_hover.png) 4; +} + +ChatWidget QPushButton#sendButton:pressed { + border-image: url(:/images/btn_green_pressed.png) 4; + + +} + /* Messages */ MessageComposer > QToolBar#toolBar {