#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 135 of file kdganttitemdelegate.cpp.
#define PRINT_INTERACTIONSTATE | ( | x | ) | case x: dbg << #x; break; |
QDebug operator<< | ( | QDebug | dbg, | |
KDGantt::ItemDelegate::InteractionState | state | |||
) |
Definition at line 43 of file kdganttitemdelegate.cpp.
References PRINT_INTERACTIONSTATE, KDGantt::ItemDelegate::State_ExtendLeft, KDGantt::ItemDelegate::State_ExtendRight, KDGantt::ItemDelegate::State_Move, and KDGantt::ItemDelegate::State_None.
00044 { 00045 switch( state ) { 00046 PRINT_INTERACTIONSTATE( KDGantt::ItemDelegate::State_None ); 00047 PRINT_INTERACTIONSTATE( KDGantt::ItemDelegate::State_Move ); 00048 PRINT_INTERACTIONSTATE( KDGantt::ItemDelegate::State_ExtendLeft ); 00049 PRINT_INTERACTIONSTATE( KDGantt::ItemDelegate::State_ExtendRight ); 00050 default: 00051 break; 00052 } 00053 return dbg; 00054 }
const qreal PW = 1.5 [static] |
Definition at line 383 of file kdganttitemdelegate.cpp.
const qreal TURN = 10. [static] |
Definition at line 382 of file kdganttitemdelegate.cpp.