#include <kpttaskgeneralpanel.h>
Inherited by KPlato::TaskGeneralPanel.
Inheritance diagram for KPlato::TaskGeneralPanelImpl:
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) |
virtual void | setRisktype (int r) |
Signals | |
void | obligatedFieldsFilled (bool) |
void | schedulingTypeChanged (int) |
void | changed () |
Public Member Functions | |
TaskGeneralPanelImpl (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 () |
virtual int | risktype () const |
Public Attributes | |
DurationWidget * | estimate |
Protected Attributes | |
bool | useTime |
Definition at line 40 of file kpttaskgeneralpanel.h.
KPlato::TaskGeneralPanelImpl::TaskGeneralPanelImpl | ( | QWidget * | parent, | |
const char * | name | |||
) |
Definition at line 223 of file kpttaskgeneralpanel.cc.
References changed(), changeLeader(), checkAllFieldsFilled(), endDateChanged(), endTimeChanged(), estimate, estimationTypeChanged(), scheduleTypeChanged(), startDateChanged(), and startTimeChanged().
int KPlato::TaskGeneralPanelImpl::schedulingType | ( | ) | const [virtual] |
Definition at line 256 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::buildCommand(), and KPlato::TaskGeneralPanel::estimationTypeChanged().
int KPlato::TaskGeneralPanelImpl::estimationType | ( | ) | const [virtual] |
Definition at line 275 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::buildCommand().
int KPlato::TaskGeneralPanelImpl::optimistic | ( | ) | const [virtual] |
Definition at line 290 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::buildCommand().
int KPlato::TaskGeneralPanelImpl::pessimistic | ( | ) | [virtual] |
Definition at line 295 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::buildCommand().
Duration KPlato::TaskGeneralPanelImpl::estimationValue | ( | ) | [virtual] |
Definition at line 369 of file kpttaskgeneralpanel.cc.
References estimate, and KPlato::DurationWidget::value().
Referenced by KPlato::TaskGeneralPanel::buildCommand(), and KPlato::TaskGeneralPanel::estimationTypeChanged().
QDateTime KPlato::TaskGeneralPanelImpl::startDateTime | ( | ) | [virtual] |
Definition at line 486 of file kpttaskgeneralpanel.cc.
References startDate(), and startTime().
Referenced by KPlato::TaskGeneralPanel::buildCommand(), endDateChanged(), endTimeChanged(), KPlato::TaskGeneralPanel::scheduleTypeChanged(), startDateChanged(), and startTimeChanged().
QDateTime KPlato::TaskGeneralPanelImpl::endDateTime | ( | ) | [virtual] |
Definition at line 492 of file kpttaskgeneralpanel.cc.
References endDate(), and endTime().
Referenced by KPlato::TaskGeneralPanel::buildCommand(), endDateChanged(), endTimeChanged(), KPlato::TaskGeneralPanel::scheduleTypeChanged(), startDateChanged(), and startTimeChanged().
QTime KPlato::TaskGeneralPanelImpl::startTime | ( | ) | const [virtual] |
Definition at line 507 of file kpttaskgeneralpanel.cc.
Referenced by startDateChanged(), and startDateTime().
QTime KPlato::TaskGeneralPanelImpl::endTime | ( | ) | [virtual] |
Definition at line 512 of file kpttaskgeneralpanel.cc.
Referenced by endDateChanged(), and endDateTime().
QDate KPlato::TaskGeneralPanelImpl::startDate | ( | ) | [virtual] |
Definition at line 517 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::setStartValues(), startDateChanged(), and startDateTime().
QDate KPlato::TaskGeneralPanelImpl::endDate | ( | ) | [virtual] |
Definition at line 523 of file kpttaskgeneralpanel.cc.
Referenced by endDateChanged(), and endDateTime().
int KPlato::TaskGeneralPanelImpl::risktype | ( | ) | const [virtual] |
Definition at line 557 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::buildCommand().
void KPlato::TaskGeneralPanelImpl::setSchedulingType | ( | int | type | ) | [virtual, slot] |
Definition at line 249 of file kpttaskgeneralpanel.cc.
References enableDateTime(), and schedulingTypeChanged().
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::changeLeader | ( | ) | [virtual, slot] |
void KPlato::TaskGeneralPanelImpl::setEstimationType | ( | int | type | ) | [virtual, slot] |
Definition at line 270 of file kpttaskgeneralpanel.cc.
void KPlato::TaskGeneralPanelImpl::setOptimistic | ( | int | value | ) | [virtual, slot] |
Definition at line 280 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::setPessimistic | ( | int | value | ) | [virtual, slot] |
Definition at line 285 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::enableDateTime | ( | int | scheduleType | ) | [virtual, slot] |
Definition at line 300 of file kpttaskgeneralpanel.cc.
References useTime.
Referenced by scheduleTypeChanged(), and setSchedulingType().
void KPlato::TaskGeneralPanelImpl::estimationTypeChanged | ( | int | type | ) | [virtual, slot] |
Reimplemented in KPlato::TaskGeneralPanel.
Definition at line 343 of file kpttaskgeneralpanel.cc.
References checkAllFieldsFilled().
Referenced by endDateChanged(), endTimeChanged(), KPlato::TaskGeneralPanel::estimationTypeChanged(), scheduleTypeChanged(), startDateChanged(), startTimeChanged(), and TaskGeneralPanelImpl().
void KPlato::TaskGeneralPanelImpl::setEstimate | ( | const Duration & | duration | ) | [virtual, slot] |
Definition at line 350 of file kpttaskgeneralpanel.cc.
References estimate, and KPlato::DurationWidget::setValue().
Referenced by KPlato::TaskGeneralPanel::scheduleTypeChanged(), and KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::setEstimateType | ( | int | type | ) | [virtual, slot] |
Definition at line 356 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::checkAllFieldsFilled | ( | ) | [virtual, slot] |
Definition at line 362 of file kpttaskgeneralpanel.cc.
References changed(), and obligatedFieldsFilled().
Referenced by endDateChanged(), endTimeChanged(), estimationTypeChanged(), scheduleTypeChanged(), startDateChanged(), startTimeChanged(), and TaskGeneralPanelImpl().
void KPlato::TaskGeneralPanelImpl::setEstimateFields | ( | int | mask | ) | [virtual, slot] |
Definition at line 375 of file kpttaskgeneralpanel.cc.
References estimate, and KPlato::DurationWidget::setVisibleFields().
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::setEstimateScales | ( | double | day | ) | [virtual, slot] |
Definition at line 381 of file kpttaskgeneralpanel.cc.
References estimate, KPlato::DurationWidget::setFieldLeftscale(), KPlato::DurationWidget::setFieldRightscale(), and KPlato::DurationWidget::setFieldScale().
Referenced by KPlato::TaskGeneralPanel::estimationTypeChanged(), KPlato::TaskGeneralPanel::scheduleTypeChanged(), and KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::setEstimateFieldUnit | ( | int | field, | |
QString | unit | |||
) | [virtual, slot] |
Definition at line 390 of file kpttaskgeneralpanel.cc.
References estimate, and KPlato::DurationWidget::setFieldUnit().
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::startDateChanged | ( | ) | [virtual, slot] |
Definition at line 395 of file kpttaskgeneralpanel.cc.
References checkAllFieldsFilled(), endDateTime(), estimationTypeChanged(), setEndDate(), setEndTime(), startDate(), startDateTime(), and startTime().
Referenced by TaskGeneralPanelImpl().
void KPlato::TaskGeneralPanelImpl::startTimeChanged | ( | const QTime & | time | ) | [virtual, slot] |
Definition at line 417 of file kpttaskgeneralpanel.cc.
References checkAllFieldsFilled(), endDateTime(), estimationTypeChanged(), setEndTime(), and startDateTime().
Referenced by TaskGeneralPanelImpl().
void KPlato::TaskGeneralPanelImpl::endDateChanged | ( | ) | [virtual, slot] |
Definition at line 436 of file kpttaskgeneralpanel.cc.
References checkAllFieldsFilled(), endDate(), endDateTime(), endTime(), estimationTypeChanged(), setStartDate(), setStartTime(), and startDateTime().
Referenced by TaskGeneralPanelImpl().
void KPlato::TaskGeneralPanelImpl::endTimeChanged | ( | const QTime & | time | ) | [virtual, slot] |
Definition at line 459 of file kpttaskgeneralpanel.cc.
References checkAllFieldsFilled(), endDateTime(), estimationTypeChanged(), setStartTime(), and startDateTime().
Referenced by TaskGeneralPanelImpl().
void KPlato::TaskGeneralPanelImpl::scheduleTypeChanged | ( | int | value | ) | [virtual, slot] |
Reimplemented in KPlato::TaskGeneralPanel.
Definition at line 478 of file kpttaskgeneralpanel.cc.
References checkAllFieldsFilled(), enableDateTime(), and estimationTypeChanged().
Referenced by KPlato::TaskGeneralPanel::scheduleTypeChanged(), and TaskGeneralPanelImpl().
void KPlato::TaskGeneralPanelImpl::setStartTime | ( | const QTime & | time | ) | [virtual, slot] |
Definition at line 497 of file kpttaskgeneralpanel.cc.
Referenced by endDateChanged(), endTimeChanged(), and setStartDateTime().
void KPlato::TaskGeneralPanelImpl::setEndTime | ( | const QTime & | time | ) | [virtual, slot] |
Definition at line 502 of file kpttaskgeneralpanel.cc.
Referenced by setEndDateTime(), startDateChanged(), and startTimeChanged().
void KPlato::TaskGeneralPanelImpl::setStartDateTime | ( | const QDateTime & | dt | ) | [virtual, slot] |
Definition at line 528 of file kpttaskgeneralpanel.cc.
References setStartDate(), and setStartTime().
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::setEndDateTime | ( | const QDateTime & | dt | ) | [virtual, slot] |
Definition at line 535 of file kpttaskgeneralpanel.cc.
References setEndDate(), and setEndTime().
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::setStartDate | ( | const QDate & | date | ) | [virtual, slot] |
Definition at line 541 of file kpttaskgeneralpanel.cc.
Referenced by endDateChanged(), and setStartDateTime().
void KPlato::TaskGeneralPanelImpl::setEndDate | ( | const QDate & | date | ) | [virtual, slot] |
Definition at line 547 of file kpttaskgeneralpanel.cc.
Referenced by setEndDateTime(), and startDateChanged().
void KPlato::TaskGeneralPanelImpl::setRisktype | ( | int | r | ) | [virtual, slot] |
Definition at line 552 of file kpttaskgeneralpanel.cc.
Referenced by KPlato::TaskGeneralPanel::setStartValues().
void KPlato::TaskGeneralPanelImpl::obligatedFieldsFilled | ( | bool | ) | [signal] |
Referenced by checkAllFieldsFilled().
void KPlato::TaskGeneralPanelImpl::schedulingTypeChanged | ( | int | ) | [signal] |
Referenced by setSchedulingType().
void KPlato::TaskGeneralPanelImpl::changed | ( | ) | [signal] |
Referenced by checkAllFieldsFilled(), and TaskGeneralPanelImpl().
Definition at line 59 of file kpttaskgeneralpanel.h.
Referenced by KPlato::TaskGeneralPanel::estimationTypeChanged(), estimationValue(), KPlato::TaskGeneralPanel::scheduleTypeChanged(), setEstimate(), setEstimateFields(), setEstimateFieldUnit(), setEstimateScales(), and TaskGeneralPanelImpl().
bool KPlato::TaskGeneralPanelImpl::useTime [protected] |
Definition at line 94 of file kpttaskgeneralpanel.h.
Referenced by enableDateTime(), and KPlato::TaskGeneralPanel::TaskGeneralPanel().