work on transaction list model
This commit is contained in:
8
gui/include/guiutil.h
Normal file
8
gui/include/guiutil.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUIUTIL_H
|
||||
#define GUIUTIL_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
QString DateTimeStr(qint64 nTime);
|
||||
|
||||
#endif // GUIUTIL_H
|
||||
@@ -26,10 +26,11 @@ public:
|
||||
TypeRole = Qt::UserRole
|
||||
} RoleIndex;
|
||||
|
||||
/* Transaction type */
|
||||
/* TypeRole values */
|
||||
static const QString Sent;
|
||||
static const QString Received;
|
||||
static const QString Generated;
|
||||
static const QString Other;
|
||||
|
||||
int rowCount(const QModelIndex &parent) const;
|
||||
int columnCount(const QModelIndex &parent) const;
|
||||
|
||||
Reference in New Issue
Block a user