Mercurial > hg > syntilista
comparison main.cpp @ 22:c23241a3e160
UI polishing.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Apr 2017 12:39:56 +0300 |
parents | 2ee61a6b78f8 |
children | 6e7ab784f7a4 |
comparison
equal
deleted
inserted
replaced
21:f4228fc37281 | 22:c23241a3e160 |
---|---|
168 | 168 |
169 // Read config | 169 // Read config |
170 readSettings(); | 170 readSettings(); |
171 | 171 |
172 ui->edit_Amount->setValidator(new QDoubleValidator(0, 1000, 2, this)); | 172 ui->edit_Amount->setValidator(new QDoubleValidator(0, 1000, 2, this)); |
173 | |
174 ui->button_AddDebt->setStyleSheet("background-color: #900; color: black;"); | |
175 ui->button_PayDebt->setStyleSheet("background-color: #090; color: black;"); | |
176 ui->button_PayFullDebt->setStyleSheet("background-color: #060; color: black;"); | |
173 | 177 |
174 // Setup person list filtering and sorting | 178 // Setup person list filtering and sorting |
175 peopleSortIndex = 1; | 179 peopleSortIndex = 1; |
176 peopleSortOrder = Qt::AscendingOrder; | 180 peopleSortOrder = Qt::AscendingOrder; |
177 peopleFilter = ""; | 181 peopleFilter = ""; |