Logo Search packages:      
Sourcecode: ktechlab version File versions

void FlowContainer::childAdded ( Item  )  [protected, virtual, inherited]

Reinherit this function if you want to do anything with children. Called after a child has been added.

Reimplemented from Item.

Definition at line 149 of file flowcontainer.cpp.

References Item::childAdded(), Item::level(), CNItem::moveBy(), Item::movedBy(), and FlowContainer::updateContainedVisibility().

      if (!child)
      connect( this, SIGNAL(movedBy(double, double )), child, SLOT(moveBy(double, double )) );
      child->setZ( ICNDocument::Z::Item + child->level() );

Generated by  Doxygen 1.6.0   Back to index