KGantt

KGantt Namespace Reference

Classes

class  AbstractGrid
 
class  AbstractRowController
 
class  Constraint
 
class  ConstraintGraphicsItem
 
class  ConstraintModel
 
class  ConstraintProxy
 
class  DateTimeGrid
 
class  DateTimeScaleFormatter
 
class  DateTimeTimeLine
 
class  GraphicsItem
 
class  GraphicsScene
 
class  GraphicsView
 
class  ItemDelegate
 
class  Legend
 
class  ListViewRowController
 
class  PrintingContext
 
class  Span
 
class  StyleOptionGanttItem
 
class  SummaryHandlingProxyModel
 
class  TreeViewRowController
 
class  View
 

Enumerations

enum  ItemDataRole {
  KGanttRoleBase = Qt::UserRole + 1174, StartTimeRole = KGanttRoleBase + 1, EndTimeRole = KGanttRoleBase + 2, TaskCompletionRole = KGanttRoleBase + 3,
  ItemTypeRole = KGanttRoleBase + 4, LegendRole = KGanttRoleBase + 5, TextPositionRole = KGanttRoleBase + 6
}
 
enum  ItemType {
  TypeNone = 0, TypeEvent = 1, TypeTask = 2, TypeSummary = 3,
  TypeMulti = 4, TypeUser = 1000
}
 

Functions

bool operator!= (const Span &s1, const Span &s2)
 
bool operator!= (const DateTimeSpan &s1, const DateTimeSpan &s2)
 
bool operator== (const Span &s1, const Span &s2)
 
bool operator== (const DateTimeSpan &s1, const DateTimeSpan &s2)
 
uint qHash (const Constraint &c)
 

Detailed Description

Global namespace.

Enumeration Type Documentation

Enumerator
KGanttRoleBase 

The base value used for the KGantt role enum values. The actual roles have values base+1, base+2, ...

StartTimeRole 

Start time (or other start value) for a gantt item.

EndTimeRole 

End time (or other end value) for a gantt item.

TaskCompletionRole 

Task completetion percentage used by Task items. Should be an integer og a qreal between 0 and 100.

ItemTypeRole 

The item type.

See also
KGantt::ItemType.
LegendRole 

The Legend text.

TextPositionRole 

The position of the text label on the item. The type of this value is KGantt::StyleOptionGanttItem::Position and the default values is Right.

Definition at line 223 of file kganttglobal.h.

The values of this enum are used to represent the different types of gantt items that KGantt understands. The itemtype is served through the KGantt::ItemTypeRole role

Definition at line 239 of file kganttglobal.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jan 20 2021 22:39:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.