KPlato::TaskAppointmentsView Class Reference

#include <kpttaskappointmentsview.h>

Inherits KPlato::DoubleListViewBase.

Inheritance diagram for KPlato::TaskAppointmentsView:

[legend]
List of all members.

Public Member Functions

 TaskAppointmentsView (QWidget *parent)
void setZoom (double zoom)
void draw ()
void draw (Task *task)
void print (KPrinter &printer)
void clear ()
virtual void createSlaveItems ()

Protected Slots

void slotUpdate ()

Private Attributes

int m_defaultFontSize
Taskm_task

Classes

class  ResourceItem

Detailed Description

Definition at line 47 of file kpttaskappointmentsview.h.


Constructor & Destructor Documentation

KPlato::TaskAppointmentsView::TaskAppointmentsView ( QWidget *  parent  ) 

Definition at line 62 of file kpttaskappointmentsview.cc.

References KPlato::DoubleListViewBase::setNameHeader().


Member Function Documentation

void KPlato::TaskAppointmentsView::setZoom ( double  zoom  ) 

Definition at line 77 of file kpttaskappointmentsview.cc.

Referenced by KPlato::GanttView::setZoom().

void KPlato::TaskAppointmentsView::draw (  ) 

Definition at line 89 of file kpttaskappointmentsview.cc.

References KPlato::Node::appointments(), KPlato::DoubleListViewBase::clearLists(), KPlato::TaskAppointmentsView::ResourceItem::effortMap, KPlato::Node::endTime(), m_task, KPlato::DoubleListViewBase::masterListView(), slotUpdate(), and KPlato::Node::startTime().

Referenced by KPlato::GanttView::currentItemChanged(), and draw().

void KPlato::TaskAppointmentsView::draw ( Task task  ) 

Definition at line 83 of file kpttaskappointmentsview.cc.

References draw(), and m_task.

void KPlato::TaskAppointmentsView::print ( KPrinter &  printer  )  [virtual]

Reimplemented from KPlato::DoubleListViewBase.

Definition at line 145 of file kpttaskappointmentsview.cc.

void KPlato::TaskAppointmentsView::clear (  ) 

Definition at line 175 of file kpttaskappointmentsview.cc.

References KPlato::DoubleListViewBase::clearLists().

Referenced by KPlato::GanttView::clear(), and KPlato::GanttView::currentItemChanged().

void KPlato::TaskAppointmentsView::createSlaveItems (  )  [virtual]

Reimplemented from KPlato::DoubleListViewBase.

Definition at line 180 of file kpttaskappointmentsview.cc.

References KPlato::DoubleListViewBase::createSlaveItems(), and KPlato::DoubleListViewBase::setSlaveFormat().

Referenced by slotUpdate().

void KPlato::TaskAppointmentsView::slotUpdate (  )  [protected, slot]

Definition at line 108 of file kpttaskappointmentsview.cc.

References KPlato::DoubleListViewBase::MasterListItem::addToTotal(), KPlato::DoubleListViewBase::calculate(), createSlaveItems(), KPlato::TaskAppointmentsView::ResourceItem::effortMap, KPlato::EffortCostMap::effortOnDate(), KPlato::Node::endTime(), m_task, KPlato::DoubleListViewBase::masterItems(), KPlato::Duration::minutes(), KPlato::DoubleListViewBase::MasterListItem::setSlaveItem(), KPlato::DoubleListViewBase::setSlaveLabels(), and KPlato::Node::startTime().

Referenced by draw().


Member Data Documentation

int KPlato::TaskAppointmentsView::m_defaultFontSize [private]

Definition at line 85 of file kpttaskappointmentsview.h.

Task* KPlato::TaskAppointmentsView::m_task [private]

Definition at line 86 of file kpttaskappointmentsview.h.

Referenced by draw(), and slotUpdate().


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