show last few transactions on overview page

This commit is contained in:
Wladimir J. van der Laan
2011-08-03 20:52:18 +02:00
parent 2566b30c38
commit a99ac8d3f4
13 changed files with 268 additions and 76 deletions

View File

@@ -26,6 +26,10 @@ public:
void setTypeFilter(quint32 modes);
void setMinAmount(qint64 minimum);
// Set maximum number of rows returned, -1 if unlimited
void setLimit(int limit);
int rowCount(const QModelIndex &parent = QModelIndex()) const;
protected:
bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const;
@@ -35,6 +39,7 @@ private:
QString addrPrefix;
quint32 typeFilter;
qint64 minAmount;
int limitRows;
signals: