CMS 3D CMS Logo

IgQToolBoxSite Class Reference

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

Inheritance diagram for IgQToolBoxSite:

IgQtSiteStack IgQtSite IgSite

List of all members.

Public Member Functions

IgQtSitehostWithName (const std::string &name)
 IgQToolBoxSite (IgState *state, IgQtSite *parent)

Static Public Member Functions

static const char * catalogLabel (void)

Protected Member Functions

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

Private Attributes

std::string m_currentName
QToolBox * m_widget


Detailed Description

Definition at line 22 of file IgQToolBoxSite.h.


Constructor & Destructor Documentation

IgQToolBoxSite::IgQToolBoxSite ( IgState state,
IgQtSite parent 
)

Definition at line 16 of file IgQToolBoxSite.cc.

References IgQtSite::host(), and m_widget.

00017     : m_widget (new QToolBox (hostFrom (parent))),
00018       m_currentName ("")
00019 {    
00020     IgQtSite::host (parent, m_widget);
00021 }


Member Function Documentation

const char * IgQToolBoxSite::catalogLabel ( void   )  [static]

Definition at line 24 of file IgQToolBoxSite.cc.

00025 { 
00026     return "QToolBox"; 
00027 }

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

Implements IgQtSite.

Definition at line 42 of file IgQToolBoxSite.cc.

References m_currentName, and m_widget.

00043 {    
00044     m_widget->addItem (child, m_currentName);    
00045 }

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

Implements IgQtSite.

Definition at line 36 of file IgQToolBoxSite.cc.

References m_widget.

00037 {
00038     return m_widget;
00039 }

IgQtSite * IgQToolBoxSite::hostWithName ( const std::string &  name  ) 

Definition at line 48 of file IgQToolBoxSite.cc.

References m_currentName.

Referenced by VisApplicationMain::setup(), and IgNTupleAppMain::setup().

00049 {
00050     m_currentName = name;    
00051     return this;    
00052 }

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

Implements IgQtSite.

Definition at line 30 of file IgQToolBoxSite.cc.

References m_widget.

00031 {
00032     return m_widget;
00033 }


Member Data Documentation

std::string IgQToolBoxSite::m_currentName [private]

Reimplemented from IgQtSiteStack.

Definition at line 40 of file IgQToolBoxSite.h.

Referenced by host(), and hostWithName().

QToolBox* IgQToolBoxSite::m_widget [private]

Definition at line 39 of file IgQToolBoxSite.h.

Referenced by host(), IgQToolBoxSite(), and self().


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