kdgantt2
#include <kdganttgraphicsitem.h>
Public Types | |
enum | { Type = UserType + 42 } |
Public Member Functions | |
GraphicsItem (QGraphicsItem *parent=0, GraphicsScene *scene=0) | |
GraphicsItem (const QModelIndex &idx, QGraphicsItem *parent=0, GraphicsScene *scene=0) | |
virtual | ~GraphicsItem () |
void | addEndConstraint (ConstraintGraphicsItem *) |
void | addStartConstraint (ConstraintGraphicsItem *) |
QRectF | boundingRect () const |
QList< ConstraintGraphicsItem * > | endConstraints () const |
virtual QString | ganttToolTip () const |
const QPersistentModelIndex & | index () const |
bool | isEditable () const |
bool | isUpdating () const |
QVariant | itemChange (GraphicsItemChange, const QVariant &value) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
QRectF | rect () const |
void | removeEndConstraint (ConstraintGraphicsItem *) |
void | removeStartConstraint (ConstraintGraphicsItem *) |
GraphicsScene * | scene () const |
void | setBoundingRect (const QRectF &r) |
void | setIndex (const QPersistentModelIndex &idx) |
void | setRect (const QRectF &r) |
QList< ConstraintGraphicsItem * > | startConstraints () const |
int | type () const |
void | updateItem (const Span &rowgeometry, const QPersistentModelIndex &idx) |
Protected Member Functions | |
void | focusInEvent (QFocusEvent *event) |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *) |
void | hoverMoveEvent (QGraphicsSceneHoverEvent *) |
void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *) |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *) |
void | mousePressEvent (QGraphicsSceneMouseEvent *) |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *) |
Detailed Description
Definition at line 42 of file kdganttgraphicsitem.h.
Member Enumeration Documentation
anonymous enum |
Enumerator | |
---|---|
Type |
Definition at line 44 of file kdganttgraphicsitem.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 70 of file kdganttgraphicsitem.cpp.
|
explicit |
Definition at line 76 of file kdganttgraphicsitem.cpp.
|
virtual |
Definition at line 83 of file kdganttgraphicsitem.cpp.
Member Function Documentation
void GraphicsItem::addEndConstraint | ( | ConstraintGraphicsItem * | item | ) |
Definition at line 240 of file kdganttgraphicsitem.cpp.
void GraphicsItem::addStartConstraint | ( | ConstraintGraphicsItem * | item | ) |
Definition at line 232 of file kdganttgraphicsitem.cpp.
QRectF GraphicsItem::boundingRect | ( | ) | const |
Definition at line 208 of file kdganttgraphicsitem.cpp.
|
inline |
Definition at line 77 of file kdganttgraphicsitem.h.
|
protected |
Definition at line 339 of file kdganttgraphicsitem.cpp.
|
virtual |
Definition at line 190 of file kdganttgraphicsitem.cpp.
|
protected |
Definition at line 409 of file kdganttgraphicsitem.cpp.
|
protected |
Definition at line 377 of file kdganttgraphicsitem.cpp.
|
inline |
Definition at line 66 of file kdganttgraphicsitem.h.
bool GraphicsItem::isEditable | ( | ) | const |
Definition at line 167 of file kdganttgraphicsitem.cpp.
|
inline |
Definition at line 70 of file kdganttgraphicsitem.h.
QVariant GraphicsItem::itemChange | ( | GraphicsItemChange | change, |
const QVariant & | value | ||
) |
Definition at line 313 of file kdganttgraphicsitem.cpp.
|
protected |
Definition at line 474 of file kdganttgraphicsitem.cpp.
|
protected |
Definition at line 515 of file kdganttgraphicsitem.cpp.
|
protected |
Definition at line 416 of file kdganttgraphicsitem.cpp.
|
protected |
Definition at line 434 of file kdganttgraphicsitem.cpp.
void GraphicsItem::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget = 0 |
||
) |
Definition at line 172 of file kdganttgraphicsitem.cpp.
|
inline |
Definition at line 60 of file kdganttgraphicsitem.h.
void GraphicsItem::removeEndConstraint | ( | ConstraintGraphicsItem * | item | ) |
Definition at line 255 of file kdganttgraphicsitem.cpp.
void GraphicsItem::removeStartConstraint | ( | ConstraintGraphicsItem * | item | ) |
Definition at line 248 of file kdganttgraphicsitem.cpp.
GraphicsScene * GraphicsItem::scene | ( | ) | const |
Definition at line 140 of file kdganttgraphicsitem.cpp.
void GraphicsItem::setBoundingRect | ( | const QRectF & | r | ) |
Definition at line 160 of file kdganttgraphicsitem.cpp.
void GraphicsItem::setIndex | ( | const QPersistentModelIndex & | idx | ) |
Definition at line 184 of file kdganttgraphicsitem.cpp.
void GraphicsItem::setRect | ( | const QRectF & | r | ) |
Definition at line 145 of file kdganttgraphicsitem.cpp.
|
inline |
Definition at line 76 of file kdganttgraphicsitem.h.
int GraphicsItem::type | ( | ) | const |
Definition at line 99 of file kdganttgraphicsitem.cpp.
void GraphicsItem::updateItem | ( | const Span & | rowgeometry, |
const QPersistentModelIndex & | idx | ||
) |
Definition at line 276 of file kdganttgraphicsitem.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.