CMS 3D CMS Logo

IgQtSite Class Reference

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

Inheritance diagram for IgQtSite:

IgSite IgQDockAreaSite IgQDockWindowSite IgQMainWindowSite IgQSplitterSite IgQtSiteStack IgQWidgetSite IgQHSplitterSite IgQVSplitterSite IgQToolBoxSite IgQWidgetStackSite IgQWorkspaceSite IgPage

List of all members.

Static Public Member Functions

static void host (IgSite *site, QWidget *child)
static QWidget * hostFrom (IgSite *site)
static QWidget * selfFrom (IgSite *site)

Protected Member Functions

virtual void host (QWidget *child)=0
virtual QWidget * host (void)=0
virtual QWidget * self (void)=0


Detailed Description

Definition at line 19 of file IgQtSite.h.


Member Function Documentation

virtual void IgQtSite::host ( QWidget *  child  )  [protected, pure virtual]

Implemented in IgQDockAreaSite, IgQDockWindowSite, IgQMainWindowSite, IgQSplitterSite, IgQToolBoxSite, IgQWidgetSite, IgQWidgetStackSite, and IgQWorkspaceSite.

virtual QWidget* IgQtSite::host ( void   )  [protected, pure virtual]

Implemented in IgQDockAreaSite, IgQDockWindowSite, IgQMainWindowSite, IgQSplitterSite, IgQToolBoxSite, IgQWidgetSite, IgQWidgetStackSite, and IgQWorkspaceSite.

Referenced by IgQDockAreaSite::IgQDockAreaSite(), IgQDockWindowSite::IgQDockWindowSite(), IgQSplitterSite::IgQSplitterSite(), IgQToolBoxSite::IgQToolBoxSite(), IgQtTextBrowser::IgQtTextBrowser(), IgQtTreeBrowser::IgQtTreeBrowser(), IgQtTwigBrowser::IgQtTwigBrowser(), IgQWidgetSite::IgQWidgetSite(), IgQWidgetStackSite::IgQWidgetStackSite(), IgQWorkspaceSite::IgQWorkspaceSite(), and Ig3DBaseBrowser::initWidget().

void IgQtSite::host ( IgSite site,
QWidget *  child 
) [static]

Definition at line 39 of file IgQtSite.cc.

00040 {
00041     if (! site)
00042         return;
00043     else if (IgQtSite *qsite = dynamic_cast<IgQtSite *> (site))
00044         return qsite->host (child);
00045 
00046     throw new IgQtBadSiteError (site);
00047 }

QWidget * IgQtSite::hostFrom ( IgSite site  )  [static]

Definition at line 28 of file IgQtSite.cc.

Referenced by IgQWidgetStackSite::host(), IgQWidgetStackSite::IgQWidgetStackSite(), Ig3DBaseBrowser::initialise(), VisRootBrowser::initialise(), VisApplicationMain::setup(), and Ig3DBaseWindow::show().

00029 {
00030     if (! site)
00031         return 0;
00032     else if (IgQtSite *qsite = dynamic_cast<IgQtSite *> (site))
00033         return qsite->host ();
00034 
00035     throw new IgQtBadSiteError (site);
00036 }

virtual QWidget* IgQtSite::self ( void   )  [protected, pure virtual]

Implemented in IgQDockAreaSite, IgQDockWindowSite, IgQMainWindowSite, IgQSplitterSite, IgQToolBoxSite, IgQWidgetSite, IgQWidgetStackSite, and IgQWorkspaceSite.

QWidget * IgQtSite::selfFrom ( IgSite site  )  [static]

Definition at line 17 of file IgQtSite.cc.

Referenced by autoinit(), IgDocument::IgDocument(), IgMDIView::IgMDIView(), IgPage::IgPage(), Ig3DBaseBrowser::initialise(), VisApplicationMain::setup(), IgOIVExtension::setup(), IgStudioDriver::setupMainWindow(), and IgPage::showFullScreen().

00018 {
00019     if (! site)
00020         return 0;
00021     else if (IgQtSite *qsite = dynamic_cast<IgQtSite *> (site))
00022         return qsite->self ();
00023 
00024     throw new IgQtBadSiteError (site);
00025 }


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