mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
transaction status icons
This commit is contained in:
parent
cf450e1b4c
commit
58557b5aff
5 changed files with 6 additions and 3 deletions
|
@ -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>
|
||||
|
|
BIN
src/qt/res/icons/transaction0.png
Normal file
BIN
src/qt/res/icons/transaction0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 690 B |
BIN
src/qt/res/icons/transaction1.png
Normal file
BIN
src/qt/res/icons/transaction1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 969 B |
BIN
src/qt/res/icons/transaction2.png
Normal file
BIN
src/qt/res/icons/transaction2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 413 B |
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue