From 5305661f325ea84bbbc9c8fc7b6f2a4813a9147d Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sat, 27 Dec 2025 15:25:36 -0500 Subject: v.01 --- cashflow.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'cashflow.h') diff --git a/cashflow.h b/cashflow.h index 9de01ae..adb0494 100644 --- a/cashflow.h +++ b/cashflow.h @@ -23,7 +23,6 @@ private slots: void onDateRangeChanged(); void onTransactionSelected(); void onSaveTransaction(); - void onTransactionFieldChanged(); void onNewTransaction(); void onDeleteTransaction(); void onRecurringSelected(); @@ -31,6 +30,10 @@ private slots: void onNewRecurring(); void onDeleteRecurring(); void onPeriodChanged(); + void onNewFile(); + void onOpenFile(); + void onQuit(); + void onPreferences(); private: Ui::CashFlow *ui; @@ -39,6 +42,8 @@ private: int currentRecurringId; double startingBalance; QFont currentAmountFont; + int weekStartDay; + QString currentFilePath; enum PeriodType { Daily, @@ -64,9 +69,7 @@ private: void insertPeriodEndRow(const QString &label, double balance, const QMap &accountBalances); void updateAmountColors(); void loadSettings(); - void applySettings(); - void onSaveSettings(); - void onChooseAmountFont(); QString formatCurrency(double amount) const; + bool openDatabase(const QString &filePath); }; #endif // CASHFLOW_H -- cgit v1.2.3