#include <kpttaskappointmentsview.h>
Inherits KPlato::DoubleListViewBase.
Inheritance diagram for KPlato::TaskAppointmentsView:
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 |
Task * | m_task |
Classes | |
class | ResourceItem |
Definition at line 47 of file kpttaskappointmentsview.h.
KPlato::TaskAppointmentsView::TaskAppointmentsView | ( | QWidget * | parent | ) |
Definition at line 62 of file kpttaskappointmentsview.cc.
References KPlato::DoubleListViewBase::setNameHeader().
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 | ) |
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().
int KPlato::TaskAppointmentsView::m_defaultFontSize [private] |
Definition at line 85 of file kpttaskappointmentsview.h.
Task* KPlato::TaskAppointmentsView::m_task [private] |