diff main.h @ 2:edc1e8cf6e2c

Implement "pay debt in full" button.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 30 Mar 2017 03:44:38 +0300
parents fec4d0c461f2
children f2404a9987dc
line wrap: on
line diff
--- a/main.h	Thu Mar 30 03:27:08 2017 +0300
+++ b/main.h	Thu Mar 30 03:44:38 2017 +0300
@@ -115,7 +115,9 @@
 
     void on_button_AddDebt_clicked();
 
-    void on_button_SubDebt_clicked();
+    void on_button_PayDebt_clicked();
+
+    void on_button_PayFullDebt_clicked();
 
     void on_edit_PersonFilter_textChanged(const QString &arg1);
 
@@ -132,6 +134,8 @@
 
     TransactionSQLModel *model_Latest;
     qint64 personID;
+    double personBalance;
+
     int peopleSortIndex;
     Qt::SortOrder peopleSortOrder;
     QString peopleFilter;