KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
KDGantt Namespace Reference

Classes

class  AbstractGrid
 Abstract baseclass for grids. More...
 
class  AbstractRowController
 Abstract baseclass for row controllers. More...
 
class  Constraint
 A class used to represent a dependency. More...
 
class  ConstraintGraphicsItem
 
class  ConstraintModel
 The ConstraintModel keeps track of the interdependencies between gantt items in a View. More...
 
class  ConstraintProxy
 
class  DateTimeGrid
 This implementation of AbstractGrid works with QDateTime and shows days and week numbers in the header. More...
 
class  DateTimeScaleFormatter
 This class formats dates and times used in DateTimeGrid follawing a given format. More...
 
class  DateTimeSpan
 
class  ForwardingProxyModel
 
class  GraphicsItem
 
class  GraphicsScene
 
class  GraphicsView
 The GraphicsView class provides a model/view implementation of a gantt chart. More...
 
class  ItemDelegate
 Class used to render gantt items in a KDGantt::GraphicsView. More...
 
class  Legend
 Legend showing an image and a description for Gantt items. More...
 
class  ListViewRowController
 
class  ProxyModel
 
class  Span
 A class representing a start point and a length. More...
 
class  StyleOptionGanttItem
 QStyleOption subclass for gantt items. More...
 
class  SummaryHandlingProxyModel
 Proxy model that supports summary gantt items. More...
 
class  TreeViewRowController
 
class  View
 This widget that consists of a QTreeView and a GraphicsView. More...
 

Typedefs

using DataMap = QMap< int, QVariant >
 

Enumerations

enum  ItemDataRole {
  KDGanttRoleBase = Qt::UserRole + 1174 , StartTimeRole = KDGanttRoleBase + 1 , EndTimeRole = KDGanttRoleBase + 2 , TaskCompletionRole = KDGanttRoleBase + 3 ,
  ItemTypeRole = KDGanttRoleBase + 4 , LegendRole = KDGanttRoleBase + 5 , TextPositionRole = KDGanttRoleBase + 6
}
 KDGantt::KDGanttRoleBase The base value used for the KDGantt role enum values. More...
 
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)
 

Typedef Documentation

◆ DataMap

using KDGantt::DataMap = typedef QMap<int, QVariant>

Definition at line 26 of file kdganttconstraint.h.

Enumeration Type Documentation

◆ ItemDataRole

KDGantt::KDGanttRoleBase The base value used for the KDGantt role enum values.

KDGantt::TextPositionRole The position of the text label on the item.

KDGantt::ItemTypeRole The item type.

KDGantt::TaskCompletionRole Task completion percentage used by Task items.

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

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

The actual roles have values base+1, base+2, ...

Should be an integer og a qreal between 0 and 100.

See also
KDGantt::ItemType.

The type of this value is KDGantt::StyleOptionGanttItem::Position and the default values is Right.

Enumerator
KDGanttRoleBase 
StartTimeRole 
EndTimeRole 
TaskCompletionRole 
ItemTypeRole 
LegendRole 
TextPositionRole 

Definition at line 264 of file kdganttglobal.h.

◆ ItemType

Enumerator
TypeNone 
TypeEvent 
TypeTask 
TypeSummary 
TypeMulti 
TypeUser 

Definition at line 274 of file kdganttglobal.h.

Function Documentation

◆ operator!=() [1/2]

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

Definition at line 402 of file kdganttglobal.h.

References KDGantt::DateTimeSpan::equals(), and operator!=().

◆ operator!=() [2/2]

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

Definition at line 357 of file kdganttglobal.h.

References KDGantt::Span::equals(), and operator!=().

Referenced by operator!=(), and operator!=().

◆ operator==() [1/2]

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

Definition at line 398 of file kdganttglobal.h.

References KDGantt::DateTimeSpan::equals().

◆ operator==() [2/2]

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

Definition at line 353 of file kdganttglobal.h.

References KDGantt::Span::equals().

◆ qHash()

uint KDGantt::qHash ( const Constraint c)
inline

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Fri Apr 26 2024 00:04:58 for KD Chart API Documentation by doxygen 1.9.8