CMS 3D CMS Logo

IgQMainWindowSite.cc

Go to the documentation of this file.
00001 //<<<<<< INCLUDES                                                       >>>>>>
00002 
00003 #include "Iguana/Studio/interface/IgQMainWindowSite.h"
00004 #include <qmainwindow.h>
00005 
00006 //<<<<<< PRIVATE DEFINES                                                >>>>>>
00007 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
00008 //<<<<<< PRIVATE TYPES                                                  >>>>>>
00009 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
00010 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
00011 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
00012 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
00013 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
00014 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
00015 
00016 IgQMainWindowSite::IgQMainWindowSite (IgState *, IgSite *parent)
00017     : m_window (new QMainWindow (selfFrom (parent)))
00018 {}
00019 
00020 const char *
00021 IgQMainWindowSite::catalogLabel (void)
00022 { return "QMainWindow"; }
00023 
00024 QWidget *
00025 IgQMainWindowSite::self (void)
00026 {
00027     return m_window;
00028 }
00029 
00030 QWidget *
00031 IgQMainWindowSite::host (void)
00032 {
00033     return m_window;
00034 }
00035 
00036 void
00037 IgQMainWindowSite::host (QWidget *child)
00038 {
00039     return m_window->setCentralWidget (child);
00040 }
00041 

Generated on Tue Jun 9 17:38:49 2009 for CMSSW by  doxygen 1.5.4