src/libqtcad/QtCADQuad.cpp
QtCADView *
QtCADQuad::createView(int index)
{
    QtCADView *view = new QtCADView(this, graphicsType);
    bu_vls_sprintf(&view->view()->gv_name, "%s", VIEW_NAMES[index]);
    view->set_current(0);
    view->installEventFilter(this);

    view->view()->vset = &gedp->ged_views;
    view->view()->independent = 0;

    return view;
}
/**
 * @brief Creates a view for the viewport. Convenience method of common things that need to be done to the view.
 *
 * @param index of the view names to use from the constant list of names
 * @return QtCADView*
 */
@brief Creates a view for the viewport. Convenience method of common things that need to be done to the view.
@param index of the view names to use from the constant list of names
@return QtCADView
@brief Creates a view for the viewport . Convenience method of common things that need to be done to the view . @param index of the view names to use from the constant list of names @return QtCADView
QtCADView *
QtCADQuad::createView(int index)
{
    QtCADView *view = new QtCADView(this, graphicsType);
    bu_vls_sprintf(&view->view()->gv_name, "%s", VIEW_NAMES[index]);
    view->set_current(0);
    view->installEventFilter(this);
    view->view()->vset = &gedp->ged_views;
    view->view()->independent = 0;
    return view;
}
QtCADView * QtCADQuad :: createView ( int index ) { QtCADView * view = new QtCADView ( this , graphicsType ) ; bu_vls_sprintf ( & view -> view ( ) -> gv_name , " " , VIEW_NAMES [ index ] ) ; view -> set_current ( 0 ) ; view -> installEventFilter ( this ) ; view -> view ( ) -> vset = & gedp -> ged_views ; view -> view ( ) -> independent = 0 ; return view ; }
@brief Creates a view for the viewport.
@brief Creates a view for the viewport .