From fb51ae563d69944d8399d8b4705f2714d15a74c1 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sat, 3 Jan 2026 11:57:44 -0500 Subject: nu stuff --- cashflow.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cashflow.h') diff --git a/cashflow.h b/cashflow.h index 4bc0e7b..92be93d 100644 --- a/cashflow.h +++ b/cashflow.h @@ -4,6 +4,11 @@ #include #include #include +#include +#include +#include +#include +#include #include "database.h" #include "transaction.h" @@ -21,6 +26,7 @@ public: protected: void keyPressEvent(QKeyEvent *event) override; + bool eventFilter(QObject *watched, QEvent *event) override; private slots: void onDateRangeChanged(); @@ -64,11 +70,14 @@ private: int weekStartDay; QString currentFilePath; QMap> collapsedPeriods; // Track which period end rows are collapsed per period type + QChartView *chartView; + QChart *chart; void setupConnections(); void refreshView(); void refreshTransactionTable(); void refreshRecurringTable(); + void refreshCharts(); void calculateAndDisplayBalance(); QList getAllTransactionsInRange(); void clearTransactionEntry(); -- cgit v1.2.3