Mercurial > hg > syntilista
comparison src/main.h @ 130:10c6bd84eb32
Add "total balance" information in the UI, which displays the total sum balance of all people.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 23 Aug 2017 16:53:05 +0300 |
parents | b51cee929416 |
children | 783417da6da3 |
comparison
equal
deleted
inserted
replaced
129:f6685c2eb75d | 130:10c6bd84eb32 |
---|---|
129 void saveSettings(); | 129 void saveSettings(); |
130 void setActivePerson(qint64 id); | 130 void setActivePerson(qint64 id); |
131 int addTransaction(qint64 id, double value, PersonInfo &info); | 131 int addTransaction(qint64 id, double value, PersonInfo &info); |
132 int addTransactionGUI(qint64 id, bool debt, double value); | 132 int addTransactionGUI(qint64 id, bool debt, double value); |
133 void updatePersonList(); | 133 void updatePersonList(); |
134 void updateTotalBalance(); | |
134 | 135 |
135 bool printDocumentPage(SLPageInfo &pinfo, const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer); | 136 bool printDocumentPage(SLPageInfo &pinfo, const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer); |
136 | 137 |
137 PersonSQLModel *model_People; | 138 PersonSQLModel *model_People; |
138 | 139 |