KMyMoneyTransactionForm::TransactionForm Class Reference

#include <transactionform.h>

Inheritance diagram for KMyMoneyTransactionForm::TransactionForm:

TransactionEditorContainer QTable
Collaboration diagram for KMyMoneyTransactionForm::TransactionForm:

Collaboration graph

List of all members.

Public Slots

void slotSetTransaction (KMyMoneyRegister::Transaction *item)


void newTransaction (KMyMoneyRegister::Action id)

Public Member Functions

 TransactionForm (QWidget *parent=0, const char *name=0)
virtual ~TransactionForm ()
void paintFocus (QPainter *, const QRect &)
QSize tableSize (void) const
QSize sizeHint (void) const
void adjustColumn (Column col)
void clear (void)
void paintCell (QPainter *painter, int row, int col, const QRect &r, bool selected, const QColorGroup &cg)
void resize (int col)
void arrangeEditWidgets (QMap< QString, QWidget * > &editWidgets, KMyMoneyRegister::Transaction *t)
void removeEditWidgets (QMap< QString, QWidget * > &editWidgets)
void tabOrder (QWidgetList &tabOrderWidgets, KMyMoneyRegister::Transaction *t) const
void setCurrentCell (int, int)
TabBartabBar (QWidget *parent=0)
void setupForm (const MyMoneyAccount &acc)
void enableTabBar (bool b)

Protected Slots

void resize (void)
void slotActionSelected (int)

Protected Member Functions

void drawContents (QPainter *p, int cx, int cy, int cw, int ch)
void contentsMousePressEvent (QMouseEvent *ev)
void contentsMouseMoveEvent (QMouseEvent *ev)
void contentsMouseReleaseEvent (QMouseEvent *ev)
void contentsMouseDoubleClickEvent (QMouseEvent *ev)
void keyPressEvent (QKeyEvent *ev)
bool focusNextPrevChild (bool next)

Protected Attributes

QColorGroup m_cellColorGroup

Detailed Description

Thomas Baumgart

Constructor & Destructor Documentation

KMyMoneyTransactionForm::TransactionForm::TransactionForm ( QWidget parent = 0,
const char *  name = 0 

virtual KMyMoneyTransactionForm::TransactionForm::~TransactionForm (  )  [inline, virtual]

Member Function Documentation

void KMyMoneyTransactionForm::TransactionForm::paintFocus ( QPainter *  ,
const QRect &   
) [inline]

Override the QTable member function to avoid display of focus

QSize KMyMoneyTransactionForm::TransactionForm::tableSize ( void   )  const

QSize KMyMoneyTransactionForm::TransactionForm::sizeHint ( void   )  const

void KMyMoneyTransactionForm::TransactionForm::adjustColumn ( Column  col  ) 

void KMyMoneyTransactionForm::TransactionForm::clear ( void   ) 

void KMyMoneyTransactionForm::TransactionForm::paintCell ( QPainter *  painter,
int  row,
int  col,
const QRect &  r,
bool  selected,
const QColorGroup &  cg 

void KMyMoneyTransactionForm::TransactionForm::resize ( int  col  ) 

void KMyMoneyTransactionForm::TransactionForm::arrangeEditWidgets ( QMap< QString, QWidget * > &  editWidgets,
KMyMoneyRegister::Transaction t 
) [virtual]

void KMyMoneyTransactionForm::TransactionForm::removeEditWidgets ( QMap< QString, QWidget * > &  editWidgets  )  [virtual]

void KMyMoneyTransactionForm::TransactionForm::tabOrder ( QWidgetList &  tabOrderWidgets,
KMyMoneyRegister::Transaction t 
) const [virtual]

void KMyMoneyTransactionForm::TransactionForm::setCurrentCell ( int  ,
) [inline]

reimplemented to prevent normal cell selection behavior

TabBar* KMyMoneyTransactionForm::TransactionForm::tabBar ( QWidget parent = 0  ) 

void KMyMoneyTransactionForm::TransactionForm::setupForm ( const MyMoneyAccount acc  ) 

void KMyMoneyTransactionForm::TransactionForm::enableTabBar ( bool  b  ) 

void KMyMoneyTransactionForm::TransactionForm::drawContents ( QPainter *  p,
int  cx,
int  cy,
int  cw,
int  ch 
) [protected]

reimplemented to support QWidget::WState_BlockUpdates

void KMyMoneyTransactionForm::TransactionForm::contentsMousePressEvent ( QMouseEvent *  ev  )  [inline, protected]

reimplemented to prevent normal mouse press behavior

void KMyMoneyTransactionForm::TransactionForm::contentsMouseMoveEvent ( QMouseEvent *  ev  )  [inline, protected]

reimplemented to prevent normal mouse move behavior

void KMyMoneyTransactionForm::TransactionForm::contentsMouseReleaseEvent ( QMouseEvent *  ev  )  [inline, protected]

reimplemented to prevent normal mouse release behavior

void KMyMoneyTransactionForm::TransactionForm::contentsMouseDoubleClickEvent ( QMouseEvent *  ev  )  [inline, protected]

reimplemented to prevent normal mouse double click behavior

void KMyMoneyTransactionForm::TransactionForm::keyPressEvent ( QKeyEvent *  ev  )  [inline, protected]

reimplemented to prevent normal keyboard behavior

bool KMyMoneyTransactionForm::TransactionForm::focusNextPrevChild ( bool  next  )  [protected]

Override logic and use standard QFrame behaviour

void KMyMoneyTransactionForm::TransactionForm::slotSetTransaction ( KMyMoneyRegister::Transaction item  )  [slot]

void KMyMoneyTransactionForm::TransactionForm::resize ( void   )  [protected, slot]

void KMyMoneyTransactionForm::TransactionForm::slotActionSelected ( int   )  [protected, slot]

Helper method to convert int into KMyMoneyRegister::Action

void KMyMoneyTransactionForm::TransactionForm::newTransaction ( KMyMoneyRegister::Action  id  )  [signal]

This signal is emitted when a user selects a tab. id contains the tab's id (e.g. KMyMoneyRegister::ActionDeposit)

Member Data Documentation

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

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