![]() |
KD Chart API Documentation
3.1
|
Contains KDGantt macros. More...
#include <QDateTime>#include <QDebug>#include <QMetaType>#include <Qt>#include "kdchart_export.h"#include <QtAlgorithms>#include <algorithm>Go to the source code of this file.
Classes | |
| class | KDGantt::DateTimeSpan |
| class | KDGantt::Span |
| A class representing a start point and a length. More... | |
Namespaces | |
| KDGantt | |
Macros | |
| #define | KDAB_SET_OBJECT_NAME(x) __kdab__dereference_for_methodcall(x).setObjectName(QLatin1String(#x)) |
| #define | KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(X) |
| #define | KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET(X) |
| #define | KDGANTT_DECLARE_PRIVATE_BASE_VALUE(X) |
| #define | KDGANTT_DECLARE_PRIVATE_DERIVED(X) |
| #define | KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType) |
| #define | KDGANTT_DECLARE_PRIVATE_DERIVED_QWIDGET(X) KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT(X, QWidget *) |
| #define | KDGANTT_DECLARE_SWAP_BASE(X) |
| #define | KDGANTT_DECLARE_SWAP_DERIVED(X) |
| #define | KDGANTT_DECLARE_SWAP_SPECIALISATION(X) |
| #define | KDGANTT_DECLARE_SWAP_SPECIALISATION_DERIVED(X) KDGANTT_DECLARE_SWAP_SPECIALISATION(X) |
Enumerations | |
| enum | KDGantt::ItemDataRole { KDGantt::KDGanttRoleBase = Qt::UserRole + 1174 , KDGantt::StartTimeRole = KDGanttRoleBase + 1 , KDGantt::EndTimeRole = KDGanttRoleBase + 2 , KDGantt::TaskCompletionRole = KDGanttRoleBase + 3 , KDGantt::ItemTypeRole = KDGanttRoleBase + 4 , KDGantt::LegendRole = KDGanttRoleBase + 5 , KDGantt::TextPositionRole = KDGanttRoleBase + 6 } |
| The values of this enum are used for the special data roles for gantt items. More... | |
| enum | KDGantt::ItemType { KDGantt::TypeNone = 0 , KDGantt::TypeEvent = 1 , KDGantt::TypeTask = 2 , KDGantt::TypeSummary = 3 , KDGantt::TypeMulti = 4 , KDGantt::TypeUser = 1000 } |
| The values of this enum are used to represent the different types of gantt items that KDGantt understands. More... | |
Functions | |
| template<typename T > | |
| T & | __kdab__dereference_for_methodcall (T &o) |
| template<typename T > | |
| T & | __kdab__dereference_for_methodcall (T *o) |
| bool | KDGantt::operator!= (const DateTimeSpan &s1, const DateTimeSpan &s2) |
| bool | KDGantt::operator!= (const Span &s1, const Span &s2) |
| QDebug KDGANTT_EXPORT | operator<< (QDebug dbg, const KDGantt::DateTimeSpan &s) |
| QDebug KDGANTT_EXPORT | operator<< (QDebug dbg, const KDGantt::Span &s) |
| QDebug KDGANTT_EXPORT | operator<< (QDebug dbg, KDGantt::ItemDataRole r) |
| QDebug KDGANTT_EXPORT | operator<< (QDebug dbg, KDGantt::ItemType t) |
| bool | KDGantt::operator== (const DateTimeSpan &s1, const DateTimeSpan &s2) |
| bool | KDGantt::operator== (const Span &s1, const Span &s2) |
| Q_DECLARE_TYPEINFO (KDGantt::DateTimeSpan, Q_MOVABLE_TYPE) | |
| QT_BEGIN_NAMESPACE | Q_DECLARE_TYPEINFO (KDGantt::Span, Q_MOVABLE_TYPE) |
| #define KDAB_SET_OBJECT_NAME | ( | x | ) | __kdab__dereference_for_methodcall(x).setObjectName(QLatin1String(#x)) |
Definition at line 44 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC | ( | X | ) |
Definition at line 146 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET | ( | X | ) |
Definition at line 186 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_PRIVATE_BASE_VALUE | ( | X | ) |
Definition at line 102 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_PRIVATE_DERIVED | ( | X | ) |
Definition at line 61 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT | ( | X, | |
| ParentType | |||
| ) |
Definition at line 87 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_PRIVATE_DERIVED_QWIDGET | ( | X | ) | KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT(X, QWidget *) |
Definition at line 99 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_SWAP_BASE | ( | X | ) |
Definition at line 241 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_SWAP_DERIVED | ( | X | ) |
Definition at line 248 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_SWAP_SPECIALISATION | ( | X | ) |
Definition at line 212 of file kdganttglobal.h.
| #define KDGANTT_DECLARE_SWAP_SPECIALISATION_DERIVED | ( | X | ) | KDGANTT_DECLARE_SWAP_SPECIALISATION(X) |
Definition at line 238 of file kdganttglobal.h.
|
inline |
Definition at line 33 of file kdganttglobal.h.
|
inline |
Definition at line 39 of file kdganttglobal.h.
| QDebug KDGANTT_EXPORT operator<< | ( | QDebug | dbg, |
| const KDGantt::DateTimeSpan & | s | ||
| ) |
Definition at line 156 of file kdganttglobal.cpp.
References KDGantt::DateTimeSpan::end(), and KDGantt::DateTimeSpan::start().
| QDebug KDGANTT_EXPORT operator<< | ( | QDebug | dbg, |
| const KDGantt::Span & | s | ||
| ) |
Definition at line 151 of file kdganttglobal.cpp.
References KDGantt::Span::length(), and KDGantt::Span::start().
| QDebug KDGANTT_EXPORT operator<< | ( | QDebug | dbg, |
| KDGantt::ItemDataRole | r | ||
| ) |
Definition at line 100 of file kdganttglobal.cpp.
References KDGantt::EndTimeRole, KDGantt::ItemTypeRole, KDGantt::LegendRole, KDGantt::StartTimeRole, and KDGantt::TaskCompletionRole.
| QDebug KDGANTT_EXPORT operator<< | ( | QDebug | dbg, |
| KDGantt::ItemType | t | ||
| ) |
Definition at line 124 of file kdganttglobal.cpp.
References KDGantt::TypeEvent, KDGantt::TypeMulti, KDGantt::TypeNone, KDGantt::TypeSummary, KDGantt::TypeTask, and KDGantt::TypeUser.
| Q_DECLARE_TYPEINFO | ( | KDGantt::DateTimeSpan | , |
| Q_MOVABLE_TYPE | |||
| ) |
| QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO | ( | KDGantt::Span | , |
| Q_MOVABLE_TYPE | |||
| ) |