#include <Iguana/Studio/interface/IgQtSite.h>
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 |
Definition at line 19 of file IgQtSite.h.
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().
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 }