kplato

KPlato::GanttView Class Reference

List of all members.

Detailed Description

Definition at line 55 of file kptganttview.h.


Public Slots

void popupMenuRequested (KDGanttViewItem *item, const QPoint &pos, int)
void setShowExpected (bool on)
void setShowOptimistic (bool on)
void setShowPessimistic (bool on)
void setShowResources (bool on)
void setShowTaskName (bool on)
void setShowTaskLinks (bool on)
void setShowProgress (bool on)
void setShowPositiveFloat (bool on)
void setShowCriticalTasks (bool on)
void setShowCriticalPath (bool on)
void setShowNoInformation (bool on)
void setShowAppointments (bool on)

Signals

void enableActions (bool)
void modifyRelation (Relation *rel)
void addRelation (Node *par, Node *child)
void modifyRelation (Relation *rel, int linkType)
void addRelation (Node *par, Node *child, int linkType)
void itemDoubleClicked ()
void itemRenamed (Node *, const QString &)
void requestPopupMenu (const QString &menuname, const QPoint &pos)

Public Member Functions

 GanttView (QWidget *parent, bool readWrite=true, const char *name=0)
void setZoom (double zoom)
void draw (Project &project)
void drawChanges (Project &project)
void drawOnPainter (QPainter *painter, const QRect rect)
NodecurrentNode () const
void clear ()
void print (KPrinter &prts)
void addTaskLink (KDGanttViewTaskLink *link)
bool exportGantt (QIODevice *device)
virtual bool setContext (Context::Ganttview &context, Project &project)
virtual void getContext (Context::Ganttview &context) const
void setReadWriteMode (bool on)
bool isReadWriteMode () const
KDGanttViewItem * currentItem () const
bool showNoInformation () const

Protected Member Functions

int linkTypeToRelation (int linkType)
void setRenameEnabled (QListViewItem *item, bool on)

Member Function Documentation

void KPlato::GanttView::drawOnPainter ( QPainter *  painter,
const QRect  rect 
)

Call draw() or drawChanges() before calling this.

Definition at line 216 of file kptganttview.cc.

void KPlato::GanttView::requestPopupMenu ( const QString &  menuname,
const QPoint &  pos 
) [signal]

Requests a specific type of popup menu.

Usually a KPlato::View object is connected to this signal.

void KPlato::GanttView::popupMenuRequested ( KDGanttViewItem *  item,
const QPoint &  pos,
int   
) [slot]

Determines the correct type of popup menu and emits requestPopupMenu().

Definition at line 973 of file kptganttview.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys