diff options
| author | Calvin Morrison <calvin@pobox.com> | 2025-12-27 16:04:48 -0500 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2025-12-27 16:04:48 -0500 |
| commit | 5e9b299dfe95a7f99f029802089c047a392eee3a (patch) | |
| tree | 164c14e8f4e5a8161338f94463ef4df7b63519bd /cashflow.h | |
| parent | 5305661f325ea84bbbc9c8fc7b6f2a4813a9147d (diff) | |
WIP: occurrence_key model before refactoring to persistent projections
Diffstat (limited to 'cashflow.h')
| -rw-r--r-- | cashflow.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -34,6 +34,8 @@ private slots: void onOpenFile(); void onQuit(); void onPreferences(); + void onRecurringRuleChanged(); + void onTransactionDateChanged(); private: Ui::CashFlow *ui; @@ -44,6 +46,7 @@ private: QFont currentAmountFont; int weekStartDay; QString currentFilePath; + Transaction currentProjectedTransaction; // For converting projections to actuals enum PeriodType { Daily, @@ -71,5 +74,8 @@ private: void loadSettings(); QString formatCurrency(double amount) const; bool openDatabase(const QString &filePath); + void populateRecurringRulesCombo(); + void updateOccurrenceKey(); + QString generateOccurrenceKey(const QDate &date, RecurrenceFrequency frequency) const; }; #endif // CASHFLOW_H |
