comparison src/main.h @ 160:1c2f9d09e87b

Begin working on printing fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Sep 2017 11:27:38 +0300
parents 325e7590f93e
children 636a24c76232
comparison
equal deleted inserted replaced
159:d2905ee5ff9c 160:1c2f9d09e87b
163 int addTransactionGUI(qint64 id, bool debt, double value); 163 int addTransactionGUI(qint64 id, bool debt, double value);
164 void updatePersonList(); 164 void updatePersonList();
165 void updateMiscValues(); 165 void updateMiscValues();
166 void backupDatabase(); 166 void backupDatabase();
167 167
168 bool printDocumentPage(SLPageInfo &pinfo, const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer); 168 bool printDocumentPage(const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer);
169 169
170 PersonSQLModel *model_People; 170 PersonSQLModel *model_People;
171 171
172 public slots: 172 public slots:
173 void focusDebtEdit(); 173 void focusDebtEdit();
222 PersonInfo currPerson; 222 PersonInfo currPerson;
223 223
224 int peopleSortIndex; 224 int peopleSortIndex;
225 Qt::SortOrder peopleSortOrder; 225 Qt::SortOrder peopleSortOrder;
226 QString peopleFilter; 226 QString peopleFilter;
227
228 SLPageInfo pinfo;
227 }; 229 };
228 230
229 231
230 // 232 //
231 // Person edit / new person dialog 233 // Person edit / new person dialog