KPlato::View Class Reference

#include <kptview.h>

List of all members.

Public Slots

void slotUpdate (bool calculate)
void slotEditResource ()
void slotEditCut ()
void slotEditCopy ()
void slotEditPaste ()
void slotViewSelector (bool show)
void slotViewGantt ()
void slotViewExpected ()
void slotViewOptimistic ()
void slotViewPessimistic ()
void slotViewGanttResources ()
void slotViewGanttTaskName ()
void slotViewGanttTaskLinks ()
void slotViewGanttProgress ()
void slotViewGanttFloat ()
void slotViewGanttCriticalTasks ()
void slotViewGanttCriticalPath ()
void slotViewGanttNoInformation ()
void slotViewTaskAppointments ()
void slotViewResources ()
void slotViewResourceAppointments ()
void slotViewAccounts ()
void slotAddTask ()
void slotAddSubTask ()
void slotAddMilestone ()
void slotProjectEdit ()
void slotDefineWBS ()
void slotGenerateWBS ()
void slotConfigure ()
void slotAddRelation (Node *par, Node *child)
void slotModifyRelation (Relation *rel)
void slotAddRelation (Node *par, Node *child, int linkType)
void slotModifyRelation (Relation *rel, int linkType)
void slotExportGantt ()
void setTaskActionsEnabled (bool on)
void slotRenameNode (Node *node, const QString &name)
void slotPopupMenu (const QString &menuname, const QPoint &pos)

Public Member Functions

 View (Part *part, QWidget *parent=0)
 ~View ()
virtual void setZoom (double zoom)
PartgetPart () const
ProjectgetProject () const
virtual void setupPrinter (KPrinter &printer)
virtual void print (KPrinter &printer)
QMenu * popupMenu (const QString &name)
void projectCalculate ()
virtual ViewAdaptordbusObject ()
virtual bool setContext (Context &context)
virtual void getContext (Context &context) const
void setTaskActionsEnabled (QWidget *w, bool on)
void setScheduleActionsEnabled ()

Protected Slots

void slotViewActivated (QWidget *)
void slotProjectCalendar ()
void slotProjectWorktime ()
void slotProjectCalculate ()
void slotProjectCalculateExpected ()
void slotProjectCalculateOptimistic ()
void slotProjectCalculatePessimistic ()
void slotProjectAccounts ()
void slotProjectResources ()
void slotViewReportDesign ()
void slotViewReports ()
void slotOpenNode ()
void slotTaskProgress ()
void slotDeleteTask (QList< Node * > lst)
void slotDeleteTask (Node *node)
void slotDeleteTask ()
void slotIndentTask ()
void slotUnindentTask ()
void slotMoveTaskUp ()
void slotMoveTaskDown ()
void slotConnectNode ()
void slotCurrentChanged (int)
void slotPrintDebug ()
void slotPrintSelectedDebug ()
void slotPrintCalendarDebug ()
void slotPrintTestDebug ()

Protected Member Functions

void createViewSelector ()
virtual void updateReadWrite (bool readwrite)
NodecurrentTask ()
void updateView (QWidget *widget)

Private Attributes

QStackedWidget * m_tab
ViewBasem_currentview
GanttViewm_ganttview
ResourceViewm_resourceview
AccountsViewm_accountsview
TaskEditorm_taskeditor
ViewListDockWidgetm_viewlist
int m_viewGrp
int m_defaultFontSize
int m_currentEstimateType
bool m_updateGanttview
bool m_updateResourceview
bool m_updateAccountsview
KStatusBarLabel * m_estlabel
ViewAdaptorm_dbus
KAction * actionCut
KAction * actionCopy
KAction * actionPaste
KAction * actionIndentTask
KAction * actionUnindentTask
KAction * actionMoveTaskUp
KAction * actionMoveTaskDown
KAction * actionViewGantt
KToggleAction * actionViewSelector
KToggleAction * actionViewExpected
KToggleAction * actionViewOptimistic
KToggleAction * actionViewPessimistic
KToggleAction * actionViewGanttResources
KToggleAction * actionViewGanttTaskName
KToggleAction * actionViewGanttTaskLinks
KToggleAction * actionViewGanttProgress
KToggleAction * actionViewGanttFloat
KToggleAction * actionViewGanttCriticalTasks
KToggleAction * actionViewGanttCriticalPath
KToggleAction * actionViewGanttNotScheduled
KToggleAction * actionViewTaskAppointments
KAction * actionViewResources
KToggleAction * actionViewResourceAppointments
KAction * actionViewAccounts
KAction * actionAddTask
KAction * actionAddSubtask
KAction * actionAddMilestone
KAction * actionEditMainProject
KAction * actionEditStandardWorktime
KAction * actionEditCalendar
KAction * actionEditAccounts
KAction * actionEditResources
KActionMenu * actionCalculate
KAction * actionCalculateExpected
KAction * actionCalculateOptimistic
KAction * actionCalculatePessimistic
KAction * actionFirstpage
KAction * actionPriorpage
KAction * actionNextpage
KAction * actionLastpage
KAction * actionDefineWBS
KAction * actionGenerateWBS
KAction * actionExportGantt
KAction * actionConfigure
KAction * actionOpenNode
KAction * actionTaskProgress
KAction * actionDeleteTask
KAction * actionEditResource
KAction * actNoInformation


Detailed Description

Definition at line 124 of file kptview.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 531 of file kptview.cc.

References m_estlabel.


Member Function Documentation

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]

Definition at line 537 of file kptview.cc.

References m_dbus.

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]

Definition at line 719 of file kptview.cc.

References m_viewlist.

Referenced by View().

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]

Definition at line 950 of file kptview.cc.

References getPart().

Referenced by View().

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().

void KPlato::View::slotAddRelation ( Node par,
Node child 
) [slot]

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().

void KPlato::View::slotAddRelation ( Node par,
Node child,
int  linkType 
) [slot]

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]

Definition at line 1510 of file kptview.cc.

References m_ganttview, and setTaskActionsEnabled().

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]

Definition at line 1415 of file kptview.cc.

References popupMenu().

Referenced by View().

void KPlato::View::slotViewActivated ( QWidget *   )  [protected, slot]

Definition at line 561 of file kptview.cc.

References m_tab.

Referenced by createViewSelector().

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]

Definition at line 816 of file kptview.cc.

References slotUpdate().

Referenced by View().

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().


Member Data Documentation

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]

Definition at line 246 of file kptview.h.

Referenced by slotCurrentChanged(), and View().

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]

Definition at line 256 of file kptview.h.

int KPlato::View::m_defaultFontSize [private]

Definition at line 257 of file kptview.h.

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]

Definition at line 266 of file kptview.h.

Referenced by dbusObject(), and View().

KAction* KPlato::View::actionCut [private]

Definition at line 269 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionCopy [private]

Definition at line 270 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionPaste [private]

Definition at line 271 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionIndentTask [private]

Definition at line 273 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionUnindentTask [private]

Definition at line 274 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionMoveTaskUp [private]

Definition at line 275 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionMoveTaskDown [private]

Definition at line 276 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionViewGantt [private]

Definition at line 279 of file kptview.h.

Referenced by View().

KToggleAction* KPlato::View::actionViewSelector [private]

Definition at line 281 of file kptview.h.

Referenced by View().

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]

Definition at line 294 of file kptview.h.

KToggleAction* KPlato::View::actionViewTaskAppointments [private]

Definition at line 295 of file kptview.h.

Referenced by slotViewTaskAppointments(), and View().

KAction* KPlato::View::actionViewResources [private]

Definition at line 297 of file kptview.h.

Referenced by View().

KToggleAction* KPlato::View::actionViewResourceAppointments [private]

Definition at line 298 of file kptview.h.

Referenced by slotViewResourceAppointments(), and View().

KAction* KPlato::View::actionViewAccounts [private]

Definition at line 299 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionAddTask [private]

Definition at line 302 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionAddSubtask [private]

Definition at line 303 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionAddMilestone [private]

Definition at line 304 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionEditMainProject [private]

Definition at line 307 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionEditStandardWorktime [private]

Definition at line 308 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionEditCalendar [private]

Definition at line 309 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionEditAccounts [private]

Definition at line 310 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionEditResources [private]

Definition at line 311 of file kptview.h.

Referenced by View().

KActionMenu* KPlato::View::actionCalculate [private]

Definition at line 312 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionCalculateExpected [private]

Definition at line 313 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionCalculateOptimistic [private]

Definition at line 314 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionCalculatePessimistic [private]

Definition at line 315 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionFirstpage [private]

Definition at line 317 of file kptview.h.

KAction* KPlato::View::actionPriorpage [private]

Definition at line 318 of file kptview.h.

KAction* KPlato::View::actionNextpage [private]

Definition at line 319 of file kptview.h.

KAction* KPlato::View::actionLastpage [private]

Definition at line 320 of file kptview.h.

KAction* KPlato::View::actionDefineWBS [private]

Definition at line 323 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionGenerateWBS [private]

Definition at line 324 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionExportGantt [private]

Definition at line 327 of file kptview.h.

KAction* KPlato::View::actionConfigure [private]

Definition at line 330 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionOpenNode [private]

Definition at line 333 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionTaskProgress [private]

Definition at line 334 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actionDeleteTask [private]

Definition at line 335 of file kptview.h.

Referenced by setTaskActionsEnabled(), and View().

KAction* KPlato::View::actionEditResource [private]

Definition at line 336 of file kptview.h.

Referenced by View().

KAction* KPlato::View::actNoInformation [private]

Definition at line 339 of file kptview.h.

Referenced by View().


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