aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-08-05 15:35:52 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-08-05 15:35:52 +0200
commit126185aaa70839dfbb14e56884b4747e75942ab4 (patch)
treeec0ca78a78ec79979325c94fb3a4a19379799b84 /src/qt/transactiontablemodel.h
parentffccb56914bd317c438bf055a32bc89dce690913 (diff)
improve tooltip over transactions
Diffstat (limited to 'src/qt/transactiontablemodel.h')
-rw-r--r--src/qt/transactiontablemodel.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h
index 0daa5f6aaa..17bfeccdb2 100644
--- a/src/qt/transactiontablemodel.h
+++ b/src/qt/transactiontablemodel.h
@@ -37,8 +37,6 @@ public:
AddressRole,
// Label of address related to transaction
LabelRole,
- // Absolute net amount of transaction, for filtering
- AbsoluteAmountRole,
// Net amount of transaction
AmountRole,
// Unique identifier
@@ -63,12 +61,13 @@ private:
QString lookupAddress(const std::string &address, bool tooltip) const;
QVariant addressColor(const TransactionRecord *wtx) const;
- QVariant formatTxStatus(const TransactionRecord *wtx) const;
- QVariant formatTxDate(const TransactionRecord *wtx) const;
+ QString formatTxStatus(const TransactionRecord *wtx) const;
+ QString formatTxDate(const TransactionRecord *wtx) const;
QString formatTxType(const TransactionRecord *wtx) const;
QString formatTxToAddress(const TransactionRecord *wtx, bool tooltip) const;
- QVariant formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true) const;
- QVariant formatTxDecoration(const TransactionRecord *wtx) const;
+ QString formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true) const;
+ QString formatTooltip(const TransactionRecord *rec) const;
+ QVariant txStatusDecoration(const TransactionRecord *wtx) const;
QVariant txAddressDecoration(const TransactionRecord *wtx) const;
private slots: