From dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 4 Jul 2011 22:38:03 +0000 Subject: Added kmymoney git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239792 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/dialogs/kreportconfigurationfilterdlg.h | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 kmymoney2/dialogs/kreportconfigurationfilterdlg.h (limited to 'kmymoney2/dialogs/kreportconfigurationfilterdlg.h') 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 + Felix Rodriguez + John C + Thomas Baumgart + Kevin Tambascio + Ace Jones + ***************************************************************************/ + +/*************************************************************************** + * * + * 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 + +#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 m_budgets; +}; + +#endif -- cgit v1.2.1