#include <Iguana/Studio/interface/IgQToolBoxSite.h>
Public Member Functions | |
IgQtSite * | hostWithName (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 |
Definition at line 22 of file IgQToolBoxSite.h.
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 }
const char * IgQToolBoxSite::catalogLabel | ( | void | ) | [static] |
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 }
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] |