![]() |
KD Chart API Documentation
3.1
|
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 } |
The values of this enum are used for the special data roles for gantt items. More... | |
enum | ItemType { TypeNone = 0 , TypeEvent = 1 , TypeTask = 2 , TypeSummary = 3 , TypeMulti = 4 , TypeUser = 1000 } |
The values of this enum are used to represent the different types of gantt items that KDGantt understands. More... | |
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) |
using KDGantt::DataMap = typedef QMap<int, QVariant> |
Definition at line 26 of file kdganttconstraint.h.
The values of this enum are used for the special data roles for gantt items.
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.
KDGantt::KDGanttRoleBase The base value used for the KDGantt role enum values.
The actual roles have values base+1, base+2, ...
Should be an integer og a qreal between 0 and 100.
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.
enum KDGantt::ItemType |
The values of this enum are used to represent the different types of gantt items that KDGantt understands.
The itemtype is served through the KDGantt::ItemTypeRole role
Enumerator | |
---|---|
TypeNone | |
TypeEvent | |
TypeTask | |
TypeSummary | |
TypeMulti | |
TypeUser |
Definition at line 274 of file kdganttglobal.h.
|
inline |
Definition at line 402 of file kdganttglobal.h.
References KDGantt::DateTimeSpan::equals().
Definition at line 357 of file kdganttglobal.h.
References KDGantt::Span::equals().
|
inline |
Definition at line 398 of file kdganttglobal.h.
References KDGantt::DateTimeSpan::equals().
Definition at line 353 of file kdganttglobal.h.
References KDGantt::Span::equals().
Referenced by KDGantt::Constraint::operator!=().
|
inline |
Definition at line 91 of file kdganttconstraint.h.
References KDGantt::Constraint::hash().
Referenced by KDGantt::Constraint::hash(), and KDAB_SCOPED_UNITTEST_SIMPLE().