KMyMoneyForecastListViewItem Class Reference

#include <kmymoneyforecastlistviewitem.h>

Inheritance diagram for KMyMoneyForecastListViewItem:

Collaboration diagram for KMyMoneyForecastListViewItem:

Collaboration graph

List of all members.

Public Member Functions

 KMyMoneyForecastListViewItem (QListView *parent, QListViewItem *after, bool isNegative)
 ~KMyMoneyForecastListViewItem ()
void setNegative (bool isNegative)
void setText (int column, const QString &text, const bool &negative=false)
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int alignment)

Private Attributes

bool m_negative
QMap< int, QColor > m_columnsColor

Detailed Description

This class implements a derived version of a KListViewItem that allows printing negative numbers in red

Alvaro Soliverez

Constructor & Destructor Documentation

KMyMoneyForecastListViewItem::KMyMoneyForecastListViewItem ( QListView *  parent,
QListViewItem after,
bool  isNegative 

KMyMoneyForecastListViewItem::~KMyMoneyForecastListViewItem (  ) 

Member Function Documentation

void KMyMoneyForecastListViewItem::setNegative ( bool  isNegative  ) 

void KMyMoneyForecastListViewItem::setText ( int  column,
const QString &  text,
const bool &  negative = false 

void KMyMoneyForecastListViewItem::paintCell ( QPainter *  p,
const QColorGroup &  cg,
int  column,
int  width,
int  alignment 

use my own paint method

Member Data Documentation

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

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