KFindTransactionDlg Class Reference

#include <kfindtransactiondlg.h>

Inheritance diagram for KFindTransactionDlg:

KFindTransactionDlgDecl QDialog KReportConfigurationFilterDlg
Collaboration diagram for KFindTransactionDlg:

Collaboration graph

List of all members.

Public Slots

void show (void)


void transactionSelected (const QString &accountId, const QString &transactionId)
void selectionEmpty (bool)

Public Member Functions

 KFindTransactionDlg (QWidget *parent=0, const char *name=0)
 ~KFindTransactionDlg ()
virtual bool eventFilter (QObject *o, QEvent *e)

Protected Types

enum  opTypeE { addAccountToFilter = 0, addCategoryToFilter, addPayeeToFilter }

Protected Slots

virtual void slotReset (void)
virtual void slotSearch (void)
virtual void slotShowHelp (void)
void slotUpdateSelections (void)
virtual void slotDateRangeChanged (int)
virtual void slotDateChanged (void)
virtual void slotAmountSelected (void)
virtual void slotAmountRangeSelected (void)
virtual void slotSelectAllPayees (void)
virtual void slotDeselectAllPayees (void)
virtual void slotNrSelected (void)
virtual void slotNrRangeSelected (void)
void slotRefreshView (void)
void slotSelectTransaction (void)
void slotRightSize (void)
void slotSortOptions (void)

Protected Member Functions

void resizeEvent (QResizeEvent *)
void setupCategoriesPage (void)
void setupDatePage (void)
void setupAccountsPage (void)
void setupAmountPage (void)
void setupPayeesPage (void)
void setupDetailsPage (void)
void setupFilter (void)
void selectAllItems (QListView *view, const bool state)
void selectAllSubItems (QListViewItem *item, const bool state)
void selectItems (QListView *view, const QStringList &list, const bool state)
void selectSubItems (QListViewItem *item, const QStringList &list, const bool state)
void loadPayees (void)
void loadView (void)
bool allItemsSelected (const QListView *view) const
bool allItemsSelected (const QListViewItem *item) const
void scanCheckListItems (const QListView *view, const opTypeE op)
void scanCheckListItems (const QListViewItem *item, const opTypeE op)
void addItemToFilter (const opTypeE op, const QString &id)

Protected Attributes

QDate m_startDates [MyMoneyTransactionFilter::dateOptionCount]
QDate m_endDates [MyMoneyTransactionFilter::dateOptionCount]
QValueList< QPair
< MyMoneyTransaction,
MyMoneySplit > > 
MyMoneyTransactionFilter m_filter
QMap< QWidget *, QString > m_helpAnchor
bool m_needReload

Detailed Description

Thomas Baumgart

Member Enumeration Documentation

enum KFindTransactionDlg::opTypeE [protected]


Constructor & Destructor Documentation

KFindTransactionDlg::KFindTransactionDlg ( QWidget parent = 0,
const char *  name = 0 

KFindTransactionDlg::~KFindTransactionDlg (  )  [inline]

Member Function Documentation

virtual bool KFindTransactionDlg::eventFilter ( QObject o,
QEvent *  e 
) [virtual]

void KFindTransactionDlg::show ( void   )  [slot]

void KFindTransactionDlg::resizeEvent ( QResizeEvent *   )  [protected]

virtual void KFindTransactionDlg::slotReset ( void   )  [protected, virtual, slot]

Reimplemented in KReportConfigurationFilterDlg.

virtual void KFindTransactionDlg::slotSearch ( void   )  [protected, virtual, slot]

Reimplemented in KReportConfigurationFilterDlg.

virtual void KFindTransactionDlg::slotShowHelp ( void   )  [protected, virtual, slot]

This slot opens the detailed help page in khelpcenter. The anchor for the information is taken from m_helpAnchor.

Reimplemented in KReportConfigurationFilterDlg.

void KFindTransactionDlg::slotUpdateSelections ( void   )  [protected, slot]

virtual void KFindTransactionDlg::slotDateRangeChanged ( int   )  [protected, virtual, slot]

virtual void KFindTransactionDlg::slotDateChanged ( void   )  [protected, virtual, slot]

Reimplemented in KReportConfigurationFilterDlg.

virtual void KFindTransactionDlg::slotAmountSelected ( void   )  [protected, virtual, slot]

virtual void KFindTransactionDlg::slotAmountRangeSelected ( void   )  [protected, virtual, slot]

virtual void KFindTransactionDlg::slotSelectAllPayees ( void   )  [protected, virtual, slot]

virtual void KFindTransactionDlg::slotDeselectAllPayees ( void   )  [protected, virtual, slot]

virtual void KFindTransactionDlg::slotNrSelected ( void   )  [protected, virtual, slot]

virtual void KFindTransactionDlg::slotNrRangeSelected ( void   )  [protected, virtual, slot]

void KFindTransactionDlg::slotRefreshView ( void   )  [protected, slot]

void KFindTransactionDlg::slotSelectTransaction ( void   )  [protected, slot]

This slot selects the current selected transaction/split and emits the signal transactionSelected(const QString& accountId, const QString& transactionId)

void KFindTransactionDlg::slotRightSize ( void   )  [protected, slot]

void KFindTransactionDlg::slotSortOptions ( void   )  [protected, slot]

void KFindTransactionDlg::transactionSelected ( const QString &  accountId,
const QString &  transactionId 
) [signal]

void KFindTransactionDlg::selectionEmpty ( bool   )  [signal]

This signal is sent out when no selection has been made. It is used to control the state of the Search button.

void KFindTransactionDlg::setupCategoriesPage ( void   )  [protected]

void KFindTransactionDlg::setupDatePage ( void   )  [protected]

void KFindTransactionDlg::setupAccountsPage ( void   )  [protected]

void KFindTransactionDlg::setupAmountPage ( void   )  [protected]

void KFindTransactionDlg::setupPayeesPage ( void   )  [protected]

void KFindTransactionDlg::setupDetailsPage ( void   )  [protected]

void KFindTransactionDlg::setupFilter ( void   )  [protected]

void KFindTransactionDlg::selectAllItems ( QListView *  view,
const bool  state 
) [protected]

void KFindTransactionDlg::selectAllSubItems ( QListViewItem item,
const bool  state 
) [protected]

void KFindTransactionDlg::selectItems ( QListView *  view,
const QStringList &  list,
const bool  state 
) [protected]

void KFindTransactionDlg::selectSubItems ( QListViewItem item,
const QStringList &  list,
const bool  state 
) [protected]

void KFindTransactionDlg::loadPayees ( void   )  [protected]

This method loads the m_payeesView with the payees name found in the engine.

void KFindTransactionDlg::loadView ( void   )  [protected]

This method loads the register with the matching transactions

bool KFindTransactionDlg::allItemsSelected ( const QListView *  view  )  const [protected]

This method returns information about the selection state of the items in the m_accountsView.

view pointer to the listview to scan
Return values:
true if all items in the view are marked
false if at least one item is not marked
If the view contains no items the method returns true.

bool KFindTransactionDlg::allItemsSelected ( const QListViewItem item  )  const [protected]

void KFindTransactionDlg::scanCheckListItems ( const QListView *  view,
const opTypeE  op 
) [protected]

void KFindTransactionDlg::scanCheckListItems ( const QListViewItem item,
const opTypeE  op 
) [protected]

void KFindTransactionDlg::addItemToFilter ( const opTypeE  op,
const QString &  id 
) [protected]

Member Data Documentation

QDate KFindTransactionDlg::m_startDates[MyMoneyTransactionFilter::dateOptionCount] [protected]

QDate KFindTransactionDlg::m_endDates[MyMoneyTransactionFilter::dateOptionCount] [protected]

This member holds a list of all transactions matching the filter criteria

The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:07:21 2011 for KMyMoney by  doxygen 1.5.6