From 58557b5aff589cafbd02820d997bb37089b383eb Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Wed, 15 Jun 2011 21:03:17 +0200 Subject: [PATCH] transaction status icons --- src/qt/bitcoin.qrc | 3 +++ src/qt/res/icons/transaction0.png | Bin 0 -> 690 bytes src/qt/res/icons/transaction1.png | Bin 0 -> 969 bytes src/qt/res/icons/transaction2.png | Bin 0 -> 413 bytes src/qt/transactiontablemodel.cpp | 6 +++--- 5 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 src/qt/res/icons/transaction0.png create mode 100644 src/qt/res/icons/transaction1.png create mode 100644 src/qt/res/icons/transaction2.png diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc index 8cf6c325..3fa123b3 100644 --- a/src/qt/bitcoin.qrc +++ b/src/qt/bitcoin.qrc @@ -10,6 +10,9 @@ res/icons/connect2_16.png res/icons/connect3_16.png res/icons/connect4_16.png + res/icons/transaction0.png + res/icons/transaction1.png + res/icons/transaction2.png res/images/about.png diff --git a/src/qt/res/icons/transaction0.png b/src/qt/res/icons/transaction0.png new file mode 100644 index 0000000000000000000000000000000000000000..6d698b350f84df619837b7eee8775d187d605844 GIT binary patch literal 690 zcmV;j0!{siP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipb? z76b=55lgxN0013nR9JLFZ*6U5Zgc_CX>@2HM@dakWG-a~0006B zNkl4&6;bVJf3 zNpZPcHrI8{aU7eQo3q8mMN1}=2H4oxnC%OfO(#0g+jr0c6Qq0Q%R*>Bec;EI9pp= z0Aw;5rl+Ur>+6ewcfc#4d{u&zjg1Wpg1|h_vu3jyOL{4(znkAH!6EQ8olf6hUtdqw z>-F=2fq~b+lQ0awc9Wfdq?iPr0Yev@Z@>%SF>n%wq4j#CPCPh1K8}``mz|lJ8EUnf z59EP6!1b#}0LUI49kH^qLaWsRU}|d01qOj@!0A;9J_bR+=;$ax5HK<_((a#M{KX}H Y1CMG5vJObYvj6}907*qoM6N<$g4EL=(*OVf literal 0 HcmV?d00001 diff --git a/src/qt/res/icons/transaction1.png b/src/qt/res/icons/transaction1.png new file mode 100644 index 0000000000000000000000000000000000000000..f19450aa9fd8b77b8823793e5afd22fcbdadefb3 GIT binary patch literal 969 zcmV;)12+7LP)Px#24YJ`L;wH)0002_L%V+f000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipb? z6*34S^mzvW0013nR9JLFZ*6U5Zgc_CX>@2HM@dakWG-a~0009Z zNklAEoO|y~GEIikm}({@wVFi=HBvt!VG!I&Mk?Y)g_PpnrJ(IX z#f5^RD;II)CW2IOrIVKGN>a25rgdX%ut}QCosch+G`aVlbKVaZ)ncFhAD+$6;NPig zqCo$xR$jk4zcW66dw+B}%?B-nk5`kmCr?&q$Dey>`t-@}8Dr2g#smN`_hZHIau|*OC-Z3-) z1`5L_Vo7S3F0YQ;n@e{`B~S$}0OX;8pc3Gn0szXfMYStIVk1OQD0v__fT%L_+s0^| zZn>J0lpq2jfl)#P1?hzjE4)g)cn%LgLW4l4|0U~@Y|C zJTh~3thebkYCBCNXpDdeK`mGTX27$7*949d6q1PNsD1v`q2{ws^vqae(0cpz$EHS4 z9cu=O(p<}wO9_Q0a2mr&0;eSuTt<#EIf>I3#`>C{UwmrH7_{zV621R$Kdw}yl==%sUJ%Z3M00000NkvXXu0mjf-wLWK literal 0 HcmV?d00001 diff --git a/src/qt/res/icons/transaction2.png b/src/qt/res/icons/transaction2.png new file mode 100644 index 0000000000000000000000000000000000000000..01bb558a100e37e6985d700585a60bb38669ffc1 GIT binary patch literal 413 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg)Ha<~v<98h?X+R;_%#er@=ltB< z)VvZPmw~~#C^fMpHASI3vm`^o-P1Q9MK6^dDE`IM#WBR<^xn(1UM_|rZ4ce&Itg&U zW$|X_3g1x7+NE8 z`3rwieebz%j_^P0Q+bB*^Z9uh{1W9)&*)aXd#FHdPebvVkTYTRYo{`vU)0>`Rdqai zTI;6ho<~fz_x&S!6-$fqH^eqqM|3I1rrRdn)Kx3&|LAqANAa!M_pMSFl-vs1zDm_J z?|sjg6%}!qO-`!Hy6wxv$q8$umS;!tv)f1Jemf{CCwstatus.depth) { - return QIcon(":/icons/bitcoin"); + return QIcon(":/icons/transaction1"); } else { - return QIcon::fromTheme("stock_lock.png"); + return QIcon(":/icons/transaction0"); } case TransactionStatus::HaveConfirmations: - return QIcon::fromTheme("stock_lock-ok.png"); + return QIcon(":/icons/transaction2"); } return QColor(0,0,0); }