diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-03 17:47:00 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-03 17:47:58 +0200 |
commit | 07b6c2b90168a91964f096b83f1278c312321771 (patch) | |
tree | 052340b8b4af0b0df7b607e757da4edc1b2ff101 /src/qt/recentrequeststablemodel.h | |
parent | 29264a0a60fb18671ab43713f168765ab7609cd6 (diff) | |
parent | 8969828d069e4e55108618a493749535edc12ec7 (diff) | |
download | bitcoin-07b6c2b90168a91964f096b83f1278c312321771.tar.xz |
Merge pull request #4302
8969828 [Qt] New status bar Unit Display Control and related changes. (gubatron)
Diffstat (limited to 'src/qt/recentrequeststablemodel.h')
-rw-r--r-- | src/qt/recentrequeststablemodel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/recentrequeststablemodel.h b/src/qt/recentrequeststablemodel.h index d4cc5078aa..4f0b241259 100644 --- a/src/qt/recentrequeststablemodel.h +++ b/src/qt/recentrequeststablemodel.h @@ -91,12 +91,18 @@ public: public slots: void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + void updateDisplayUnit(); private: WalletModel *walletModel; QStringList columns; QList<RecentRequestEntry> list; int64_t nReceiveRequestsMaxId; + + /** Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table headers to react. */ + void updateAmountColumnTitle(); + /** Gets title for amount column including current display unit if optionsModel reference available. */ + QString getAmountTitle(); }; #endif |