CMS 3D CMS Logo

IgMDIView Class Reference

#include <Iguana/Studio/interface/IgMDIView.h>

List of all members.

Public Member Functions

 IgMDIView (IgPage *page, const char *window=0)


Detailed Description

Definition at line 18 of file IgMDIView.h.


Constructor & Destructor Documentation

IgMDIView::IgMDIView ( IgPage page,
const char *  window = 0 
)

Definition at line 25 of file IgMDIView.cc.

References IgBrowser::browse(), IgBrowserDB::get(), DBSPlugin::get(), IgViewDB::get(), IgQtSiteStack::hostWithName(), IgPage::leftDockArea(), name, VarParsing::obj, pydbsAccessor::root, IgQtSite::selfFrom(), IgPage::stackArea(), and IgPage::state().

00026 {
00027     IgBrowser *twig = IgBrowserDB::get()->create ("Twig", page->state (),
00028                                 page->stackArea ()->hostWithName ("Main model"));
00029     IgBrowser *text = IgBrowserDB::get()->create ("Text", page->state (),
00030                                 new IgQDockWindowSite (page->state (),
00031                                                        page->leftDockArea ()));
00032     
00033     IgQtSite::selfFrom (page)->show ();
00034     
00035     QString name ("3D Window");
00036     if (window)
00037       name = window;
00038     IgBrowser *browser = dynamic_cast<IgBrowser*>(
00039                         IgViewDB::get()->create (name.latin1 (), page ));
00040     
00041     IgRepresentable *obj = IgDocumentData::get (page->state ())->root ();
00042     browser->browse (obj);
00043     twig->browse (obj);
00044     text->browse (obj);
00045 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:25:13 2009 for CMSSW by  doxygen 1.5.4