5 #ifndef FABCOIN_QT_ADDRESSTABLEMODEL_H 6 #define FABCOIN_QT_ADDRESSTABLEMODEL_H 8 #include <QAbstractTableModel> 51 int rowCount(
const QModelIndex &parent)
const;
53 QVariant
data(
const QModelIndex &
index,
int role)
const;
54 bool setData(
const QModelIndex &
index,
const QVariant &value,
int role);
55 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const;
56 QModelIndex
index(
int row,
int column,
const QModelIndex &parent)
const;
57 bool removeRows(
int row,
int count,
const QModelIndex &parent = QModelIndex());
58 Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
64 QString
addRow(
const QString &
type,
const QString &label,
const QString &
address);
90 void updateEntry(
const QString &
address,
const QString &label,
bool isMine,
const QString &purpose,
int status);
95 #endif // FABCOIN_QT_ADDRESSTABLEMODEL_H AddressTableModel(CWallet *wallet, WalletModel *parent=0)
QModelIndex index(int row, int column, const QModelIndex &parent) const
Generating a new public key for a receiving address failed.
WalletModel * walletModel
int lookupAddress(const QString &address) const
Address already in address book.
static const QString Send
Specifies send address.
Wallet could not be unlocked to create new receiving address.
EditStatus
Return status of edit/insert operation.
int rowCount(const QModelIndex &parent) const
Qt model of the address book in the core.
EditStatus getEditStatus() const
QString addRow(const QString &type, const QString &label, const QString &address)
bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
QString labelForAddress(const QString &address) const
PlatformStyle::TableColorType type
QVariant data(const QModelIndex &index, int role) const
Interface to Fabcoin wallet from Qt view code.
static const QString Receive
Specifies receive address.
QVariant headerData(int section, Qt::Orientation orientation, int role) const
void emitDataChanged(int index)
Notify listeners that data changed.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
bool setData(const QModelIndex &index, const QVariant &value, int role)
struct evm_uint160be address(struct evm_env *env)
No changes were made during edit operation.
Qt::ItemFlags flags(const QModelIndex &index) const
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
Type of address (Send or Receive)
int columnCount(const QModelIndex &parent) const