kplato
KPlato::DoubleListViewBase::MasterListItem Class Reference
List of all members.Detailed Description
Definition at line 119 of file kptdoublelistviewbase.h.
Public Member Functions | |
MasterListItem (QListView *parent, bool highlight=false) | |
MasterListItem (QListView *parent, QString text, bool highlight=false) | |
MasterListItem (QListViewItem *parent, bool highlight=false) | |
MasterListItem (QListViewItem *parent, QString text, bool highlight=false) | |
~MasterListItem () | |
void | createSlaveItems (QListView *lv, QListViewItem *after=0) |
void | slaveItemDeleted () |
void | setSlaveOpen (bool on) |
SlaveListItem * | slaveItem () const |
double | value () const |
void | setTotal (double tot) |
double | calcTotal () |
void | addToTotal (double v) |
void | setSlaveItem (int col, double value) |
void | setSlaveLimit (int col, double limit) |
void | setLimit (double limit) |
void | setHighlight (bool on) |
void | setSlaveHighlight (bool on) |
void | clearColumn (int col) |
void | calcSlaveItems () |
virtual double | calcSlaveItems (int col) |
virtual void | paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align) |
void | setFormat (int fieldwidth=0, char fmt='f', int prec=0) |
Protected Attributes | |
SlaveListItem * | m_slaveItem |
double | m_value |
double | m_limit |
bool | m_highlight |
QMap< int, double > | m_valueMap |
int | m_fieldwidth |
char | m_fmt |
int | m_prec |
Member Function Documentation
|
Creates slaveitems for myself and my children.
Definition at line 213 of file kptdoublelistviewbase.cc. |
The documentation for this class was generated from the following files: