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

void ItemDocument::handleNewView ( View view  )  [protected, virtual, inherited]

You must call this function after creating a new view

Reimplemented from Document.

Definition at line 108 of file itemdocument.cpp.

References Document::handleNewView(), and ItemDocument::requestEvent().

Referenced by MechanicsDocument::createView(), ICNDocument::createView(), FlowCodeDocument::createView(), and CircuitDocument::createView().

{
      Document::handleNewView(view);
      requestEvent( ItemDocument::ItemDocumentEvent::ResizeCanvasToItems );
}


Generated by  Doxygen 1.6.0   Back to index