KPlato::NodeItemPrivate Class Reference

List of all members.

Public Member Functions

 NodeItemPrivate (Task *n, QTreeWidget *parent)
 NodeItemPrivate (QString name, QTreeWidget *parent)
void setPriority (int col, int prio)
int priority (int col)
virtual void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)

Public Attributes

Tasknode

Private Member Functions

void init ()

Private Attributes

QMap< int, QColor > prioColors
QMap< int, int > columnPrio

Detailed Description

Definition at line 326 of file kptresourceview.cc.


Constructor & Destructor Documentation

KPlato::NodeItemPrivate::NodeItemPrivate ( Task n,
QTreeWidget *  parent 
) [inline]

Definition at line 329 of file kptresourceview.cc.

References init(), and KPlato::Node::name().

KPlato::NodeItemPrivate::NodeItemPrivate ( QString  name,
QTreeWidget *  parent 
) [inline]

Definition at line 337 of file kptresourceview.cc.

References init().


Member Function Documentation

void KPlato::NodeItemPrivate::setPriority ( int  col,
int  prio 
) [inline]

Definition at line 345 of file kptresourceview.cc.

References columnPrio, and prioColors.

int KPlato::NodeItemPrivate::priority ( int  col  )  [inline]

Definition at line 353 of file kptresourceview.cc.

References columnPrio.

virtual void KPlato::NodeItemPrivate::paintCell ( QPainter *  p,
const QColorGroup &  cg,
int  column,
int  width,
int  align 
) [inline, virtual]

Definition at line 361 of file kptresourceview.cc.

References columnPrio, and prioColors.

void KPlato::NodeItemPrivate::init (  )  [inline, private]

Definition at line 373 of file kptresourceview.cc.

References prioColors.

Referenced by NodeItemPrivate().


Member Data Documentation

Task* KPlato::NodeItemPrivate::node

Definition at line 371 of file kptresourceview.cc.

QMap<int, QColor> KPlato::NodeItemPrivate::prioColors [private]

Definition at line 380 of file kptresourceview.cc.

Referenced by init(), paintCell(), and setPriority().

QMap<int, int> KPlato::NodeItemPrivate::columnPrio [private]

Definition at line 381 of file kptresourceview.cc.

Referenced by paintCell(), priority(), and setPriority().


The documentation for this class was generated from the following file:
Generated on Wed Nov 22 23:21:51 2006 for KPlato by  doxygen 1.5.1-p1