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

View * CircuitDocument::createView ( ViewContainer viewContainer,
uint  viewAreaId,
const char *  name = 0l 
) [virtual]

Create a view that will display the document data. In all reimplemented functions, you must call handleNewView after creating the view, so that the appropriate slots, pointers, etc can all be initialised.

Reimplemented from ICNDocument.

Definition at line 158 of file circuitdocument.cpp.

References ItemDocument::handleNewView().

{
      View *view = new CircuitView( this, viewContainer, viewAreaId, name );
      handleNewView(view);
      return view;
}


Generated by  Doxygen 1.6.0   Back to index