#include <kptview.h>
Definition at line 124 of file kptview.h.
KPlato::View::View | ( | Part * | part, | |
QWidget * | parent = 0 | |||
) |
Definition at line 285 of file kptview.cc.
References actionAddMilestone, actionAddSubtask, actionAddTask, actionCalculate, actionCalculateExpected, actionCalculateOptimistic, actionCalculatePessimistic, actionConfigure, actionCopy, actionCut, actionDefineWBS, actionDeleteTask, actionEditAccounts, actionEditCalendar, actionEditMainProject, actionEditResource, actionEditResources, actionEditStandardWorktime, actionGenerateWBS, actionIndentTask, actionMoveTaskDown, actionMoveTaskUp, actionOpenNode, actionPaste, actionTaskProgress, actionUnindentTask, actionViewAccounts, actionViewExpected, actionViewGantt, actionViewGanttCriticalPath, actionViewGanttCriticalTasks, actionViewGanttFloat, actionViewGanttProgress, actionViewGanttResources, actionViewGanttTaskLinks, actionViewGanttTaskName, actionViewOptimistic, actionViewPessimistic, actionViewResourceAppointments, actionViewResources, actionViewSelector, actionViewTaskAppointments, actNoInformation, createViewSelector(), KPlato::TaskEditor::draw(), KPlato::GanttView::draw(), KPlato::Schedule::Expected, getProject(), KPlato::Factory::global(), m_accountsview, m_currentview, m_dbus, m_estlabel, m_ganttview, m_resourceview, m_tab, m_taskeditor, m_updateAccountsview, m_updateGanttview, m_updateResourceview, KPlato::Project::setCurrentSchedule(), setScheduleActionsEnabled(), setTaskActionsEnabled(), slotAddMilestone(), slotAddRelation(), slotAddSubTask(), slotAddTask(), slotConfigure(), slotCurrentChanged(), slotDefineWBS(), slotDeleteTask(), slotEditCopy(), slotEditCut(), slotEditPaste(), slotEditResource(), slotExportGantt(), slotGenerateWBS(), slotIndentTask(), slotModifyRelation(), slotMoveTaskDown(), slotMoveTaskUp(), slotOpenNode(), slotPopupMenu(), slotPrintCalendarDebug(), slotPrintSelectedDebug(), slotProjectAccounts(), slotProjectCalculate(), slotProjectCalculateExpected(), slotProjectCalculateOptimistic(), slotProjectCalculatePessimistic(), slotProjectCalendar(), slotProjectEdit(), slotProjectResources(), slotProjectWorktime(), slotRenameNode(), slotTaskProgress(), slotUnindentTask(), slotViewAccounts(), slotViewExpected(), slotViewGantt(), slotViewGanttCriticalPath(), slotViewGanttCriticalTasks(), slotViewGanttFloat(), slotViewGanttNoInformation(), slotViewGanttProgress(), slotViewGanttResources(), slotViewGanttTaskLinks(), slotViewGanttTaskName(), slotViewOptimistic(), slotViewPessimistic(), slotViewResourceAppointments(), slotViewResources(), slotViewSelector(), and slotViewTaskAppointments().
KPlato::View::~View | ( | ) |
void KPlato::View::setZoom | ( | double | zoom | ) | [virtual] |
Support zooming.
Definition at line 574 of file kptview.cc.
References m_ganttview, and KPlato::GanttView::setZoom().
Part * KPlato::View::getPart | ( | ) | const |
Definition at line 1322 of file kptview.cc.
Referenced by getProject(), KPlato::ReportView::loadTemplate(), projectCalculate(), slotAddMilestone(), slotAddRelation(), slotAddSubTask(), slotAddTask(), slotConfigure(), slotDefineWBS(), slotDeleteTask(), slotEditResource(), slotGenerateWBS(), slotIndentTask(), slotModifyRelation(), slotMoveTaskDown(), slotMoveTaskUp(), slotOpenNode(), slotPrintCalendarDebug(), slotPrintDebug(), slotPrintTestDebug(), slotProjectAccounts(), slotProjectCalendar(), slotProjectEdit(), slotProjectResources(), slotProjectWorktime(), slotRenameNode(), slotTaskProgress(), slotUnindentTask(), KPlato::TaskEditor::TaskEditor(), and updateView().
Project & KPlato::View::getProject | ( | ) | const |
Definition at line 569 of file kptview.cc.
References getPart(), and KPlato::Part::getProject().
Referenced by currentTask(), getContext(), projectCalculate(), KPlato::ResourceView::ResourceView(), KPlato::ResourceView::resSelectionChanged(), setContext(), setScheduleActionsEnabled(), setTaskActionsEnabled(), slotAddMilestone(), slotAddSubTask(), slotAddTask(), slotConfigure(), slotEditResource(), slotIndentTask(), slotMoveTaskDown(), slotMoveTaskUp(), slotOpenNode(), slotProjectAccounts(), slotProjectCalendar(), slotProjectEdit(), slotProjectResources(), slotProjectWorktime(), slotTaskProgress(), slotUnindentTask(), slotViewExpected(), slotViewOptimistic(), slotViewPessimistic(), updateView(), and View().
void KPlato::View::setupPrinter | ( | KPrinter & | printer | ) | [virtual] |
Definition at line 579 of file kptview.cc.
void KPlato::View::print | ( | KPrinter & | printer | ) | [virtual] |
Definition at line 584 of file kptview.cc.
References m_accountsview, m_ganttview, m_resourceview, m_tab, KPlato::AccountsView::print(), KPlato::ResourceView::print(), and KPlato::GanttView::print().
QMenu * KPlato::View::popupMenu | ( | const QString & | name | ) |
Definition at line 1336 of file kptview.cc.
Referenced by KPlato::ResourceView::popupMenuRequested(), and slotPopupMenu().
void KPlato::View::projectCalculate | ( | ) |
Definition at line 849 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::Node::findSchedule(), getPart(), getProject(), and m_currentEstimateType.
Referenced by slotUpdate().
ViewAdaptor * KPlato::View::dbusObject | ( | ) | [virtual] |
bool KPlato::View::setContext | ( | Context & | context | ) | [virtual] |
Definition at line 1422 of file kptview.cc.
References KPlato::Context::accountsview, KPlato::Context::actionViewExpected, actionViewExpected, actionViewGanttCriticalPath, actionViewGanttCriticalTasks, actionViewGanttFloat, actionViewGanttProgress, actionViewGanttResources, actionViewGanttTaskLinks, actionViewGanttTaskName, KPlato::Context::actionViewOptimistic, actionViewOptimistic, KPlato::Context::actionViewPessimistic, actionViewPessimistic, KPlato::Context::currentEstimateType, KPlato::Context::currentSchedule, KPlato::Context::currentView, KPlato::Context::ganttview, getProject(), m_accountsview, m_currentEstimateType, m_ganttview, m_resourceview, KPlato::Context::resourceview, KPlato::AccountsView::setContext(), KPlato::ResourceView::setContext(), KPlato::GanttView::setContext(), KPlato::Project::setCurrentSchedule(), KPlato::GanttView::setShowExpected(), KPlato::GanttView::setShowOptimistic(), KPlato::GanttView::setShowPessimistic(), KPlato::Context::Ganttview::showCriticalPath, KPlato::Context::Ganttview::showCriticalTasks, KPlato::Context::Ganttview::showPositiveFloat, KPlato::Context::Ganttview::showProgress, KPlato::Context::Ganttview::showResources, KPlato::Context::Ganttview::showTaskLinks, KPlato::Context::Ganttview::showTaskName, slotUpdate(), slotViewAccounts(), slotViewGantt(), and slotViewResources().
Referenced by KPlato::Part::createViewInstance().
void KPlato::View::getContext | ( | Context & | context | ) | const [virtual] |
Definition at line 1463 of file kptview.cc.
References KPlato::Context::accountsview, actionViewExpected, KPlato::Context::actionViewExpected, actionViewOptimistic, KPlato::Context::actionViewOptimistic, actionViewPessimistic, KPlato::Context::actionViewPessimistic, KPlato::Context::currentEstimateType, KPlato::Node::currentSchedule(), KPlato::Context::currentSchedule, KPlato::Context::currentView, KPlato::Context::ganttview, KPlato::AccountsView::getContext(), KPlato::ResourceView::getContext(), KPlato::GanttView::getContext(), getProject(), KPlato::Schedule::id(), m_accountsview, m_currentEstimateType, m_ganttview, m_resourceview, m_tab, and KPlato::Context::resourceview.
Referenced by KPlato::Part::saveXML(), and KPlato::Part::slotCopyContextFromView().
void KPlato::View::setTaskActionsEnabled | ( | QWidget * | w, | |
bool | on | |||
) |
Definition at line 1489 of file kptview.cc.
References actionAddMilestone, actionAddSubtask, actionAddTask, actionDeleteTask, actionIndentTask, actionMoveTaskDown, actionMoveTaskUp, actionUnindentTask, KPlato::GanttView::currentNode(), getProject(), and m_ganttview.
Referenced by KPlato::Part::createViewInstance(), setTaskActionsEnabled(), KPlato::ViewBase::setViewActive(), updateView(), and View().
void KPlato::View::setScheduleActionsEnabled | ( | ) |
Definition at line 1515 of file kptview.cc.
References actionViewExpected, actionViewOptimistic, actionViewPessimistic, KPlato::Node::currentSchedule(), KPlato::Schedule::Expected, getProject(), m_estlabel, KPlato::Schedule::Optimistic, KPlato::Schedule::Pessimistic, and KPlato::Schedule::type().
Referenced by updateView(), and View().
void KPlato::View::slotUpdate | ( | bool | calculate | ) | [slot] |
Definition at line 1345 of file kptview.cc.
References m_tab, m_updateAccountsview, m_updateGanttview, m_updateResourceview, projectCalculate(), and updateView().
Referenced by KPlato::Part::loadXML(), setContext(), KPlato::Part::slotCommandExecuted(), slotGenerateWBS(), slotProjectCalculate(), slotProjectCalculateExpected(), slotProjectCalculateOptimistic(), slotProjectCalculatePessimistic(), slotViewExpected(), slotViewGanttCriticalPath(), slotViewGanttCriticalTasks(), slotViewGanttFloat(), slotViewGanttNoInformation(), slotViewGanttProgress(), slotViewGanttResources(), slotViewGanttTaskLinks(), slotViewGanttTaskName(), slotViewOptimistic(), slotViewPessimistic(), slotViewResourceAppointments(), and slotViewTaskAppointments().
void KPlato::View::slotEditResource | ( | ) | [slot] |
Definition at line 1304 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::ResourceDialog::buildCommand(), KPlato::ResourceView::currentResource(), getPart(), getProject(), and m_resourceview.
Referenced by KPlato::ViewAdaptor::slotEditResource(), and View().
void KPlato::View::slotEditCut | ( | ) | [slot] |
Definition at line 607 of file kptview.cc.
Referenced by KPlato::ViewAdaptor::slotEditCut(), and View().
void KPlato::View::slotEditCopy | ( | ) | [slot] |
Definition at line 612 of file kptview.cc.
Referenced by KPlato::ViewAdaptor::slotEditCopy(), and View().
void KPlato::View::slotEditPaste | ( | ) | [slot] |
Definition at line 617 of file kptview.cc.
Referenced by KPlato::ViewAdaptor::slotEditPaste(), and View().
void KPlato::View::slotViewSelector | ( | bool | show | ) | [slot] |
void KPlato::View::slotViewGantt | ( | ) | [slot] |
Definition at line 725 of file kptview.cc.
References m_ganttview, and m_tab.
Referenced by setContext(), KPlato::ViewAdaptor::slotViewGantt(), and View().
void KPlato::View::slotViewExpected | ( | ) | [slot] |
Definition at line 622 of file kptview.cc.
References KPlato::Schedule::Expected, getProject(), m_currentEstimateType, KPlato::Node::setCurrentSchedulePtr(), slotUpdate(), and KPlato::Effort::Use_Expected.
Referenced by View().
void KPlato::View::slotViewOptimistic | ( | ) | [slot] |
Definition at line 630 of file kptview.cc.
References getProject(), m_currentEstimateType, KPlato::Schedule::Optimistic, KPlato::Node::setCurrentSchedulePtr(), slotUpdate(), and KPlato::Effort::Use_Optimistic.
Referenced by View().
void KPlato::View::slotViewPessimistic | ( | ) | [slot] |
Definition at line 638 of file kptview.cc.
References getProject(), m_currentEstimateType, KPlato::Schedule::Pessimistic, KPlato::Node::setCurrentSchedulePtr(), slotUpdate(), and KPlato::Effort::Use_Pessimistic.
Referenced by View().
void KPlato::View::slotViewGanttResources | ( | ) | [slot] |
Definition at line 646 of file kptview.cc.
References actionViewGanttResources, m_ganttview, m_tab, KPlato::GanttView::setShowResources(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewGanttTaskName | ( | ) | [slot] |
Definition at line 654 of file kptview.cc.
References actionViewGanttTaskName, m_ganttview, m_tab, KPlato::GanttView::setShowTaskName(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewGanttTaskLinks | ( | ) | [slot] |
Definition at line 662 of file kptview.cc.
References actionViewGanttTaskLinks, m_ganttview, m_tab, KPlato::GanttView::setShowTaskLinks(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewGanttProgress | ( | ) | [slot] |
Definition at line 670 of file kptview.cc.
References actionViewGanttProgress, m_ganttview, m_tab, KPlato::GanttView::setShowProgress(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewGanttFloat | ( | ) | [slot] |
Definition at line 678 of file kptview.cc.
References actionViewGanttFloat, m_ganttview, m_tab, KPlato::GanttView::setShowPositiveFloat(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewGanttCriticalTasks | ( | ) | [slot] |
Definition at line 686 of file kptview.cc.
References actionViewGanttCriticalTasks, m_ganttview, m_tab, KPlato::GanttView::setShowCriticalTasks(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewGanttCriticalPath | ( | ) | [slot] |
Definition at line 694 of file kptview.cc.
References actionViewGanttCriticalPath, m_ganttview, m_tab, KPlato::GanttView::setShowCriticalPath(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewGanttNoInformation | ( | ) | [slot] |
Definition at line 702 of file kptview.cc.
References m_ganttview, m_tab, KPlato::GanttView::setShowNoInformation(), KPlato::GanttView::showNoInformation(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewTaskAppointments | ( | ) | [slot] |
Definition at line 710 of file kptview.cc.
References actionViewTaskAppointments, m_ganttview, m_tab, m_updateGanttview, KPlato::GanttView::setShowAppointments(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewResources | ( | ) | [slot] |
Definition at line 731 of file kptview.cc.
References m_resourceview, and m_tab.
Referenced by setContext(), KPlato::ViewAdaptor::slotViewResources(), and View().
void KPlato::View::slotViewResourceAppointments | ( | ) | [slot] |
Definition at line 737 of file kptview.cc.
References actionViewResourceAppointments, m_resourceview, m_tab, m_updateResourceview, KPlato::ResourceView::setShowAppointments(), and slotUpdate().
Referenced by View().
void KPlato::View::slotViewAccounts | ( | ) | [slot] |
Definition at line 746 of file kptview.cc.
References m_accountsview, and m_tab.
Referenced by setContext(), and View().
void KPlato::View::slotAddTask | ( | ) | [slot] |
Definition at line 905 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::TaskDialog::buildCommand(), KPlato::Project::createTask(), currentTask(), getPart(), and getProject().
Referenced by KPlato::ViewAdaptor::slotAddTask(), and View().
void KPlato::View::slotAddSubTask | ( | ) | [slot] |
Definition at line 880 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::TaskDialog::buildCommand(), KPlato::Project::createTask(), currentTask(), getPart(), and getProject().
Referenced by KPlato::ViewAdaptor::slotAddSubTask(), and View().
void KPlato::View::slotAddMilestone | ( | ) | [slot] |
Definition at line 926 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::TaskDialog::buildCommand(), KPlato::Project::createTask(), currentTask(), KPlato::Node::effort(), getPart(), getProject(), KPlato::Effort::set(), and KPlato::Duration::zeroDuration.
Referenced by KPlato::ViewAdaptor::slotAddMilestone(), and View().
void KPlato::View::slotProjectEdit | ( | ) | [slot] |
Definition at line 752 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::MainProjectDialog::buildCommand(), getPart(), and getProject().
Referenced by KPlato::ViewAdaptor::slotProjectEdit(), and View().
void KPlato::View::slotDefineWBS | ( | ) | [slot] |
void KPlato::View::slotGenerateWBS | ( | ) | [slot] |
Definition at line 959 of file kptview.cc.
References KPlato::Part::generateWBS(), getPart(), and slotUpdate().
Referenced by View().
void KPlato::View::slotConfigure | ( | ) | [slot] |
Definition at line 966 of file kptview.cc.
References getPart(), and getProject().
Referenced by KPlato::ViewAdaptor::slotConfigure(), and View().
Definition at line 1232 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::AddRelationDialog::buildCommand(), and getPart().
Referenced by slotAddRelation(), and View().
void KPlato::View::slotModifyRelation | ( | Relation * | rel | ) | [slot] |
Definition at line 1260 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::ModifyRelationDialog::buildCommand(), getPart(), and KPlato::ModifyRelationDialog::relationIsDeleted().
Referenced by slotModifyRelation(), and View().
Definition at line 1247 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::Relation::FinishFinish, KPlato::Relation::FinishStart, getPart(), slotAddRelation(), and KPlato::Relation::StartStart.
void KPlato::View::slotModifyRelation | ( | Relation * | rel, | |
int | linkType | |||
) | [slot] |
Definition at line 1277 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::Relation::FinishFinish, KPlato::Relation::FinishStart, getPart(), slotModifyRelation(), and KPlato::Relation::StartStart.
void KPlato::View::slotExportGantt | ( | ) | [slot] |
Definition at line 1290 of file kptview.cc.
References KPlato::GanttView::exportGantt(), and m_ganttview.
Referenced by View().
void KPlato::View::setTaskActionsEnabled | ( | bool | on | ) | [slot] |
void KPlato::View::slotRenameNode | ( | Node * | node, | |
const QString & | name | |||
) | [slot] |
Definition at line 1406 of file kptview.cc.
References KPlato::Part::addCommand(), and getPart().
Referenced by View().
void KPlato::View::slotPopupMenu | ( | const QString & | menuname, | |
const QPoint & | pos | |||
) | [slot] |
void KPlato::View::slotViewActivated | ( | QWidget * | ) | [protected, slot] |
void KPlato::View::slotProjectCalendar | ( | ) | [protected, slot] |
Definition at line 764 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::CalendarListDialog::buildCommand(), getPart(), and getProject().
Referenced by View().
void KPlato::View::slotProjectWorktime | ( | ) | [protected, slot] |
Definition at line 790 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::StandardWorktimeDialog::buildCommand(), getPart(), and getProject().
Referenced by View().
void KPlato::View::slotProjectCalculate | ( | ) | [protected, slot] |
void KPlato::View::slotProjectCalculateExpected | ( | ) | [protected, slot] |
Definition at line 822 of file kptview.cc.
References m_currentEstimateType, m_updateAccountsview, m_updateGanttview, m_updateResourceview, slotUpdate(), and KPlato::Effort::Use_Expected.
Referenced by View().
void KPlato::View::slotProjectCalculateOptimistic | ( | ) | [protected, slot] |
Definition at line 831 of file kptview.cc.
References m_currentEstimateType, m_updateAccountsview, m_updateGanttview, m_updateResourceview, slotUpdate(), and KPlato::Effort::Use_Optimistic.
Referenced by View().
void KPlato::View::slotProjectCalculatePessimistic | ( | ) | [protected, slot] |
Definition at line 840 of file kptview.cc.
References m_currentEstimateType, m_updateAccountsview, m_updateGanttview, m_updateResourceview, slotUpdate(), and KPlato::Effort::Use_Pessimistic.
Referenced by View().
void KPlato::View::slotProjectAccounts | ( | ) | [protected, slot] |
Definition at line 777 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::AccountsDialog::buildCommand(), getPart(), and getProject().
Referenced by View().
void KPlato::View::slotProjectResources | ( | ) | [protected, slot] |
Definition at line 803 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::ResourcesDialog::buildCommand(), getPart(), and getProject().
Referenced by View().
void KPlato::View::slotViewReportDesign | ( | ) | [protected, slot] |
Definition at line 869 of file kptview.cc.
void KPlato::View::slotViewReports | ( | ) | [protected, slot] |
Definition at line 874 of file kptview.cc.
void KPlato::View::slotOpenNode | ( | ) | [protected, slot] |
Definition at line 990 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::SummaryTaskDialog::buildCommand(), KPlato::TaskDialog::buildCommand(), KPlato::MainProjectDialog::buildCommand(), currentTask(), getPart(), getProject(), KPlato::Node::type(), KPlato::Node::Type_Milestone, KPlato::Node::Type_Project, KPlato::Node::Type_Subproject, KPlato::Node::Type_Summarytask, and KPlato::Node::Type_Task.
Referenced by View().
void KPlato::View::slotTaskProgress | ( | ) | [protected, slot] |
Definition at line 1061 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::TaskProgressDialog::buildCommand(), currentTask(), getPart(), getProject(), KPlato::Node::type(), KPlato::Node::Type_Milestone, KPlato::Node::Type_Project, KPlato::Node::Type_Subproject, KPlato::Node::Type_Summarytask, and KPlato::Node::Type_Task.
Referenced by View().
void KPlato::View::slotDeleteTask | ( | QList< Node * > | lst | ) | [protected, slot] |
Definition at line 1109 of file kptview.cc.
References KPlato::Part::addCommand(), getPart(), and slotDeleteTask().
void KPlato::View::slotDeleteTask | ( | Node * | node | ) | [protected, slot] |
Definition at line 1144 of file kptview.cc.
References KPlato::Part::addCommand(), KPlato::Node::getParent(), and getPart().
void KPlato::View::slotDeleteTask | ( | ) | [protected, slot] |
Definition at line 1155 of file kptview.cc.
References currentTask().
Referenced by slotDeleteTask(), and View().
void KPlato::View::slotIndentTask | ( | ) | [protected, slot] |
Definition at line 1161 of file kptview.cc.
References KPlato::Part::addCommand(), currentTask(), KPlato::Node::getParent(), getPart(), and getProject().
Referenced by View().
void KPlato::View::slotUnindentTask | ( | ) | [protected, slot] |
Definition at line 1175 of file kptview.cc.
References KPlato::Part::addCommand(), currentTask(), KPlato::Node::getParent(), getPart(), and getProject().
Referenced by View().
void KPlato::View::slotMoveTaskUp | ( | ) | [protected, slot] |
Definition at line 1189 of file kptview.cc.
References KPlato::Part::addCommand(), currentTask(), getPart(), getProject(), KPlato::Node::type(), and KPlato::Node::Type_Project.
Referenced by View().
void KPlato::View::slotMoveTaskDown | ( | ) | [protected, slot] |
Definition at line 1211 of file kptview.cc.
References KPlato::Part::addCommand(), currentTask(), getPart(), getProject(), KPlato::Node::type(), and KPlato::Node::Type_Project.
Referenced by View().
void KPlato::View::slotConnectNode | ( | ) | [protected, slot] |
Definition at line 1327 of file kptview.cc.
void KPlato::View::slotCurrentChanged | ( | int | ) | [protected, slot] |
Definition at line 1358 of file kptview.cc.
References m_currentview, m_tab, KPlato::ViewBase::setViewActive(), and updateView().
Referenced by View().
void KPlato::View::slotPrintDebug | ( | ) | [protected, slot] |
Definition at line 1539 of file kptview.cc.
References getPart(), KPlato::Part::getProject(), and KPlato::Project::printDebug().
Referenced by slotPrintSelectedDebug().
void KPlato::View::slotPrintSelectedDebug | ( | ) | [protected, slot] |
Definition at line 1548 of file kptview.cc.
References KPlato::GanttView::currentNode(), m_ganttview, KPlato::Node::printDebug(), and slotPrintDebug().
Referenced by View().
void KPlato::View::slotPrintCalendarDebug | ( | ) | [protected, slot] |
Definition at line 1557 of file kptview.cc.
References getPart(), KPlato::Part::getProject(), and KPlato::Project::printCalendarDebug().
Referenced by View().
void KPlato::View::slotPrintTestDebug | ( | ) | [protected, slot] |
Definition at line 1566 of file kptview.cc.
References getPart(), KPlato::XMLLoaderObject::log(), and KPlato::Part::xmlLoader().
void KPlato::View::createViewSelector | ( | ) | [protected] |
Definition at line 542 of file kptview.cc.
References KPlato::ViewListDockWidget::addCategory(), KPlato::ViewListDockWidget::addView(), m_accountsview, m_ganttview, m_resourceview, m_taskeditor, m_viewlist, and slotViewActivated().
Referenced by View().
void KPlato::View::updateReadWrite | ( | bool | readwrite | ) | [protected, virtual] |
Definition at line 1319 of file kptview.cc.
Node * KPlato::View::currentTask | ( | ) | [protected] |
Definition at line 974 of file kptview.cc.
References KPlato::ResourceView::currentNode(), KPlato::GanttView::currentNode(), getProject(), m_ganttview, m_resourceview, m_tab, m_taskeditor, and KPlato::TaskEditor::selectedNode().
Referenced by slotAddMilestone(), slotAddSubTask(), slotAddTask(), slotDeleteTask(), slotIndentTask(), slotMoveTaskDown(), slotMoveTaskUp(), slotOpenNode(), slotTaskProgress(), and slotUnindentTask().
void KPlato::View::updateView | ( | QWidget * | widget | ) | [protected] |
Definition at line 1370 of file kptview.cc.
References actionViewExpected, actionViewOptimistic, actionViewPessimistic, KPlato::AccountsView::draw(), KPlato::ResourceView::draw(), KPlato::GanttView::drawChanges(), getPart(), getProject(), m_accountsview, m_ganttview, m_resourceview, m_taskeditor, m_updateAccountsview, m_updateGanttview, m_updateResourceview, setScheduleActionsEnabled(), KPlato::GanttView::setShowExpected(), KPlato::GanttView::setShowOptimistic(), KPlato::GanttView::setShowPessimistic(), and setTaskActionsEnabled().
Referenced by slotCurrentChanged(), and slotUpdate().
QStackedWidget* KPlato::View::m_tab [private] |
Definition at line 245 of file kptview.h.
Referenced by currentTask(), getContext(), print(), slotCurrentChanged(), slotUpdate(), slotViewAccounts(), slotViewActivated(), slotViewGantt(), slotViewGanttCriticalPath(), slotViewGanttCriticalTasks(), slotViewGanttFloat(), slotViewGanttNoInformation(), slotViewGanttProgress(), slotViewGanttResources(), slotViewGanttTaskLinks(), slotViewGanttTaskName(), slotViewResourceAppointments(), slotViewResources(), slotViewTaskAppointments(), and View().
ViewBase* KPlato::View::m_currentview [private] |
GanttView* KPlato::View::m_ganttview [private] |
Definition at line 247 of file kptview.h.
Referenced by createViewSelector(), currentTask(), getContext(), print(), setContext(), setTaskActionsEnabled(), setZoom(), slotExportGantt(), slotPrintSelectedDebug(), slotViewGantt(), slotViewGanttCriticalPath(), slotViewGanttCriticalTasks(), slotViewGanttFloat(), slotViewGanttNoInformation(), slotViewGanttProgress(), slotViewGanttResources(), slotViewGanttTaskLinks(), slotViewGanttTaskName(), slotViewTaskAppointments(), updateView(), and View().
ResourceView* KPlato::View::m_resourceview [private] |
Definition at line 248 of file kptview.h.
Referenced by createViewSelector(), currentTask(), getContext(), print(), setContext(), slotEditResource(), slotViewResourceAppointments(), slotViewResources(), updateView(), and View().
AccountsView* KPlato::View::m_accountsview [private] |
Definition at line 249 of file kptview.h.
Referenced by createViewSelector(), getContext(), print(), setContext(), slotViewAccounts(), updateView(), and View().
TaskEditor* KPlato::View::m_taskeditor [private] |
Definition at line 250 of file kptview.h.
Referenced by createViewSelector(), currentTask(), updateView(), and View().
ViewListDockWidget* KPlato::View::m_viewlist [private] |
Definition at line 254 of file kptview.h.
Referenced by createViewSelector(), and slotViewSelector().
int KPlato::View::m_viewGrp [private] |
int KPlato::View::m_defaultFontSize [private] |
int KPlato::View::m_currentEstimateType [private] |
Definition at line 258 of file kptview.h.
Referenced by getContext(), projectCalculate(), setContext(), slotProjectCalculateExpected(), slotProjectCalculateOptimistic(), slotProjectCalculatePessimistic(), slotViewExpected(), slotViewOptimistic(), and slotViewPessimistic().
bool KPlato::View::m_updateGanttview [private] |
Definition at line 260 of file kptview.h.
Referenced by slotProjectCalculateExpected(), slotProjectCalculateOptimistic(), slotProjectCalculatePessimistic(), slotUpdate(), slotViewTaskAppointments(), updateView(), and View().
bool KPlato::View::m_updateResourceview [private] |
Definition at line 261 of file kptview.h.
Referenced by slotProjectCalculateExpected(), slotProjectCalculateOptimistic(), slotProjectCalculatePessimistic(), slotUpdate(), slotViewResourceAppointments(), updateView(), and View().
bool KPlato::View::m_updateAccountsview [private] |
Definition at line 262 of file kptview.h.
Referenced by slotProjectCalculateExpected(), slotProjectCalculateOptimistic(), slotProjectCalculatePessimistic(), slotUpdate(), updateView(), and View().
KStatusBarLabel* KPlato::View::m_estlabel [private] |
Definition at line 264 of file kptview.h.
Referenced by setScheduleActionsEnabled(), View(), and ~View().
ViewAdaptor* KPlato::View::m_dbus [private] |
KAction* KPlato::View::actionCut [private] |
KAction* KPlato::View::actionCopy [private] |
KAction* KPlato::View::actionPaste [private] |
KAction* KPlato::View::actionIndentTask [private] |
KAction* KPlato::View::actionUnindentTask [private] |
KAction* KPlato::View::actionMoveTaskUp [private] |
KAction* KPlato::View::actionMoveTaskDown [private] |
KAction* KPlato::View::actionViewGantt [private] |
KToggleAction* KPlato::View::actionViewSelector [private] |
KToggleAction* KPlato::View::actionViewExpected [private] |
Definition at line 283 of file kptview.h.
Referenced by getContext(), setContext(), setScheduleActionsEnabled(), updateView(), and View().
KToggleAction* KPlato::View::actionViewOptimistic [private] |
Definition at line 284 of file kptview.h.
Referenced by getContext(), setContext(), setScheduleActionsEnabled(), updateView(), and View().
KToggleAction* KPlato::View::actionViewPessimistic [private] |
Definition at line 285 of file kptview.h.
Referenced by getContext(), setContext(), setScheduleActionsEnabled(), updateView(), and View().
KToggleAction* KPlato::View::actionViewGanttResources [private] |
Definition at line 287 of file kptview.h.
Referenced by setContext(), slotViewGanttResources(), and View().
KToggleAction* KPlato::View::actionViewGanttTaskName [private] |
Definition at line 288 of file kptview.h.
Referenced by setContext(), slotViewGanttTaskName(), and View().
KToggleAction* KPlato::View::actionViewGanttTaskLinks [private] |
Definition at line 289 of file kptview.h.
Referenced by setContext(), slotViewGanttTaskLinks(), and View().
KToggleAction* KPlato::View::actionViewGanttProgress [private] |
Definition at line 290 of file kptview.h.
Referenced by setContext(), slotViewGanttProgress(), and View().
KToggleAction* KPlato::View::actionViewGanttFloat [private] |
Definition at line 291 of file kptview.h.
Referenced by setContext(), slotViewGanttFloat(), and View().
KToggleAction* KPlato::View::actionViewGanttCriticalTasks [private] |
Definition at line 292 of file kptview.h.
Referenced by setContext(), slotViewGanttCriticalTasks(), and View().
KToggleAction* KPlato::View::actionViewGanttCriticalPath [private] |
Definition at line 293 of file kptview.h.
Referenced by setContext(), slotViewGanttCriticalPath(), and View().
KToggleAction* KPlato::View::actionViewGanttNotScheduled [private] |
KToggleAction* KPlato::View::actionViewTaskAppointments [private] |
KAction* KPlato::View::actionViewResources [private] |
KToggleAction* KPlato::View::actionViewResourceAppointments [private] |
KAction* KPlato::View::actionViewAccounts [private] |
KAction* KPlato::View::actionAddTask [private] |
KAction* KPlato::View::actionAddSubtask [private] |
KAction* KPlato::View::actionAddMilestone [private] |
KAction* KPlato::View::actionEditMainProject [private] |
KAction* KPlato::View::actionEditStandardWorktime [private] |
KAction* KPlato::View::actionEditCalendar [private] |
KAction* KPlato::View::actionEditAccounts [private] |
KAction* KPlato::View::actionEditResources [private] |
KActionMenu* KPlato::View::actionCalculate [private] |
KAction* KPlato::View::actionCalculateExpected [private] |
KAction* KPlato::View::actionCalculateOptimistic [private] |
KAction* KPlato::View::actionCalculatePessimistic [private] |
KAction* KPlato::View::actionFirstpage [private] |
KAction* KPlato::View::actionPriorpage [private] |
KAction* KPlato::View::actionNextpage [private] |
KAction* KPlato::View::actionLastpage [private] |
KAction* KPlato::View::actionDefineWBS [private] |
KAction* KPlato::View::actionGenerateWBS [private] |
KAction* KPlato::View::actionExportGantt [private] |
KAction* KPlato::View::actionConfigure [private] |
KAction* KPlato::View::actionOpenNode [private] |
KAction* KPlato::View::actionTaskProgress [private] |
KAction* KPlato::View::actionDeleteTask [private] |
KAction* KPlato::View::actionEditResource [private] |
KAction* KPlato::View::actNoInformation [private] |