#include <kpttaskprogresspanel.h>
Inherits KPlato::TaskProgressPanelImpl.
Inheritance diagram for KPlato::TaskProgressPanel:
Public Member Functions | |
TaskProgressPanel (Task &task, StandardWorktime *workTime=0, QWidget *parent=0, const char *name=0) | |
KCommand * | buildCommand (Part *part) |
bool | ok () |
Protected Member Functions | |
void | setEstimateScales (int day) |
Private Attributes | |
Task & | m_task |
int | m_dayLength |
Task::Progress | m_progress |
Definition at line 58 of file kpttaskprogresspanel.h.
KPlato::TaskProgressPanel::TaskProgressPanel | ( | Task & | task, | |
StandardWorktime * | workTime = 0 , |
|||
QWidget * | parent = 0 , |
|||
const char * | name = 0 | |||
) |
Definition at line 44 of file kpttaskprogresspanel.cc.
References KPlato::TaskProgressPanelImpl::actualEffort, KPlato::Task::actualEffort(), KPlato::DurationWidget::Days, KPlato::StandardWorktime::durationDay(), KPlato::Node::effort(), KPlato::TaskProgressPanelImpl::enableWidgets(), KPlato::Node::endTime(), KPlato::Effort::expected(), KPlato::Task::Progress::finished, KPlato::Task::Progress::finishTime, KPlato::DurationWidget::Hours, KPlato::Duration::hours(), m_dayLength, m_progress, KPlato::DurationWidget::Minutes, KPlato::Task::Progress::percentFinished, KPlato::Task::progress(), KPlato::Task::Progress::remainingEffort, KPlato::TaskProgressPanelImpl::remainingEffort, KPlato::TaskProgressPanelImpl::scheduledEffort, setEstimateScales(), KPlato::DurationWidget::setFieldUnit(), KPlato::DurationWidget::setValue(), KPlato::DurationWidget::setVisibleFields(), KPlato::Task::Progress::started, KPlato::Node::startTime(), KPlato::Task::Progress::startTime, and KPlato::Task::Progress::totalPerformed.
KCommand * KPlato::TaskProgressPanel::buildCommand | ( | Part * | part | ) |
Definition at line 101 of file kpttaskprogresspanel.cc.
References m_progress, m_task, and KPlato::Task::progress().
Referenced by KPlato::TaskProgressDialog::buildCommand().
bool KPlato::TaskProgressPanel::ok | ( | ) |
Definition at line 90 of file kpttaskprogresspanel.cc.
References KPlato::TaskProgressPanelImpl::actualEffort, KPlato::Task::Progress::finished, KPlato::Task::Progress::finishTime, m_progress, KPlato::Task::Progress::percentFinished, KPlato::TaskProgressPanelImpl::remainingEffort, KPlato::Task::Progress::remainingEffort, KPlato::Task::Progress::started, KPlato::Task::Progress::startTime, KPlato::Task::Progress::totalPerformed, and KPlato::DurationWidget::value().
Referenced by KPlato::TaskProgressDialog::slotOk().
void KPlato::TaskProgressPanel::setEstimateScales | ( | int | day | ) | [protected] |
Definition at line 110 of file kpttaskprogresspanel.cc.
References KPlato::TaskProgressPanelImpl::actualEffort, KPlato::TaskProgressPanelImpl::remainingEffort, KPlato::TaskProgressPanelImpl::scheduledEffort, KPlato::DurationWidget::setFieldLeftscale(), KPlato::DurationWidget::setFieldRightscale(), and KPlato::DurationWidget::setFieldScale().
Referenced by TaskProgressPanel().
Task& KPlato::TaskProgressPanel::m_task [private] |
int KPlato::TaskProgressPanel::m_dayLength [private] |
struct Task::Progress KPlato::TaskProgressPanel::m_progress [private] |
Definition at line 73 of file kpttaskprogresspanel.h.
Referenced by buildCommand(), ok(), and TaskProgressPanel().