#include <kptcanvasitem.h>
Inherits KPlato::ItemBase.
Inheritance diagram for KPlato::GanttViewSummaryItem:
Public Member Functions | |
GanttViewSummaryItem (KDGanttView *parent, Node *node) | |
GanttViewSummaryItem (KDGanttViewItem *parent, Node *node) | |
Node * | getNode () |
void | insertRelations (GanttView *view) |
KDGanttViewItem * | find (Node *node) |
KDGanttViewItem * | find (KDGanttViewItem *item, Node *node) |
KDGanttView * | ganttView () const |
bool | isDrawn () const |
void | setDrawn (bool drawn) |
Protected Attributes | |
Node * | m_node |
KDGanttView * | m_view |
bool | m_drawn |
Definition at line 55 of file kptcanvasitem.h.
KPlato::GanttViewSummaryItem::GanttViewSummaryItem | ( | KDGanttView * | parent, | |
Node * | node | |||
) |
Definition at line 58 of file kptcanvasitem.cc.
KPlato::GanttViewSummaryItem::GanttViewSummaryItem | ( | KDGanttViewItem * | parent, | |
Node * | node | |||
) |
Node* KPlato::GanttViewSummaryItem::getNode | ( | ) | [inline] |
void KPlato::GanttViewSummaryItem::insertRelations | ( | GanttView * | view | ) |
Definition at line 80 of file kptcanvasitem.cc.
References KPlato::GanttView::addTaskLink(), KPlato::Relation::child(), KPlato::Node::dependChildNodes(), find(), KPlato::Duration::Format_i18nDayTime, KPlato::ItemBase::kdLinkType(), KPlato::Relation::lag(), m_node, m_view, KPlato::Duration::toString(), KPlato::Relation::type(), and KPlato::Duration::zeroDuration.
Referenced by KPlato::GanttView::drawRelations().
KDGanttViewItem * KPlato::GanttViewSummaryItem::find | ( | Node * | node | ) |
Definition at line 102 of file kptcanvasitem.cc.
References m_node.
Referenced by insertRelations().
KDGanttViewItem * KPlato::GanttViewSummaryItem::find | ( | KDGanttViewItem * | item, | |
Node * | node | |||
) |
Definition at line 116 of file kptcanvasitem.cc.
KDGanttView* KPlato::GanttViewSummaryItem::ganttView | ( | ) | const [inline] |
Definition at line 65 of file kptcanvasitem.h.
References m_view.
Referenced by KPlato::GanttViewEventItem::GanttViewEventItem(), GanttViewSummaryItem(), and KPlato::GanttViewTaskItem::GanttViewTaskItem().
bool KPlato::GanttViewSummaryItem::isDrawn | ( | ) | const [inline] |
void KPlato::GanttViewSummaryItem::setDrawn | ( | bool | drawn | ) | [inline] |
Node* KPlato::GanttViewSummaryItem::m_node [protected] |
Definition at line 70 of file kptcanvasitem.h.
Referenced by find(), getNode(), and insertRelations().
KDGanttView* KPlato::GanttViewSummaryItem::m_view [protected] |
Definition at line 71 of file kptcanvasitem.h.
Referenced by ganttView(), GanttViewSummaryItem(), and insertRelations().
bool KPlato::GanttViewSummaryItem::m_drawn [protected] |
Definition at line 72 of file kptcanvasitem.h.
Referenced by GanttViewSummaryItem(), isDrawn(), and setDrawn().