kdgantt
KDGanttViewTaskLinkGroup Class Reference
#include <KDGanttViewTaskLinkGroup.h>
Detailed Description
A group of task links.This class groups a number of task links together in order to manipulate them uniformly.
Definition at line 45 of file KDGanttViewTaskLinkGroup.h.
Public Member Functions | |
KDGanttViewTaskLinkGroup (const QString &name) | |
KDGanttViewTaskLinkGroup () | |
~KDGanttViewTaskLinkGroup () | |
void | insert (KDGanttViewTaskLink *) |
bool | remove (KDGanttViewTaskLink *) |
void | setVisible (bool show) |
bool | visible () const |
void | setHighlight (bool highlight) |
bool | highlight () const |
void | setColor (const QColor &color) |
QColor | color () const |
void | setHighlightColor (const QColor &color) |
QColor | highlightColor () const |
void | createNode (QDomDocument &doc, QDomElement &parentElement) |
void | generateAndInsertName (const QString &name) |
Static Public Member Functions | |
static KDGanttViewTaskLinkGroup * | find (const QString &name) |
static KDGanttViewTaskLinkGroup * | createFromDomElement (QDomElement &) |
Friends | |
class | KDTimeTableWidget |
class | KDGanttViewTaskLink |
Constructor & Destructor Documentation
|
Constructs an empty task link group and records it under the name name so that it can later be found again with KDGanttViewTaskLinkGroup::find().
Definition at line 77 of file KDGanttViewTaskLinkGroup.cpp. |
|
Constructs an empty task link group Definition at line 51 of file KDGanttViewTaskLinkGroup.cpp. |
|
Destructor Removes this task link group from the list of task link groups in the KDGanttView class. Definition at line 61 of file KDGanttViewTaskLinkGroup.cpp. |
Member Function Documentation
|
Returns the color in which the task links in this group are drawn. If task links have been assigned individual colors, the return value of this method is undefined. This method is not particularly useful and is mainly provided for API uniformity reasons.
Definition at line 201 of file KDGanttViewTaskLinkGroup.cpp. |
|
Creates a KDGanttViewTaskLinkGroup according to the specification in a DOM element.
Definition at line 309 of file KDGanttViewTaskLinkGroup.cpp. |
|
Creates a DOM node that describes this task link group.
Definition at line 285 of file KDGanttViewTaskLinkGroup.cpp. |
|
Returns the task link group with the specified name.
Definition at line 271 of file KDGanttViewTaskLinkGroup.cpp. |
|
Generates a unique name if necessary and inserts it into the group dictionary. Definition at line 365 of file KDGanttViewTaskLinkGroup.cpp. |
|
Returns whether all task links in this group are highlighted, either programmatically by setHighlight() or by the user with the mouse. This method is not particularly useful and is mainly provided for API uniformity reasons.
Definition at line 170 of file KDGanttViewTaskLinkGroup.cpp. |
|
Returns the highlight color in which the task links in this group are drawn. If task links have been assigned individual highlight colors, the return value of this method is undefined. This method is not particularly useful and is mainly provided for API uniformity reasons.
Definition at line 233 of file KDGanttViewTaskLinkGroup.cpp. |
|
Adds a task link LINK to this group. If the task link is already a member of another group, it will be removed from it. This function is equivalent to LINK->setGroup(this), where this is a pointer to this TaskLinkGroup.
Definition at line 91 of file KDGanttViewTaskLinkGroup.cpp. |
|
Removes a task link LINK from this group. You may remove a tasklink LINK from its group with LINK->setGroup(0).
Definition at line 105 of file KDGanttViewTaskLinkGroup.cpp. |
|
Specifies the color to draw the task links in this group in.
Definition at line 182 of file KDGanttViewTaskLinkGroup.cpp. |
|
Specifies whether the task links of this group should be shown highlighted. The user can also highlight a task link with the mouse.
Definition at line 151 of file KDGanttViewTaskLinkGroup.cpp. |
|
Specifies the highlight color to draw the task links in this group in.
Definition at line 213 of file KDGanttViewTaskLinkGroup.cpp. |
|
Specifies whether the task links of this group should be visible or not.
Definition at line 121 of file KDGanttViewTaskLinkGroup.cpp. |
|
Returns whether the task links of this group should be visible or not.
Definition at line 137 of file KDGanttViewTaskLinkGroup.cpp. |
The documentation for this class was generated from the following files: