#include <stdtransactionmatched.h>


Public Member Functions | |
| StdTransactionMatched (Register *parent, const MyMoneyTransaction &transaction, const MyMoneySplit &split, int uniqueId) | |
| virtual | ~StdTransactionMatched () |
| virtual const char * | className (void) |
| virtual bool | paintRegisterCellSetup (QPainter *painter, int &row, int &col, QRect &cellRect, QRect &textRect, QColorGroup &cg, QBrush &brush) |
| virtual void | paintRegisterGrid (QPainter *painter, int row, int col, const QRect &r, const QColorGroup &cg) const |
| void | registerCellText (QString &txt, int &align, int row, int col, QPainter *painter=0) |
| int | numRowsRegister (bool expanded) const |
Private Attributes | |
| unsigned int | m_drawCounter |
Static Private Attributes | |
| static const int | m_additionalRows = 3 |
| KMyMoneyRegister::StdTransactionMatched::StdTransactionMatched | ( | Register * | parent, | |
| const MyMoneyTransaction & | transaction, | |||
| const MyMoneySplit & | split, | |||
| int | uniqueId | |||
| ) |
| virtual KMyMoneyRegister::StdTransactionMatched::~StdTransactionMatched | ( | ) | [inline, virtual] |
| virtual const char* KMyMoneyRegister::StdTransactionMatched::className | ( | void | ) | [inline, virtual] |
Reimplemented from KMyMoneyRegister::StdTransaction.
| virtual bool KMyMoneyRegister::StdTransactionMatched::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:
| 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.
| virtual void KMyMoneyRegister::StdTransactionMatched::paintRegisterGrid | ( | QPainter * | painter, | |
| int | row, | |||
| int | col, | |||
| const QRect & | r, | |||
| const QColorGroup & | cg | |||
| ) | const [virtual] |
Reimplemented from KMyMoneyRegister::Transaction.
| void KMyMoneyRegister::StdTransactionMatched::registerCellText | ( | QString & | txt, | |
| int & | align, | |||
| int | row, | |||
| int | col, | |||
| QPainter * | painter = 0 | |||
| ) | [virtual] |
Reimplemented from KMyMoneyRegister::StdTransaction.
| int KMyMoneyRegister::StdTransactionMatched::numRowsRegister | ( | bool | expanded | ) | const [inline, virtual] |
Provided for internal reasons. No API change. See RegisterItem::numRowsRegister(bool)
Reimplemented from KMyMoneyRegister::StdTransaction.
const int KMyMoneyRegister::StdTransactionMatched::m_additionalRows = 3 [static, private] |
unsigned int KMyMoneyRegister::StdTransactionMatched::m_drawCounter [private] |
1.5.6