KD Chart 2
[rev.2.7]
|
#include "kdganttitemdelegate_p.h"
#include "kdganttglobal.h"
#include "kdganttstyleoptionganttitem.h"
#include "kdganttconstraint.h"
#include <QPainter>
#include <QPainterPath>
#include <QPen>
#include <QModelIndex>
#include <QAbstractItemModel>
#include <QApplication>
#include "moc_kdganttitemdelegate.cpp"
Go to the source code of this file.
Macros | |
#define | d d_func() |
#define | PRINT_INTERACTIONSTATE(x) case x: dbg << #x; break; |
Functions | |
QDebug | operator<< (QDebug dbg, KDGantt::ItemDelegate::InteractionState state) |
Variables | |
static const qreal | PW = 1.5 |
static const qreal | TURN = 10. |
#define d d_func() |
Definition at line 134 of file kdganttitemdelegate.cpp.
Referenced by KDGantt::ItemDelegate::defaultBrush(), KDGantt::ItemDelegate::defaultPen(), KDGantt::ItemDelegate::paintFinishFinishConstraint(), KDGantt::ItemDelegate::paintFinishStartConstraint(), KDGantt::ItemDelegate::paintStartFinishConstraint(), KDGantt::ItemDelegate::paintStartStartConstraint(), KDGantt::ItemDelegate::setDefaultBrush(), and KDGantt::ItemDelegate::setDefaultPen().
#define PRINT_INTERACTIONSTATE | ( | x | ) | case x: dbg << #x; break; |
Definition at line 37 of file kdganttitemdelegate.cpp.
Referenced by operator<<().
QDebug operator<< | ( | QDebug | dbg, |
KDGantt::ItemDelegate::InteractionState | state | ||
) |
Definition at line 41 of file kdganttitemdelegate.cpp.
References KDGantt::Constraint::data(), KDGantt::Constraint::InvalidConstraintPen, PRINT_INTERACTIONSTATE, KDGantt::ItemDelegate::State_ExtendLeft, KDGantt::ItemDelegate::State_ExtendRight, KDGantt::ItemDelegate::State_Move, KDGantt::ItemDelegate::State_None, KDGantt::TypeEvent, KDGantt::TypeSummary, KDGantt::TypeTask, and KDGantt::Constraint::ValidConstraintPen.
|
static |
Definition at line 394 of file kdganttitemdelegate.cpp.
Referenced by KDGantt::ItemDelegate::constraintBoundingRect().
|
static |
Definition at line 393 of file kdganttitemdelegate.cpp.
Referenced by KDGantt::ItemDelegate::finishFinishArrow(), KDGantt::ItemDelegate::finishFinishLine(), KDGantt::ItemDelegate::finishStartArrow(), KDGantt::ItemDelegate::finishStartLine(), KDGantt::ItemDelegate::startFinishArrow(), KDGantt::ItemDelegate::startFinishLine(), KDGantt::ItemDelegate::startStartArrow(), and KDGantt::ItemDelegate::startStartLine().