diff options
author | Roy Badami <roy@gnomon.org.uk> | 2014-05-09 23:50:09 +0100 |
---|---|---|
committer | Roy Badami <roy@gnomon.org.uk> | 2014-05-17 14:49:02 +0100 |
commit | 7007402956579ace12d45cdcfae908802d3d6b6d (patch) | |
tree | ced19a39a086950f8078a24c6883f32dff4aee82 /src/qt/transactiontablemodel.h | |
parent | 9b4b3cf9cf8c657550c4da20e446d8c8ced720c0 (diff) |
Implement SI-style (thin space) thoudands separator
Diffstat (limited to 'src/qt/transactiontablemodel.h')
-rw-r--r-- | src/qt/transactiontablemodel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h index 333e6bc6ed..9ee375d787 100644 --- a/src/qt/transactiontablemodel.h +++ b/src/qt/transactiontablemodel.h @@ -8,6 +8,8 @@ #include <QAbstractTableModel> #include <QStringList> +#include "bitcoinunits.h" + class TransactionRecord; class TransactionTablePriv; class WalletModel; @@ -78,7 +80,7 @@ private: QString formatTxDate(const TransactionRecord *wtx) const; QString formatTxType(const TransactionRecord *wtx) const; QString formatTxToAddress(const TransactionRecord *wtx, bool tooltip) const; - QString formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true) const; + QString formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true, BitcoinUnits::SeparatorStyle separators=BitcoinUnits::separatorStandard, bool fAlign=false) const; QString formatTooltip(const TransactionRecord *rec) const; QVariant txStatusDecoration(const TransactionRecord *wtx) const; QVariant txAddressDecoration(const TransactionRecord *wtx) const; |