Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

void CNItem::moveBy ( double  dx,
double  dy 
) [virtual, slot, inherited]

Moves item - use this instead of moveBy() so that associated Nodes also get moved

Reimplemented from Item.

Definition at line 336 of file cnitem.cpp.

References Item::moveBy(), CIWidgetMgr::setWidgetsPos(), and CNItem::updateConnectorPoints().

Referenced by FlowContainer::childAdded(), and FlowContainer::childRemoved().

{
      if ( dx == 0 && dy == 0 ) return;
      updateConnectorPoints(false);
      Item::moveBy( dx, dy );
      
      setWidgetsPos( QPoint( int(x()), int(y()) ) );
}


Generated by  Doxygen 1.6.0   Back to index