#include <QDateTime>
#include <QtAlgorithms>
-const QString TransactionTableModel::Sent = "s";
-const QString TransactionTableModel::Received = "r";
-const QString TransactionTableModel::Other = "o";
-
// Credit and Debit columns are right-aligned as they contain numbers
static int column_alignments[] = {
Qt::AlignLeft|Qt::AlignVCenter,
AbsoluteAmountRole
} RoleIndex;
- /* TypeRole values */
- static const QString Sent;
- static const QString Received;
- static const QString Other;
-
int rowCount(const QModelIndex &parent) const;
int columnCount(const QModelIndex &parent) const;
QVariant data(const QModelIndex &index, int role) const;