KMyMoneyRegister::InvestTransactionDownloaded Class Reference

#include <stdtransactiondownloaded.h>

Inheritance diagram for KMyMoneyRegister::InvestTransactionDownloaded:

KMyMoneyRegister::InvestTransaction KMyMoneyRegister::Transaction KMyMoneyRegister::RegisterItem
Collaboration diagram for KMyMoneyRegister::InvestTransactionDownloaded:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 InvestTransactionDownloaded (Register *parent, const MyMoneyTransaction &transaction, const MyMoneySplit &split, int uniqueId)
virtual ~InvestTransactionDownloaded ()
virtual const char * className (void)
virtual bool paintRegisterCellSetup (QPainter *painter, int &row, int &col, QRect &cellRect, QRect &textRect, QColorGroup &cg, QBrush &brush)
int numRowsRegister (void) const


Constructor & Destructor Documentation

KMyMoneyRegister::InvestTransactionDownloaded::InvestTransactionDownloaded ( Register parent,
const MyMoneyTransaction transaction,
const MyMoneySplit split,
int  uniqueId 
)

virtual KMyMoneyRegister::InvestTransactionDownloaded::~InvestTransactionDownloaded (  )  [inline, virtual]


Member Function Documentation

virtual const char* KMyMoneyRegister::InvestTransactionDownloaded::className ( void   )  [inline, virtual]

virtual bool KMyMoneyRegister::InvestTransactionDownloaded::paintRegisterCellSetup ( QPainter *  painter,
int &  row,
int &  col,
QRect &  cellRect,
QRect &  textRect,
QColorGroup &  cg,
QBrush &  brush 
) [virtual]

This method sets the general paramaters required for the painting of a cell in the register. These are:

  • background color (alternating)
  • background color (imported transaction)
  • background color (matched transaction)
  • background color (selected transaction)
  • cellRect (area covering the cell)
  • textRect (area covering the text)
  • color of the pen to do the painting of text and lines

Parameters:
painter pointer to the QPainter object
row vertical index of cell in register
col horizontal index of cell in register
cellRect ref to QRect object receiving the area information for the cell
textRect ref to QRect object receiving the area information for the text
cg ref to QColorGroup object receiving the color information to be used
brush ref to QBrush object receiveing the brush information to be used

Reimplemented from KMyMoneyRegister::Transaction.

int KMyMoneyRegister::InvestTransactionDownloaded::numRowsRegister ( void   )  const [inline, virtual]

Provided for internal reasons. No API change. See RegisterItem::numRowsRegister()

Reimplemented from KMyMoneyRegister::InvestTransaction.


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

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