KPlato::TaskGeneralPanel Class Reference

#include <kpttaskgeneralpanel.h>

Inherits KPlato::TaskGeneralPanelImpl.

Inheritance diagram for KPlato::TaskGeneralPanel:

[legend]
List of all members.

Public Slots

virtual void estimationTypeChanged (int type)
virtual void scheduleTypeChanged (int value)

Public Member Functions

 TaskGeneralPanel (Task &task, StandardWorktime *workTime=0, QWidget *parent=0, const char *name=0)
KMacroCommand * buildCommand (Part *part)
bool ok ()
void setStartValues (Task &task, StandardWorktime *workTime=0)

Private Attributes

Taskm_task
double m_dayLength
Duration m_effort
Duration m_duration

Detailed Description

Definition at line 97 of file kpttaskgeneralpanel.h.


Constructor & Destructor Documentation

KPlato::TaskGeneralPanel::TaskGeneralPanel ( Task task,
StandardWorktime workTime = 0,
QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 55 of file kpttaskgeneralpanel.cc.

References setStartValues(), and KPlato::TaskGeneralPanelImpl::useTime.


Member Function Documentation

KMacroCommand * KPlato::TaskGeneralPanel::buildCommand ( Part part  ) 

Definition at line 106 of file kpttaskgeneralpanel.cc.

References KPlato::Node::constraint(), KPlato::Node::constraintEndTime(), KPlato::Node::constraintStartTime(), KPlato::Node::description(), KPlato::Node::effort(), KPlato::TaskGeneralPanelImpl::endDateTime(), KPlato::TaskGeneralPanelImpl::estimationType(), KPlato::TaskGeneralPanelImpl::estimationValue(), KPlato::Effort::expected(), KPlato::Node::FinishNotLater, KPlato::Node::FixedInterval, KPlato::Node::id(), KPlato::Node::leader(), m_task, KPlato::Node::MustFinishOn, KPlato::Node::MustStartOn, KPlato::Node::name(), KPlato::TaskGeneralPanelImpl::optimistic(), KPlato::Effort::optimisticRatio(), KPlato::TaskGeneralPanelImpl::pessimistic(), KPlato::Effort::pessimisticRatio(), KPlato::TaskGeneralPanelImpl::risktype(), KPlato::Effort::risktype(), KPlato::TaskGeneralPanelImpl::schedulingType(), KPlato::TaskGeneralPanelImpl::startDateTime(), KPlato::Node::StartNotEarlier, KPlato::Duration::toString(), and KPlato::Effort::type().

Referenced by KPlato::TaskDialog::buildCommand().

bool KPlato::TaskGeneralPanel::ok (  ) 

Definition at line 178 of file kpttaskgeneralpanel.cc.

References KPlato::Node::findNode(), KPlato::Node::id(), and m_task.

Referenced by KPlato::TaskDialog::slotOk().

void KPlato::TaskGeneralPanel::setStartValues ( Task task,
StandardWorktime workTime = 0 
)

Definition at line 64 of file kpttaskgeneralpanel.cc.

References KPlato::Node::constraint(), KPlato::Node::constraintEndTime(), KPlato::Node::constraintStartTime(), KPlato::StandardWorktime::day(), KPlato::DurationWidget::Days, KPlato::Node::description(), KPlato::Node::effort(), KPlato::Effort::expected(), KPlato::DurationWidget::Hours, KPlato::Node::id(), KPlato::Node::leader(), m_dayLength, m_duration, m_effort, KPlato::DurationWidget::Minutes, KPlato::Node::name(), KPlato::Effort::optimisticRatio(), KPlato::Effort::pessimisticRatio(), KPlato::Effort::risktype(), KPlato::TaskGeneralPanelImpl::setEndDateTime(), KPlato::TaskGeneralPanelImpl::setEstimate(), KPlato::TaskGeneralPanelImpl::setEstimateFields(), KPlato::TaskGeneralPanelImpl::setEstimateFieldUnit(), KPlato::TaskGeneralPanelImpl::setEstimateScales(), KPlato::TaskGeneralPanelImpl::setEstimateType(), KPlato::TaskGeneralPanelImpl::setOptimistic(), KPlato::TaskGeneralPanelImpl::setPessimistic(), KPlato::TaskGeneralPanelImpl::setRisktype(), KPlato::TaskGeneralPanelImpl::setSchedulingType(), KPlato::TaskGeneralPanelImpl::setStartDateTime(), KPlato::TaskGeneralPanelImpl::startDate(), KPlato::Effort::type(), KPlato::Effort::Type_Effort, and KPlato::Node::wbs().

Referenced by TaskGeneralPanel().

void KPlato::TaskGeneralPanel::estimationTypeChanged ( int  type  )  [virtual, slot]

Reimplemented from KPlato::TaskGeneralPanelImpl.

Definition at line 187 of file kpttaskgeneralpanel.cc.

References KPlato::TaskGeneralPanelImpl::estimate, KPlato::TaskGeneralPanelImpl::estimationTypeChanged(), KPlato::TaskGeneralPanelImpl::estimationValue(), m_dayLength, KPlato::TaskGeneralPanelImpl::schedulingType(), and KPlato::TaskGeneralPanelImpl::setEstimateScales().

void KPlato::TaskGeneralPanel::scheduleTypeChanged ( int  value  )  [virtual, slot]

Reimplemented from KPlato::TaskGeneralPanelImpl.

Definition at line 207 of file kpttaskgeneralpanel.cc.

References KPlato::TaskGeneralPanelImpl::endDateTime(), KPlato::TaskGeneralPanelImpl::estimate, m_dayLength, KPlato::TaskGeneralPanelImpl::scheduleTypeChanged(), KPlato::TaskGeneralPanelImpl::setEstimate(), KPlato::TaskGeneralPanelImpl::setEstimateScales(), and KPlato::TaskGeneralPanelImpl::startDateTime().


Member Data Documentation

Task& KPlato::TaskGeneralPanel::m_task [private]

Definition at line 113 of file kpttaskgeneralpanel.h.

Referenced by buildCommand(), and ok().

double KPlato::TaskGeneralPanel::m_dayLength [private]

Definition at line 114 of file kpttaskgeneralpanel.h.

Referenced by estimationTypeChanged(), scheduleTypeChanged(), and setStartValues().

Duration KPlato::TaskGeneralPanel::m_effort [private]

Definition at line 116 of file kpttaskgeneralpanel.h.

Referenced by setStartValues().

Duration KPlato::TaskGeneralPanel::m_duration [private]

Definition at line 117 of file kpttaskgeneralpanel.h.

Referenced by setStartValues().


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