Model for list of recently generated payment requests / fabcoin: URIs.
More...
#include <recentrequeststablemodel.h>
|
| | RecentRequestsTableModel (CWallet *wallet, WalletModel *parent) |
| |
| | ~RecentRequestsTableModel () |
| |
| const RecentRequestEntry & | entry (int row) const |
| |
| void | addNewRequest (const SendCoinsRecipient &recipient) |
| |
| void | addNewRequest (const std::string &recipient) |
| |
| void | addNewRequest (RecentRequestEntry &recipient) |
| |
|
| int | rowCount (const QModelIndex &parent) const |
| |
| int | columnCount (const QModelIndex &parent) const |
| |
| QVariant | data (const QModelIndex &index, int role) const |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
| |
| QModelIndex | index (int row, int column, const QModelIndex &parent) const |
| |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| |
|
| void | updateAmountColumnTitle () |
| | Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table headers to react. More...
|
| |
| QString | getAmountTitle () |
| | Gets title for amount column including current display unit if optionsModel reference available. More...
|
| |
Model for list of recently generated payment requests / fabcoin: URIs.
Part of wallet model.
Definition at line 58 of file recentrequeststablemodel.h.
| RecentRequestsTableModel::RecentRequestsTableModel |
( |
CWallet * |
wallet, |
|
|
WalletModel * |
parent |
|
) |
| |
|
explicit |
| RecentRequestsTableModel::~RecentRequestsTableModel |
( |
| ) |
|
| void RecentRequestsTableModel::addNewRequest |
( |
const std::string & |
recipient | ) |
|
| int RecentRequestsTableModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
| QVariant RecentRequestsTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
| Qt::ItemFlags RecentRequestsTableModel::flags |
( |
const QModelIndex & |
index | ) |
const |
| QString RecentRequestsTableModel::getAmountTitle |
( |
| ) |
|
|
private |
Gets title for amount column including current display unit if optionsModel reference available.
Definition at line 124 of file recentrequeststablemodel.cpp.
| QVariant RecentRequestsTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
| QModelIndex RecentRequestsTableModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
| bool RecentRequestsTableModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
| int RecentRequestsTableModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
| bool RecentRequestsTableModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
| void RecentRequestsTableModel::sort |
( |
int |
column, |
|
|
Qt::SortOrder |
order = Qt::AscendingOrder |
|
) |
| |
|
slot |
| void RecentRequestsTableModel::updateAmountColumnTitle |
( |
| ) |
|
|
private |
Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table headers to react.
Definition at line 117 of file recentrequeststablemodel.cpp.
| void RecentRequestsTableModel::updateDisplayUnit |
( |
| ) |
|
|
slot |
| QStringList RecentRequestsTableModel::columns |
|
private |
| int64_t RecentRequestsTableModel::nReceiveRequestsMaxId |
|
private |
The documentation for this class was generated from the following files: