KPlato::ConfigTaskPanelImpl Class Reference

#include <kpttaskdefaultpanel.h>

Inherited by KPlato::TaskDefaultPanel.

Inheritance diagram for KPlato::ConfigTaskPanelImpl:

[legend]
List of all members.

Public Slots

virtual void setSchedulingType (int type)
virtual void changeLeader ()
virtual void setEstimationType (int type)
virtual void setOptimistic (int value)
virtual void setPessimistic (int value)
virtual void enableDateTime (int scheduleType)
virtual void estimationTypeChanged (int type)
virtual void setEstimate (const Duration &duration)
virtual void setEstimateType (int type)
virtual void checkAllFieldsFilled ()
virtual void setEstimateFields (int mask)
virtual void setEstimateScales (double day)
virtual void setEstimateFieldUnit (int field, QString unit)
virtual void startDateChanged ()
virtual void startTimeChanged (const QTime &time)
virtual void endDateChanged ()
virtual void endTimeChanged (const QTime &time)
virtual void scheduleTypeChanged (int value)
virtual void setStartTime (const QTime &time)
virtual void setEndTime (const QTime &time)
virtual void setStartDateTime (const QDateTime &dt)
virtual void setEndDateTime (const QDateTime &dt)
virtual void setStartDate (const QDate &date)
virtual void setEndDate (const QDate &date)

Signals

void obligatedFieldsFilled (bool)
void schedulingTypeChanged (int)
void changed ()

Public Member Functions

 ConfigTaskPanelImpl (QWidget *parent, const char *name)
virtual int schedulingType () const
virtual int estimationType () const
virtual int optimistic () const
virtual int pessimistic ()
virtual Duration estimationValue ()
virtual QDateTime startDateTime ()
virtual QDateTime endDateTime ()
virtual QTime startTime () const
virtual QTime endTime ()
virtual QDate startDate ()
virtual QDate endDate ()

Public Attributes

DurationWidgetestimate

Protected Attributes

bool useTime

Detailed Description

Definition at line 35 of file kpttaskdefaultpanel.h.


Constructor & Destructor Documentation

KPlato::ConfigTaskPanelImpl::ConfigTaskPanelImpl ( QWidget *  parent,
const char *  name 
)

Definition at line 192 of file kpttaskdefaultpanel.cc.

References changed(), changeLeader(), checkAllFieldsFilled(), endDateChanged(), endTimeChanged(), estimate, estimationTypeChanged(), scheduleTypeChanged(), startDateChanged(), and startTimeChanged().


Member Function Documentation

int KPlato::ConfigTaskPanelImpl::schedulingType (  )  const [virtual]

Definition at line 222 of file kpttaskdefaultpanel.cc.

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

int KPlato::ConfigTaskPanelImpl::estimationType (  )  const [virtual]

Definition at line 241 of file kpttaskdefaultpanel.cc.

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

int KPlato::ConfigTaskPanelImpl::optimistic (  )  const [virtual]

Definition at line 256 of file kpttaskdefaultpanel.cc.

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

int KPlato::ConfigTaskPanelImpl::pessimistic (  )  [virtual]

Definition at line 261 of file kpttaskdefaultpanel.cc.

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

Duration KPlato::ConfigTaskPanelImpl::estimationValue (  )  [virtual]

Definition at line 335 of file kpttaskdefaultpanel.cc.

References estimate, and KPlato::DurationWidget::value().

Referenced by KPlato::TaskDefaultPanel::buildCommand(), and KPlato::TaskDefaultPanel::estimationTypeChanged().

QDateTime KPlato::ConfigTaskPanelImpl::startDateTime (  )  [virtual]

Definition at line 452 of file kpttaskdefaultpanel.cc.

References startDate(), and startTime().

Referenced by KPlato::TaskDefaultPanel::buildCommand(), endDateChanged(), endTimeChanged(), startDateChanged(), and startTimeChanged().

QDateTime KPlato::ConfigTaskPanelImpl::endDateTime (  )  [virtual]

Definition at line 458 of file kpttaskdefaultpanel.cc.

References endDate(), and endTime().

Referenced by KPlato::TaskDefaultPanel::buildCommand(), endDateChanged(), endTimeChanged(), startDateChanged(), and startTimeChanged().

QTime KPlato::ConfigTaskPanelImpl::startTime (  )  const [virtual]

Definition at line 473 of file kpttaskdefaultpanel.cc.

Referenced by startDateChanged(), and startDateTime().

QTime KPlato::ConfigTaskPanelImpl::endTime (  )  [virtual]

Definition at line 478 of file kpttaskdefaultpanel.cc.

Referenced by endDateChanged(), and endDateTime().

QDate KPlato::ConfigTaskPanelImpl::startDate (  )  [virtual]

Definition at line 483 of file kpttaskdefaultpanel.cc.

Referenced by KPlato::TaskDefaultPanel::setStartValues(), startDateChanged(), and startDateTime().

QDate KPlato::ConfigTaskPanelImpl::endDate (  )  [virtual]

Definition at line 489 of file kpttaskdefaultpanel.cc.

Referenced by endDateChanged(), and endDateTime().

void KPlato::ConfigTaskPanelImpl::setSchedulingType ( int  type  )  [virtual, slot]

Definition at line 215 of file kpttaskdefaultpanel.cc.

References enableDateTime(), and schedulingTypeChanged().

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::changeLeader (  )  [virtual, slot]

Definition at line 227 of file kpttaskdefaultpanel.cc.

Referenced by ConfigTaskPanelImpl().

void KPlato::ConfigTaskPanelImpl::setEstimationType ( int  type  )  [virtual, slot]

Definition at line 236 of file kpttaskdefaultpanel.cc.

void KPlato::ConfigTaskPanelImpl::setOptimistic ( int  value  )  [virtual, slot]

Definition at line 246 of file kpttaskdefaultpanel.cc.

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::setPessimistic ( int  value  )  [virtual, slot]

Definition at line 251 of file kpttaskdefaultpanel.cc.

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::enableDateTime ( int  scheduleType  )  [virtual, slot]

Definition at line 266 of file kpttaskdefaultpanel.cc.

Referenced by scheduleTypeChanged(), and setSchedulingType().

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

Reimplemented in KPlato::TaskDefaultPanel.

Definition at line 309 of file kpttaskdefaultpanel.cc.

References checkAllFieldsFilled().

Referenced by ConfigTaskPanelImpl(), endDateChanged(), endTimeChanged(), KPlato::TaskDefaultPanel::estimationTypeChanged(), scheduleTypeChanged(), startDateChanged(), and startTimeChanged().

void KPlato::ConfigTaskPanelImpl::setEstimate ( const Duration duration  )  [virtual, slot]

Definition at line 316 of file kpttaskdefaultpanel.cc.

References estimate, and KPlato::DurationWidget::setValue().

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::setEstimateType ( int  type  )  [virtual, slot]

Definition at line 322 of file kpttaskdefaultpanel.cc.

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::checkAllFieldsFilled (  )  [virtual, slot]

Definition at line 328 of file kpttaskdefaultpanel.cc.

References changed(), and obligatedFieldsFilled().

Referenced by ConfigTaskPanelImpl(), endDateChanged(), endTimeChanged(), estimationTypeChanged(), scheduleTypeChanged(), startDateChanged(), and startTimeChanged().

void KPlato::ConfigTaskPanelImpl::setEstimateFields ( int  mask  )  [virtual, slot]

Definition at line 341 of file kpttaskdefaultpanel.cc.

References estimate, and KPlato::DurationWidget::setVisibleFields().

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::setEstimateScales ( double  day  )  [virtual, slot]

Definition at line 347 of file kpttaskdefaultpanel.cc.

References estimate, KPlato::DurationWidget::setFieldLeftscale(), KPlato::DurationWidget::setFieldRightscale(), and KPlato::DurationWidget::setFieldScale().

Referenced by KPlato::TaskDefaultPanel::estimationTypeChanged(), KPlato::TaskDefaultPanel::scheduleTypeChanged(), and KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::setEstimateFieldUnit ( int  field,
QString  unit 
) [virtual, slot]

Definition at line 356 of file kpttaskdefaultpanel.cc.

References estimate, and KPlato::DurationWidget::setFieldUnit().

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::startDateChanged (  )  [virtual, slot]

Definition at line 361 of file kpttaskdefaultpanel.cc.

References checkAllFieldsFilled(), endDateTime(), estimationTypeChanged(), setEndDate(), setEndTime(), startDate(), startDateTime(), and startTime().

Referenced by ConfigTaskPanelImpl().

void KPlato::ConfigTaskPanelImpl::startTimeChanged ( const QTime &  time  )  [virtual, slot]

Definition at line 383 of file kpttaskdefaultpanel.cc.

References checkAllFieldsFilled(), endDateTime(), estimationTypeChanged(), setEndTime(), and startDateTime().

Referenced by ConfigTaskPanelImpl().

void KPlato::ConfigTaskPanelImpl::endDateChanged (  )  [virtual, slot]

Definition at line 402 of file kpttaskdefaultpanel.cc.

References checkAllFieldsFilled(), endDate(), endDateTime(), endTime(), estimationTypeChanged(), setStartDate(), setStartTime(), and startDateTime().

Referenced by ConfigTaskPanelImpl().

void KPlato::ConfigTaskPanelImpl::endTimeChanged ( const QTime &  time  )  [virtual, slot]

Definition at line 425 of file kpttaskdefaultpanel.cc.

References checkAllFieldsFilled(), endDateTime(), estimationTypeChanged(), setStartTime(), and startDateTime().

Referenced by ConfigTaskPanelImpl().

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

Reimplemented in KPlato::TaskDefaultPanel.

Definition at line 444 of file kpttaskdefaultpanel.cc.

References checkAllFieldsFilled(), enableDateTime(), and estimationTypeChanged().

Referenced by ConfigTaskPanelImpl(), and KPlato::TaskDefaultPanel::scheduleTypeChanged().

void KPlato::ConfigTaskPanelImpl::setStartTime ( const QTime &  time  )  [virtual, slot]

Definition at line 463 of file kpttaskdefaultpanel.cc.

Referenced by endDateChanged(), endTimeChanged(), and setStartDateTime().

void KPlato::ConfigTaskPanelImpl::setEndTime ( const QTime &  time  )  [virtual, slot]

Definition at line 468 of file kpttaskdefaultpanel.cc.

Referenced by setEndDateTime(), startDateChanged(), and startTimeChanged().

void KPlato::ConfigTaskPanelImpl::setStartDateTime ( const QDateTime &  dt  )  [virtual, slot]

Definition at line 494 of file kpttaskdefaultpanel.cc.

References setStartDate(), and setStartTime().

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::setEndDateTime ( const QDateTime &  dt  )  [virtual, slot]

Definition at line 501 of file kpttaskdefaultpanel.cc.

References setEndDate(), and setEndTime().

Referenced by KPlato::TaskDefaultPanel::setStartValues().

void KPlato::ConfigTaskPanelImpl::setStartDate ( const QDate &  date  )  [virtual, slot]

Definition at line 507 of file kpttaskdefaultpanel.cc.

Referenced by endDateChanged(), and setStartDateTime().

void KPlato::ConfigTaskPanelImpl::setEndDate ( const QDate &  date  )  [virtual, slot]

Definition at line 513 of file kpttaskdefaultpanel.cc.

Referenced by setEndDateTime(), and startDateChanged().

void KPlato::ConfigTaskPanelImpl::obligatedFieldsFilled ( bool   )  [signal]

Referenced by checkAllFieldsFilled().

void KPlato::ConfigTaskPanelImpl::schedulingTypeChanged ( int   )  [signal]

Referenced by setSchedulingType().

void KPlato::ConfigTaskPanelImpl::changed (  )  [signal]

Referenced by checkAllFieldsFilled(), and ConfigTaskPanelImpl().


Member Data Documentation

DurationWidget* KPlato::ConfigTaskPanelImpl::estimate

Definition at line 53 of file kpttaskdefaultpanel.h.

Referenced by ConfigTaskPanelImpl(), estimationValue(), KPlato::TaskDefaultPanel::scheduleTypeChanged(), setEstimate(), setEstimateFields(), setEstimateFieldUnit(), and setEstimateScales().

bool KPlato::ConfigTaskPanelImpl::useTime [protected]

Definition at line 87 of file kpttaskdefaultpanel.h.


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