diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 22:38:03 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 22:38:03 +0000 |
commit | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (patch) | |
tree | 99e72842fe687baea16376a147619b6048d7e441 /kmymoney2/dialogs/kreportconfigurationfilterdlg.h | |
download | kmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.tar.gz kmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.zip |
Added kmymoney
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239792 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/kreportconfigurationfilterdlg.h')
-rw-r--r-- | kmymoney2/dialogs/kreportconfigurationfilterdlg.h | 78 |
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 |