diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-15 21:03:17 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-15 21:03:17 +0200 |
commit | 58557b5aff589cafbd02820d997bb37089b383eb (patch) | |
tree | 033128c6a94a50196fb3a073482b220a8f56df15 /src/qt | |
parent | cf450e1b4c5d11b2adeef8d9aa5aadde5c15a96b (diff) |
transaction status icons
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoin.qrc | 3 | ||||
-rw-r--r-- | src/qt/res/icons/transaction0.png | bin | 0 -> 690 bytes | |||
-rw-r--r-- | src/qt/res/icons/transaction1.png | bin | 0 -> 969 bytes | |||
-rw-r--r-- | src/qt/res/icons/transaction2.png | bin | 0 -> 413 bytes | |||
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 6 |
5 files changed, 6 insertions, 3 deletions
diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc index 8cf6c3252c..3fa123b364 100644 --- a/src/qt/bitcoin.qrc +++ b/src/qt/bitcoin.qrc @@ -10,6 +10,9 @@ <file alias="connect2">res/icons/connect2_16.png</file> <file alias="connect3">res/icons/connect3_16.png</file> <file alias="connect4">res/icons/connect4_16.png</file> + <file alias="transaction0">res/icons/transaction0.png</file> + <file alias="transaction1">res/icons/transaction1.png</file> + <file alias="transaction2">res/icons/transaction2.png</file> </qresource> <qresource prefix="/images"> <file alias="about">res/images/about.png</file> diff --git a/src/qt/res/icons/transaction0.png b/src/qt/res/icons/transaction0.png Binary files differnew file mode 100644 index 0000000000..6d698b350f --- /dev/null +++ b/src/qt/res/icons/transaction0.png diff --git a/src/qt/res/icons/transaction1.png b/src/qt/res/icons/transaction1.png Binary files differnew file mode 100644 index 0000000000..f19450aa9f --- /dev/null +++ b/src/qt/res/icons/transaction1.png diff --git a/src/qt/res/icons/transaction2.png b/src/qt/res/icons/transaction2.png Binary files differnew file mode 100644 index 0000000000..01bb558a10 --- /dev/null +++ b/src/qt/res/icons/transaction2.png diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index d46704a922..a84b45aee3 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -414,14 +414,14 @@ QVariant TransactionTableModel::formatTxDecoration(const TransactionRecord *wtx) case TransactionStatus::Unconfirmed: if(wtx->status.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); } |