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