diff options
| author | Calvin Morrison <calvin@pobox.com> | 2025-12-27 15:25:36 -0500 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2025-12-27 15:25:36 -0500 |
| commit | 5305661f325ea84bbbc9c8fc7b6f2a4813a9147d (patch) | |
| tree | b5ba5b08187c3b722afb05c486dcbfb4e2efc34f /cashflow.h | |
| parent | 88b069141faafd1c5aefda1573b2285a38885ce4 (diff) | |
v.01
Diffstat (limited to 'cashflow.h')
| -rw-r--r-- | cashflow.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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<QString, double> &accountBalances); void updateAmountColors(); void loadSettings(); - void applySettings(); - void onSaveSettings(); - void onChooseAmountFont(); QString formatCurrency(double amount) const; + bool openDatabase(const QString &filePath); }; #endif // CASHFLOW_H |
