KForecastView Class Reference

#include <kforecastview.h>

Inheritance diagram for KForecastView:

KForecastViewDecl QWidget
Collaboration diagram for KForecastView:

Collaboration graph

List of all members.

Public Slots

void slotLoadForecast (void)
void slotManualForecast (void)

Public Member Functions

 KForecastView (QWidget *parent=0, const char *name=0)
virtual ~KForecastView ()
void show (void)

Protected Types

enum  ForecastViewTab {
  SummaryView = 0, ListView, AdvancedView, BudgetView,
  ChartView, MaxViewTabs

Protected Slots

void slotTabChanged (QWidget *)
QValueList< MyMoneyPricegetAccountPrices (const MyMoneyAccount &acc)

Protected Member Functions

void loadForecast (ForecastViewTab tab)
void loadListView (void)
void loadSummaryView (void)
void loadAdvancedView (void)
void loadBudgetView (void)
void loadChartView (void)
void loadForecastSettings (void)

Protected Attributes

QMap< QString, QString > m_nameIdx

Private Member Functions

void addAssetLiabilityRows (const MyMoneyForecast &forecast)
void addIncomeExpenseRows (const MyMoneyForecast &forecast)
void addTotalRow (KMyMoneyAccountTreeForecast *forecastList, const MyMoneyForecast &forecast)
bool includeAccount (MyMoneyForecast &forecast, const MyMoneyAccount &acc)
void loadAccounts (MyMoneyForecast &forecast, const MyMoneyAccount &account, KMyMoneyAccountTreeForecastItem *parentItem, int forecastType)

Private Attributes

bool m_needReload [MaxViewTabs]

Detailed Description

Alvaro Soliverez This class implements the forecast 'view'.

Member Enumeration Documentation


Constructor & Destructor Documentation

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

virtual KForecastView::~KForecastView (  )  [virtual]

Member Function Documentation

void KForecastView::show ( void   ) 

void KForecastView::slotLoadForecast ( void   )  [slot]

void KForecastView::slotManualForecast ( void   )  [slot]

void KForecastView::loadForecast ( ForecastViewTab  tab  )  [protected]

This method loads the forecast view.

void KForecastView::loadListView ( void   )  [protected]

This method loads the detailed view

void KForecastView::loadSummaryView ( void   )  [protected]

This method loads the summary view

void KForecastView::loadAdvancedView ( void   )  [protected]

This method loads the advanced view

void KForecastView::loadBudgetView ( void   )  [protected]

This method loads the budget view

void KForecastView::loadChartView ( void   )  [protected]

This method loads the budget view

void KForecastView::loadForecastSettings ( void   )  [protected]

This method loads the settings from user configuration

void KForecastView::slotTabChanged ( QWidget  )  [protected, slot]

QValueList<MyMoneyPrice> KForecastView::getAccountPrices ( const MyMoneyAccount acc  )  [protected, slot]

Get the list of prices for an account This is used later to create an instance of KMyMoneyAccountTreeForecastItem

void KForecastView::addAssetLiabilityRows ( const MyMoneyForecast forecast  )  [private]

void KForecastView::addIncomeExpenseRows ( const MyMoneyForecast forecast  )  [private]

void KForecastView::addTotalRow ( KMyMoneyAccountTreeForecast forecastList,
const MyMoneyForecast forecast 
) [private]

bool KForecastView::includeAccount ( MyMoneyForecast forecast,
const MyMoneyAccount acc 
) [private]

void KForecastView::loadAccounts ( MyMoneyForecast forecast,
const MyMoneyAccount account,
KMyMoneyAccountTreeForecastItem parentItem,
int  forecastType 
) [private]

Member Data Documentation

QMap<QString, QString> KForecastView::m_nameIdx [protected]

bool KForecastView::m_needReload[MaxViewTabs] [private]

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

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