summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kreportconfigurationfilterdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kreportconfigurationfilterdlg.h')
-rw-r--r--kmymoney2/dialogs/kreportconfigurationfilterdlg.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/kmymoney2/dialogs/kreportconfigurationfilterdlg.h b/kmymoney2/dialogs/kreportconfigurationfilterdlg.h
new file mode 100644
index 0000000..56e398d
--- /dev/null
+++ b/kmymoney2/dialogs/kreportconfigurationfilterdlg.h
@@ -0,0 +1,78 @@
+/***************************************************************************
+ kreportconfigurationdlg.h - description
+ -------------------
+ begin : Mon Jun 21 2004
+ copyright : (C) 2000-2004 by Michael Edwardes
+ email : mte@users.sourceforge.net
+ Javier Campos Morales <javi_c@users.sourceforge.net>
+ Felix Rodriguez <frodriguez@users.sourceforge.net>
+ John C <thetacoturtle@users.sourceforge.net>
+ Thomas Baumgart <ipwizard@users.sourceforge.net>
+ Kevin Tambascio <ktambascio@users.sourceforge.net>
+ Ace Jones <ace.j@hotpop.com>
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef KREPORTCONFIGURATIONFILTERDLG_H
+#define KREPORTCONFIGURATIONFILTERDLG_H
+
+#include <qvaluevector.h>
+
+#include "../dialogs/kfindtransactiondlg.h"
+#include "../mymoney/mymoneyreport.h"
+#include "../mymoney/mymoneybudget.h"
+
+class kMyMoneyReportConfigTab1Decl;
+class kMyMoneyReportConfigTab2Decl;
+class kMyMoneyReportConfigTab3Decl;
+class kMyMoneyReportConfigTabChartDecl;
+class MyMoneyBudget;
+
+/**
+ * @author Ace Jones
+ */
+class KReportConfigurationFilterDlg : public KFindTransactionDlg
+{
+Q_OBJECT
+public:
+ KReportConfigurationFilterDlg(MyMoneyReport report, QWidget *parent = 0, const char *name = 0);
+ ~KReportConfigurationFilterDlg();
+
+ const MyMoneyReport& getConfig(void) const { return m_currentState; }
+
+protected:
+ kMyMoneyReportConfigTab1Decl* m_tab1;
+ kMyMoneyReportConfigTab2Decl* m_tab2;
+ kMyMoneyReportConfigTab3Decl* m_tab3;
+ kMyMoneyReportConfigTabChartDecl* m_tabChart;
+
+ MyMoneyReport m_initialState;
+ MyMoneyReport m_currentState;
+
+protected slots:
+ void slotRowTypeChanged(int);
+ void slotColumnTypeChanged(int);
+ void slotReset(void);
+ void slotSearch(void);
+ void slotShowHelp(void);
+ /**
+ * This is to enable/disable the check to Include Transfers based on whether Categories are filtered or not.
+ * This is because if Categories are filtered, transfers will not be included anyway
+ */
+ void slotUpdateCheckTransfers(void);
+
+ virtual void slotDateChanged(void);
+
+private:
+ QValueVector<MyMoneyBudget> m_budgets;
+};
+
+#endif