32 using namespace KDGantt;
37 #if QT_VERSION < 0x050000
41 setPos( QPointF( 0., 0. ) );
42 setAcceptsHoverEvents(
false );
43 setAcceptedMouseButtons( Qt::NoButton );
51 scene->addItem(
this );
52 setPos( QPointF( 0., 0. ) );
53 setAcceptHoverEvents(
false );
54 setAcceptedMouseButtons( Qt::NoButton );
70 return qobject_cast<
GraphicsScene*>( QGraphicsItem::scene() );
95 return m_constraint.
data( Qt::ToolTipRole ).toString();
100 prepareGeometryChange();
107 prepareGeometryChange();