KMyMoneyRegister::StdTransactionScheduled Class Reference

#include <scheduledtransaction.h>

Inheritance diagram for KMyMoneyRegister::StdTransactionScheduled:

KMyMoneyRegister::StdTransaction KMyMoneyRegister::Transaction KMyMoneyRegister::RegisterItem
Collaboration diagram for KMyMoneyRegister::StdTransactionScheduled:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

unsigned int m_drawCounter


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Reimplemented from KMyMoneyRegister::StdTransaction.

virtual bool KMyMoneyRegister::StdTransactionScheduled::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.

bool KMyMoneyRegister::StdTransactionScheduled::isSelectable ( void   )  const [inline, virtual]

Reimplemented from KMyMoneyRegister::Transaction.

bool KMyMoneyRegister::StdTransactionScheduled::canHaveFocus ( void   )  const [inline, virtual]

Reimplemented from KMyMoneyRegister::Transaction.

virtual bool KMyMoneyRegister::StdTransactionScheduled::isScheduled ( void   )  const [inline, virtual]

Reimplemented from KMyMoneyRegister::Transaction.

virtual int KMyMoneyRegister::StdTransactionScheduled::sortSamePostDate ( void   )  const [inline, virtual]

Reimplemented from KMyMoneyRegister::Transaction.


Member Data Documentation


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

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