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 DateTimeSpan &s1, const DateTimeSpan &s2)
 
bool operator!= (const Span &s1, const Span &s2)
 
bool operator== (const DateTimeSpan &s1, const DateTimeSpan &s2)
 
bool operator== (const Span &s1, const Span &s2)
 
uint qHash (const Constraint &c)
 

Detailed Description

Global namespace.

Enumeration Type Documentation

◆ ItemDataRole

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 completion 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 212 of file kganttglobal.h.

◆ ItemType

enum KGantt::ItemType

Definition at line 228 of file kganttglobal.h.

Function Documentation

◆ operator!=() [1/2]

bool KGantt::operator!= ( const DateTimeSpan & s1,
const DateTimeSpan & s2 )
inline

Definition at line 296 of file kganttglobal.h.

◆ operator!=() [2/2]

bool KGantt::operator!= ( const Span & s1,
const Span & s2 )
inline

Definition at line 270 of file kganttglobal.h.

◆ operator==() [1/2]

bool KGantt::operator== ( const DateTimeSpan & s1,
const DateTimeSpan & s2 )
inline

Definition at line 295 of file kganttglobal.h.

◆ operator==() [2/2]

bool KGantt::operator== ( const Span & s1,
const Span & s2 )
inline

Definition at line 269 of file kganttglobal.h.

◆ qHash()

uint KGantt::qHash ( const Constraint & c)
inline

Definition at line 152 of file kganttconstraint.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:52:04 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.