#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.
Defines | |
#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 133 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 PRINT_INTERACTIONSTATE, KDGantt::ItemDelegate::State_ExtendLeft, KDGantt::ItemDelegate::State_ExtendRight, KDGantt::ItemDelegate::State_Move, and KDGantt::ItemDelegate::State_None.
const qreal PW = 1.5 [static] |
Definition at line 393 of file kdganttitemdelegate.cpp.
Referenced by KDGantt::ItemDelegate::constraintBoundingRect().
const qreal TURN = 10. [static] |
Definition at line 392 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().