CMS 3D CMS Logo

IgQtFocusManager.h

Go to the documentation of this file.
00001 #ifndef IGUANA_STUDIO_IG_QT_FOCUSMANAGER_H
00002 # define IGUANA_STUDIO_IG_QT_FOCUSMANAGER_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Studio/interface/config.h"
00007 # include <qobject.h>
00008 # include <map>
00009 
00010 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00011 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00012 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00013 
00014 class QWidget;
00015 class IgState;
00016 class IgView;
00017 
00018 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00019 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00020 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00021 
00022 // FIXME: maybe we should just have IgPage derive from QObject?
00023 
00024 class IGUANA_STUDIO_API IgQtFocusManager : public QObject
00025 {
00026     Q_OBJECT
00027 public:
00028     IgQtFocusManager (IgState *state, std::map<QWidget *, IgView *> *views);
00029 
00030 public slots:
00031 void windowActivated (QWidget *widget);
00032     
00033     // implicit copy constructor
00034     // implicit assignment operator
00035     // implicit destructor
00036 private:
00037     IgState                             *m_state;
00038     std::map<QWidget *, IgView *>       *m_views;    
00039     IgView                              *m_oldView;    
00040 };
00041 
00042 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00043 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00044 
00045 #endif // IGUANA_STUDIO_IG_QT_FOCUSMANAGER_H

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