CMS 3D CMS Logo

IgQMainWindowSite Class Reference

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

Inheritance diagram for IgQMainWindowSite:

IgQtSite IgSite

List of all members.

Public Member Functions

 IgQMainWindowSite (IgState *state, IgSite *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

QMainWindow * m_window


Detailed Description

Definition at line 19 of file IgQMainWindowSite.h.


Constructor & Destructor Documentation

IgQMainWindowSite::IgQMainWindowSite ( IgState state,
IgSite parent 
)

Definition at line 16 of file IgQMainWindowSite.cc.

00017     : m_window (new QMainWindow (selfFrom (parent)))
00018 {}


Member Function Documentation

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

Definition at line 21 of file IgQMainWindowSite.cc.

00022 { return "QMainWindow"; }

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

Implements IgQtSite.

Definition at line 37 of file IgQMainWindowSite.cc.

References m_window.

00038 {
00039     return m_window->setCentralWidget (child);
00040 }

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

Implements IgQtSite.

Definition at line 31 of file IgQMainWindowSite.cc.

References m_window.

00032 {
00033     return m_window;
00034 }

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

Implements IgQtSite.

Definition at line 25 of file IgQMainWindowSite.cc.

References m_window.

00026 {
00027     return m_window;
00028 }


Member Data Documentation

QMainWindow* IgQMainWindowSite::m_window [private]

Definition at line 38 of file IgQMainWindowSite.h.

Referenced by host(), and self().


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